Sample Soap Request for Method: updatePatientInfections( String nationalId, WsInfection )

Request: add a patient "WsInfection" 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">anypw</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ctr:updatePatientInfections> <arg0>CTR000001</arg0> <arg1> <id>0</id> <!--<patientId>1</patientId>--> <esbl>false</esbl> <infectionDate>2019-12-12T00:00:00-04:00</infectionDate> <infectionLocationDetail>location: details/</infectionLocationDetail> <infectionTreated>false</infectionTreated> <!--<infectionTreatment>treatement ???</infectionTreatment>--> <ltInfectionLocation> <id>1</id> <bizRef>OTHER-PLEASE_SPECIFY</bizRef> </ltInfectionLocation> <ltInfectionSource> <id>1</id> <bizRef>BLOOD</bizRef> </ltInfectionSource> <ltInfectionType> <id>1</id> <bizRef>BACTERIAL</bizRef> </ltInfectionType> <mdra>false</mdra> <pathogen>pathogen decription</pathogen> </arg1> </ctr:updatePatientInfections> </soapenv:Body> </soapenv:Envelope>

Response: the new "WsInfection" record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updatePatientInfectionsResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>6</id> <patientId>1</patientId> <esbl>false</esbl> <infectionDate>2019-12-11T23:00:00-05:00</infectionDate> <infectionLocationDetail>location: details/</infectionLocationDetail> <infectionTreated>false</infectionTreated> <ltInfectionLocation> <id>1</id> <bizRef>OTHER-PLEASE_SPECIFY</bizRef> </ltInfectionLocation> <ltInfectionSource> <id>1</id> <bizRef>BLOOD</bizRef> </ltInfectionSource> <ltInfectionType> <id>1</id> <bizRef>BACTERIAL</bizRef> </ltInfectionType> <mdra>false</mdra> <pathogen>pathogen decription</pathogen> </return> </ns2:updatePatientInfectionsResponse> </soap:Body> </soap:Envelope>

Request: Updated a "WsInfection" 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">anypw</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ctr:updatePatientInfections> <arg0>CTR000001</arg0> <arg1> <id>2</id> <!--<patientId>1</patientId>--> <esbl>true</esbl> <infectionDate>2020-06-01T00:00:00-04:00</infectionDate> <infectionLocationDetail>location details</infectionLocationDetail> <infectionTreated>true</infectionTreated> <infectionTreatment>treatment description</infectionTreatment> <ltInfectionLocation> <id>1</id> <bizRef>OTHER-PLEASE_SPECIFY</bizRef> </ltInfectionLocation> <ltInfectionSource> <id>2</id> <bizRef>URINE</bizRef> </ltInfectionSource> <ltInfectionType> <id>2</id> <bizRef>VIRAL</bizRef> </ltInfectionType> <mdra>false</mdra> <pathogen>pathogen description</pathogen> </arg1> </ctr:updatePatientInfections> </soapenv:Body> </soapenv:Envelope>

Response: The updated "WsInfection" record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updatePatientInfectionsResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>2</id> <patientId>1</patientId> <esbl>true</esbl> <infectionDate>2020-06-01T00:00:00-04:00</infectionDate> <infectionLocationDetail>location details</infectionLocationDetail> <infectionTreated>true</infectionTreated> <infectionTreatment>treatment description</infectionTreatment> <ltInfectionLocation> <id>1</id> <bizRef>OTHER-PLEASE_SPECIFY</bizRef> </ltInfectionLocation> <ltInfectionSource> <id>2</id> <bizRef>URINE</bizRef> </ltInfectionSource> <ltInfectionType> <id>2</id> <bizRef>VIRAL</bizRef> </ltInfectionType> <mdra>false</mdra> <pathogen>pathogen description</pathogen> </return> </ns2:updatePatientInfectionsResponse> </soap:Body> </soap:Envelope>