Sample Soap Request for Method: updatePatientLungProfile( String nationalId, WsLungProfile )

Request: add a patient "WsLungProfile" 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:updatePatientLungProfile> <arg0>CTD000002</arg0> <arg1> <id>0</id> <!--<patientId>2</patientId>--> <collectedOn>2020-04-28T00:00:00-05:00</collectedOn> <!--<adultTotalLungCap>4.474</adultTotalLungCap>--> <bronchoscopy>Result bronchoscopy updated text</bronchoscopy> <chestXray>Result chestXray text</chestXray> <ctChest>Result ctChest text</ctChest> <horizontal>10.2</horizontal> <leftVertical>10.3</leftVertical> <lungBiopsy>Result lungBiopsy text</lungBiopsy> <rightVertical>10.4</rightVertical> </arg1> </ctr:updatePatientLungProfile> </soapenv:Body> </soapenv:Envelope>

Response: the new "WsLungProfile" record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updatePatientLungProfileResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>21</id> <patientId>2</patientId> <collectedOn>2020-04-28T01:00:00-04:00</collectedOn> <adultTotalLungCap>4.474</adultTotalLungCap> <bronchoscopy>Result bronchoscopy updated text</bronchoscopy> <chestXray>Result chestXray text</chestXray> <ctChest>Result ctChest text</ctChest> <horizontal>10.2</horizontal> <leftVertical>10.3</leftVertical> <lungBiopsy>Result lungBiopsy text</lungBiopsy> <rightVertical>10.4</rightVertical> </return> </ns2:updatePatientLungProfileResponse> </soap:Body> </soap:Envelope>

Request: Updated a "WsLungProfile" 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:updatePatientLungProfile> <arg0>CTD000002</arg0> <arg1> <id>1</id> <!--<patientId>2</patientId>--> <collectedOn>2020-03-29T00:00:00-05:00</collectedOn> <!--<adultTotalLungCap>4.474</adultTotalLungCap>--> <bronchoscopy>Result bronchoscopy updated text</bronchoscopy> <chestXray>Result chestXray updated text</chestXray> <ctChest>Result updated ctChest text</ctChest> <horizontal>40.2</horizontal> <leftVertical>40.3</leftVertical> <lungBiopsy>Result lungBiopsy updated text</lungBiopsy> <rightVertical>40.4</rightVertical> </arg1> </ctr:updatePatientLungProfile> </soapenv:Body> </soapenv:Envelope>

Response: The updated "WsLungProfile" record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updatePatientLungProfileResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>1</id> <patientId>2</patientId> <collectedOn>2020-03-29T01:00:00-04:00</collectedOn> <adultTotalLungCap>4.474</adultTotalLungCap> <bronchoscopy>Result bronchoscopy updated text</bronchoscopy> <chestXray>Result chestXray updated text</chestXray> <ctChest>Result updated ctChest text</ctChest> <horizontal>40.2</horizontal> <leftVertical>40.3</leftVertical> <lungBiopsy>Result lungBiopsy updated text</lungBiopsy> <rightVertical>40.4</rightVertical> </return> </ns2:updatePatientLungProfileResponse> </soap:Body> </soap:Envelope>