Sample Soap Request for Method: getPatientMedicalSocialHistory( String nationalId )

Request: get a patient's list of "WsMedSocialHistRisk" 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:getPatientMedicalSocialHistory> <arg0>CTD000002</arg0> </ctr:getPatientMedicalSocialHistory> </soapenv:Body> </soapenv:Envelope>

Response: the patient's list of "WsMedSocialHistRisk" records

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:getPatientMedicalSocialHistoryResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>17</id> <patientId>2</patientId> <description>drugs used : ???</description> <duration>999</duration> <ltMedSocialHistAtRisk> <id>3</id> <bizRef>UNKNOWN</bizRef> </ltMedSocialHistAtRisk> <ltMedSocialHistRisk> <id>5</id> <bizRef>DIABETES</bizRef> </ltMedSocialHistRisk> </return> <return> <id>1</id> <patientId>2</patientId> <description>drugs update 3: ssfksjakl;jsdfiawe;kfakjsef</description> <ltMedSocialHistAtRisk> <id>1</id> <bizRef>YES</bizRef> </ltMedSocialHistAtRisk> <ltMedSocialHistRisk> <id>6</id> <bizRef>DRUG_USE</bizRef> </ltMedSocialHistRisk> </return> <return> <id>2</id> <patientId>2</patientId> <description>smoking asjkdklg;wer;</description> <ltMedSocialHistAtRisk> <id>1</id> <bizRef>YES</bizRef> </ltMedSocialHistAtRisk> <ltMedSocialHistRisk> <id>15</id> <bizRef>SMOKING</bizRef> </ltMedSocialHistRisk> </return> </ns2:getPatientMedicalSocialHistoryResponse> </soap:Body> </soap:Envelope>