Sample Soap Request for Method: updateDonorMedications( String nationalId, WsDonorMedications )

Request: add a "WsDonorMedications" 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:updateDonorMedications> <arg0>CTD000002</arg0> <arg1> <id>0</id> <initialDosage>1.4</initialDosage> <initialInfusedOn>2020-05-21T03:33:00-04:00</initialInfusedOn> <ltMedicationDecDonor> <id>12</id> </ltMedicationDecDonor> <ltMedicationUnit> <id>18</id> <bizRef>MICROGRAM_PER_KILO</bizRef> </ltMedicationUnit> </arg1> </ctr:updateDonorMedications> </soapenv:Body> </soapenv:Envelope>

Response: the new "WsDonorMedications" record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updateDonorMedicationsResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>43</id> <patientId>2</patientId> <initialDosage>1.4</initialDosage> <initialInfusedOn>2020-05-21T03:33:00-04:00</initialInfusedOn> <ltMedicationDecDonor> <id>12</id> <bizRef>VASOPRESSIN_PITRESSIN</bizRef> </ltMedicationDecDonor> <ltMedicationUnit> <id>18</id> <bizRef>MICROGRAM_PER_KILO</bizRef> </ltMedicationUnit> </return> </ns2:updateDonorMedicationsResponse> </soap:Body> </soap:Envelope>

Request: Updated a "WsDonorMedications" 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:updateDonorMedications> <arg0>CTD000002</arg0> <arg1> <id>43</id> <!--<patientId>2</patientId>--> <initialDosage>1.5</initialDosage> <initialInfusedOn>2020-04-21T03:33:00-04:00</initialInfusedOn> <ltMedicationDecDonor> <id>12</id> </ltMedicationDecDonor> <ltMedicationUnit> <id>17</id> </ltMedicationUnit> </arg1> </ctr:updateDonorMedications> </soapenv:Body> </soapenv:Envelope>

Response: The updated "WsDonorMedications" record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updateDonorMedicationsResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>43</id> <patientId>2</patientId> <initialDosage>1.5</initialDosage> <initialInfusedOn>2020-04-21T03:33:00-04:00</initialInfusedOn> <ltMedicationDecDonor> <id>12</id> <bizRef>VASOPRESSIN_PITRESSIN</bizRef> </ltMedicationDecDonor> <ltMedicationUnit> <id>17</id> <bizRef>MILLIGRAM_PER_KILO</bizRef> </ltMedicationUnit> </return> </ns2:updateDonorMedicationsResponse> </soap:Body> </soap:Envelope>