Sample Soap Request for Method: updatePatientMedicalSocialHistory( String nationalId, WsMedSocialHistRisk wsInput )

Request: Update a donor's medical social risk, set ltMedSocialHistAtRisk = NO, description and duration are NULL.

note:A donor has only 1 medical social risk record.

Request: Updated a "WsMedicalHistory" record.

<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">Anypw123!</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ctr:updatePatientMedicalSocialHistory> <arg0>CTD001839</arg0> <arg1> <id>86</id> <patientId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <description></description> <duration></duration> <ltMedSocialHistAtRisk> <bizRef>NO</bizRef> </ltMedSocialHistAtRisk> <ltMedSocialHistRisk> <bizRef>CARDIO_RESPIRATORY_ARREST</bizRef> </ltMedSocialHistRisk> </arg1> </ctr:updatePatientMedicalSocialHistory> </soapenv:Body> </soapenv:Envelope>

Response: The updated "WsMedicalHistory" record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updatePatientMedicalSocialHistoryResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>86</id> <patientId>1839</patientId> <ltMedSocialHistAtRisk> <id>2</id> <bizRef>NO</bizRef> </ltMedSocialHistAtRisk> <ltMedSocialHistRisk> <id>4</id> <bizRef>CARDIO_RESPIRATORY_ARREST</bizRef> </ltMedSocialHistRisk> </return> </ns2:updatePatientMedicalSocialHistoryResponse> </soap:Body> </soap:Envelope>