Sample Soap Request for Method: getRecipientMedications( String nationalId)

Request: get a recipient's medications records.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ctr="http://ctr3ws.cbs.com/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="0" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken wsu:Id="UsernameToken-3" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:Username>someCTRuser</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">anypw</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ctr:getRecipientMedications> <arg0>CTR000002</arg0> </ctr:getRecipientMedications> </soapenv:Body> </soapenv:Envelope>

Response: the recipient's medications records.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:getRecipientMedicationsResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>1</id> <patientId>2</patientId> <infusedOn>2020-07-20T01:00:00-04:00</infusedOn> <ltMedicationRecipient> <id>2</id> <bizRef>ANTIARRHYTHMICS</bizRef> </ltMedicationRecipient> </return> <return> <id>2</id> <patientId>2</patientId> <infusedOn>2020-07-13T02:00:00-04:00</infusedOn> <ltMedicationRecipient> <id>2</id> <bizRef>ANTIARRHYTHMICS</bizRef> </ltMedicationRecipient> </return> <return> <id>3</id> <patientId>2</patientId> <infusedOn>2020-07-05T06:00:00-04:00</infusedOn> <ltMedicationRecipient> <id>5</id> <bizRef>BETA_BLOCKERS</bizRef> </ltMedicationRecipient> </return> <return> <id>5</id> <patientId>2</patientId> <infusedOn>2020-05-18T19:00:00-04:00</infusedOn> <ltMedicationRecipient> <id>18</id> <bizRef>VASOCONSTRICTOR_SUPPORT</bizRef> </ltMedicationRecipient> </return> <return> <id>6</id> <patientId>2</patientId> <infusedOn>2020-05-16T19:00:00-04:00</infusedOn> <ltMedicationRecipient> <id>18</id> <bizRef>VASOCONSTRICTOR_SUPPORT</bizRef> </ltMedicationRecipient> </return> <return> <id>4</id> <patientId>2</patientId> <infusedOn>2020-05-10T10:00:00-04:00</infusedOn> <ltMedicationRecipient> <id>10</id> <bizRef>INOTROPIC_SUPPORT</bizRef> </ltMedicationRecipient> </return> </ns2:getRecipientMedicationsResponse> </soap:Body> </soap:Envelope>