Sample Soap Request for Method: updateDonorUrinalysis( String nationalId, WsUrinalysis )

Request: add a "WsUrinalysis" 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:updateDonorUrinalysis> <arg0>CTD000002</arg0> <arg1> <id>0</id> <collectedOn>2020-01-01T00:00:00-05:00</collectedOn> <colour>color description: hjlasjhfrs</colour> <glucose>glucose description: s;djgkl;w;</glucose> <ketone>ketone description: kgm;lsakm</ketone> <leukocytes>description: asfhla</leukocytes> <ltUrinalysisType> <id>1</id> </ltUrinalysisType> <ph>1.2</ph> <protein>protein description: text</protein> <rbc>rbc description: text</rbc> <specificGravity>1.2</specificGravity> <turbidity>turbidity description: text</turbidity> <urineHgb>urine Hgbdescription: text</urineHgb> <urineNitrite>urine Nitrite description: text</urineNitrite> <!--<wbc>?</wbc>--> </arg1> </ctr:updateDonorUrinalysis> </soapenv:Body> </soapenv:Envelope>

Response: the new "WsUrinalysis" record.

21 2 2020-01-01T00:00:00-05:00 color description: hjlasjhfrs glucose description: s;djgkl;w; ketone description: kgm;lsakm description: asfhla 1 DIPSTICK 1.2 protein description: text rbc description: text 1.2 turbidity description: text urine Hgbdescription: text urine Nitrite description: text

Request: Updated a "WsUrinalysis" 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:updateDonorUrinalysis> <arg0>CTD000002</arg0> <arg1> <id>1</id> <!--<patientId>?</patientId>--> <collectedOn>2020-05-06T00:00:00-05:00</collectedOn> <colour>color description: text</colour> <glucose>glucose description: text</glucose> <ketone>ketone description: text</ketone> <leukocytes>description: text</leukocytes> <!--<ltUrinalysisType>--> <!--<id>1</id>--> <!--</ltUrinalysisType>--> <ph>1.1</ph> <protein>protein description: text</protein> <rbc>rbc description: text</rbc> <specificGravity>1.2</specificGravity> <turbidity>turbidity description: text</turbidity> <urineHgb>urine Hgbdescription: text</urineHgb> <urineNitrite>urine Nitrite description: text</urineNitrite> <wbc>?</wbc> </arg1> </ctr:updateDonorUrinalysis> </soapenv:Body> </soapenv:Envelope>

Response: The updated "WsUrinalysis" record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updateDonorUrinalysisResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>1</id> <patientId>2</patientId> <collectedOn>2020-05-06T01:00:00-04:00</collectedOn> <colour>color description: text</colour> <glucose>glucose description: text</glucose> <ketone>ketone description: text</ketone> <leukocytes>description: text</leukocytes> <ph>1.1</ph> <protein>protein description: text</protein> <rbc>rbc description: text</rbc> <specificGravity>1.2</specificGravity> <turbidity>turbidity description: text</turbidity> <urineHgb>urine Hgbdescription: text</urineHgb> <urineNitrite>urine Nitrite description: text</urineNitrite> <wbc>?</wbc> </return> </ns2:updateDonorUrinalysisResponse> </soap:Body> </soap:Envelope>