Sample Soap Request for Method: getRecipientMedications( String nationalId)

Request: input INVALID - patientID is not for recipient patient type.

<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>CTD000001</arg0> </ctr:getRecipientMedications> </soapenv:Body> </soapenv:Envelope>

Response: the recipient's health records -> Error.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>Method: getRecipientMedications; SoapLogID: 9868; Patient with ID [CTD000001] is not a [Recipient]. ErrorID: patient.error.patientType; Msg: Patient with ID [CTD000001] is not a [Recipient]. ; MsgHtml: Patient with ID [CTD000001] is not a [Recipient]. ;</faultstring> </soap:Fault> </soap:Body> </soap:Envelope>