Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/live-spine-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export class LiveSpineClient implements SpineClient {
"nhsd-request-id": inboundHeaders["nhsd-request-id"],
"x-request-id": inboundHeaders["x-request-id"],
"x-correlation-id": inboundHeaders["x-correlation-id"],
"SOAPAction": "urn:nhs:names:services:mmquery/PRESCRIPTIONSEARCH_SM01"
"SOAPAction": "urn:nhs:names:services:mmquery/PrescriptionSearchSyncAsync_1_0"
}

const partials: PrescriptionSearchPartials = {
Expand Down
8 changes: 4 additions & 4 deletions src/resources/prescription_search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default `<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:hl7="urn:hl7-org:v3">
<SOAP-ENV:Header>
<wsa:MessageID>uuid:{{messageGUID}}</wsa:MessageID>
<wsa:Action>urn:nhs:names:services:mmquery/PRESCRIPTIONSEARCH_SM01</wsa:Action>
<wsa:Action>urn:nhs:names:services:mmquery/PrescriptionSearchSyncAsync_1_0</wsa:Action>
<wsa:To>https://pds-sync.national.ncrs.nhs.uk/syncservice-pds/pds</wsa:To>
<wsa:From>
<wsa:Address/>
Expand All @@ -23,11 +23,11 @@ export default `<?xml version="1.0" encoding="utf-8"?>
</wsa:ReplyTo>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<PRESCRIPTIONSEARCH_SM01 xmlns="urn:hl7-org:v3">
<PrescriptionSearchSyncAsync_1_0 xmlns="urn:hl7-org:v3">
<id root="{{messageGUID}}"/>
<creationTime value="{{creationTime}}"/>
<versionCode code="V3NPfIT4.2.00"/>
<interactionId root="2.16.840.1.113883.2.1.3.2.4.12" extension="PRESCRIPTIONSEARCH_SM01"/>
<interactionId root="2.16.840.1.113883.2.1.3.2.4.12" extension="PrescriptionSearchSyncAsync_1_0"/>
<processingCode code="P"/>
<processingModeCode code="T"/>
<acceptAckCode code="NE"/>
Expand Down Expand Up @@ -109,6 +109,6 @@ export default `<?xml version="1.0" encoding="utf-8"?>
{{/mySiteOrganisation}}
</query>
</ControlActEvent>
</PRESCRIPTIONSEARCH_SM01>
</PrescriptionSearchSyncAsync_1_0>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>`
8 changes: 4 additions & 4 deletions src/resources/prescription_search_sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export default `<SOAP:Envelope xmlns:crs="http://national.carerecords.nhs.uk/schema/crs/" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns="urn:hl7-org:v3" xmlns:hl7="urn:hl7-org:v3">
<SOAP:Header>
<wsa:MessageID>uuid:1234567890123456</wsa:MessageID>
<wsa:Action>urn:nhs:names:services:mmquery/PRESCRIPTIONSEARCHRESPONSE_SM01</wsa:Action>
<wsa:Action>urn:nhs:names:services:mmquery/PrescriptionSearchSyncAsync_1_0</wsa:Action>
<wsa:To/>
<wsa:From>
<wsa:Address>https://mmquery.national.ncrs.nhs.uk/syncservice</wsa:Address>
Expand All @@ -21,11 +21,11 @@ export default `<SOAP:Envelope xmlns:crs="http://national.carerecords.nhs.uk/sch
</SOAP:Header>
<SOAP:Body>
<prescriptionSearchResponse>
<PRESCRIPTIONSEARCHRESPONSE_SM01>
<PrescriptionSearchSyncAsync_1_0>
<id root="1234567890123456"/>
<creationTime value="20130614090835"/>
<versionCode code="V3NPfIT3.0"/>
<interactionId root="2.16.840.1.113883.2.1.3.2.4.12" extension="PRESCRIPTIONSEARCHRESPONSE_SM01"/>
<interactionId root="2.16.840.1.113883.2.1.3.2.4.12" extension="PrescriptionSearchSyncAsync_1_0"/>
<processingCode code="P"/>
<processingModeCode code="T"/>
<acceptAckCode code="NE"/>
Expand Down Expand Up @@ -127,7 +127,7 @@ export default `<SOAP:Envelope xmlns:crs="http://national.carerecords.nhs.uk/sch
<queryResponseCode code="OK"/>
</queryAck>
</ControlActEvent>
</PRESCRIPTIONSEARCHRESPONSE_SM01>
</PrescriptionSearchSyncAsync_1_0>
</prescriptionSearchResponse>
</SOAP:Body>
</SOAP:Envelope>`