Sample Soap Request for Method: getPatientInfections( String nationalId )

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

Response: the patient's list of "WsInfection" records.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:getPatientInfectionsResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>5</id> <patientId>1</patientId> <esbl>false</esbl> <infectionDate>2020-06-02T00:00:00-04:00</infectionDate> <infectionTreated>false</infectionTreated> <infectionTreatment>not treated</infectionTreatment> <ltInfectionType> <id>4</id> <bizRef>UNKNOWN</bizRef> </ltInfectionType> <mdra>false</mdra> <pathogen>unknown</pathogen> </return> <return> <id>2</id> <patientId>1</patientId> <infectionDate>2020-06-01T00:00:00-04:00</infectionDate> <infectionLocationDetail>dfklmv;l,ws</infectionLocationDetail> <infectionTreated>false</infectionTreated> <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> <pathogen>pat en;l</pathogen> </return> <return> <id>4</id> <patientId>1</patientId> <esbl>false</esbl> <infectionDate>2019-11-01T00:00:00-04:00</infectionDate> <infectionLocationDetail>location: qwksdf;weklmr;/</infectionLocationDetail> <infectionTreated>false</infectionTreated> <infectionTreatment>treatement sdlmksl;gm,lwe';</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 wekmjfl;wae,s';.fwe</pathogen> </return> <return> <id>3</id> <patientId>1</patientId> <esbl>false</esbl> <infectionDate>2019-11-01T00:00:00-04:00</infectionDate> <infectionLocationDetail>location: qwksdf;weklmr;/</infectionLocationDetail> <infectionTreated>false</infectionTreated> <infectionTreatment>treatement sdlmksl;gm,lwe';</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 wekmjfl;wae,s';.fwe</pathogen> </return> <return> <id>1</id> <patientId>1</patientId> <esbl>true</esbl> <infectionDate>2019-11-01T00:00:00-04:00</infectionDate> <infectionLocationDetail>location: qwksdf;weklmr;/</infectionLocationDetail> <infectionTreated>true</infectionTreated> <infectionTreatment>treatement sdlmksl;gm,lwe';</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>true</mdra> <pathogen>pathogen wekmjfl;wae,s';.fwe</pathogen> </return> </ns2:getPatientInfectionsResponse> </soap:Body> </soap:Envelope>