Sample Soap Request for Method: addDonor()

Request: Add a new DWL donor to the CTR registry with a consented 'KIDNEYS' organs.

<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:addDonor> <arg0> <localDonorId>bc-hsp123</localDonorId> <dateOfBirth>2000-01-19</dateOfBirth> <height>180</height> <weight>80</weight> <gender> <id>1</id> </gender> <bloodType> <id>3</id> <bizRef>O</bizRef> </bloodType> <donorType> <bizRef>DECEASED_DONOR</bizRef> </donorType> <donorDeathType> <id>1</id> </donorDeathType> <facilities> <id>17</id> </facilities> <facilities> <id>3</id> </facilities> <consentedOrgans> <consentedOrgan>KIDNEYS</consentedOrgan> <consentedState> <bizRef>CONSENTED</bizRef> </consentedState> <!--<stateChangeDate>?</stateChangeDate>--> </consentedOrgans> </arg0> </ctr:addDonor> </soapenv:Body> </soapenv:Envelope>

Response: the CTR DWL Donor record

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:addDonorResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <nationalDonorId>CTD000041</nationalDonorId> <localDonorId>bc-hsp123</localDonorId> <dateOfBirth>2000-01-19</dateOfBirth> <height>180.0</height> <weight>80.0</weight> <gender> <id>1</id> <bizRef>MALE</bizRef> </gender> <bloodType> <id>3</id> <bizRef>O</bizRef> </bloodType> <registryEnterDate>2020-11-03T15:12:35-05:00</registryEnterDate> <caseStatus> <id>1</id> <bizRef>OPEN</bizRef> </caseStatus> <caseChangeDate>2020-11-03T15:12:37.554-05:00</caseChangeDate> <donorType> <id>1</id> <bizRef>DECEASED</bizRef> </donorType> <breastFed> <id>2</id> <bizRef>NO</bizRef> </breastFed> <facilities> <id>17</id> <facilityName>British Columbia Transplant</facilityName> <facilityType> <id>3</id> <bizRef>OPO</bizRef> </facilityType> <facilityCode>BC-BCT</facilityCode> <corrCode>90000</corrCode> </facilities> <facilities> <id>3</id> <facilityName>Vancouver General Hospital - Immunology Lab</facilityName> <facilityType> <id>2</id> <bizRef>HLA_LAB</bizRef> </facilityType> <facilityCode>BC-VAN-HLA</facilityCode> <corrCode>90101</corrCode> </facilities> <consentedOrgans> <consentedOrganId>257</consentedOrganId> <nationalDonorId>CTD000041</nationalDonorId> <organ> <id>5</id> <bizRef>KIDNEY</bizRef> </organ> <organType> <id>14</id> <bizRef>DOUBLE_KIDNEY</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <consentedOrgans> <consentedOrganId>260</consentedOrganId> <nationalDonorId>CTD000041</nationalDonorId> <organ> <id>1</id> <bizRef>HEART</bizRef> </organ> <organType> <id>101</id> <bizRef>HEART</bizRef> </organType> <consentedState> <id>7</id> <bizRef>NOT_PARTICIPATING</bizRef> </consentedState> <recoveredState> <id>4</id> <bizRef>NOT_RECOVERED</bizRef> </recoveredState> <shippedState> <id>9</id> <bizRef>NOT_SHIPPED</bizRef> </shippedState> <notShippedStateReason> <id>2</id> <bizRef>NOT_PARTICIPATING_FOR_TRANSPLANT</bizRef> </notShippedStateReason> <notRecoveredStateReason> <id>4</id> <bizRef>NOT_PARTICIPATING_RECOVERY</bizRef> </notRecoveredStateReason> <transplantedState> <id>6</id> <bizRef>NOT_TRANSPLANTED</bizRef> </transplantedState> <notTransplantedStateReason> <id>3</id> <bizRef>NOT_PARTICIPATING_TRANSPLANT</bizRef> </notTransplantedStateReason> </consentedOrgans> <consentedOrgans> <consentedOrganId>261</consentedOrganId> <nationalDonorId>CTD000041</nationalDonorId> <organ> <id>2</id> <bizRef>LUNG</bizRef> </organ> <organType> <id>3</id> <bizRef>DOUBLE_LUNG</bizRef> </organType> <consentedState> <id>7</id> <bizRef>NOT_PARTICIPATING</bizRef> </consentedState> <recoveredState> <id>4</id> <bizRef>NOT_RECOVERED</bizRef> </recoveredState> <shippedState> <id>9</id> <bizRef>NOT_SHIPPED</bizRef> </shippedState> <notShippedStateReason> <id>2</id> <bizRef>NOT_PARTICIPATING_FOR_TRANSPLANT</bizRef> </notShippedStateReason> <notRecoveredStateReason> <id>4</id> <bizRef>NOT_PARTICIPATING_RECOVERY</bizRef> </notRecoveredStateReason> <transplantedState> <id>6</id> <bizRef>NOT_TRANSPLANTED</bizRef> </transplantedState> <notTransplantedStateReason> <id>3</id> <bizRef>NOT_PARTICIPATING_TRANSPLANT</bizRef> </notTransplantedStateReason> </consentedOrgans> <consentedOrgans> <consentedOrganId>264</consentedOrganId> <nationalDonorId>CTD000041</nationalDonorId> <organ> <id>3</id> <bizRef>LIVER</bizRef> </organ> <organType> <id>6</id> <bizRef>WHOLE_LIVER</bizRef> </organType> <consentedState> <id>7</id> <bizRef>NOT_PARTICIPATING</bizRef> </consentedState> <recoveredState> <id>4</id> <bizRef>NOT_RECOVERED</bizRef> </recoveredState> <shippedState> <id>9</id> <bizRef>NOT_SHIPPED</bizRef> </shippedState> <notShippedStateReason> <id>2</id> <bizRef>NOT_PARTICIPATING_FOR_TRANSPLANT</bizRef> </notShippedStateReason> <notRecoveredStateReason> <id>4</id> <bizRef>NOT_PARTICIPATING_RECOVERY</bizRef> </notRecoveredStateReason> <transplantedState> <id>6</id> <bizRef>NOT_TRANSPLANTED</bizRef> </transplantedState> <notTransplantedStateReason> <id>3</id> <bizRef>NOT_PARTICIPATING_TRANSPLANT</bizRef> </notTransplantedStateReason> </consentedOrgans> <consentedOrgans> <consentedOrganId>267</consentedOrganId> <nationalDonorId>CTD000041</nationalDonorId> <organ> <id>6</id> <bizRef>SMALL_BOWEL</bizRef> </organ> <organType> <id>106</id> <bizRef>SMALL_BOWEL</bizRef> </organType> <consentedState> <id>7</id> <bizRef>NOT_PARTICIPATING</bizRef> </consentedState> <recoveredState> <id>4</id> <bizRef>NOT_RECOVERED</bizRef> </recoveredState> <shippedState> <id>9</id> <bizRef>NOT_SHIPPED</bizRef> </shippedState> <notShippedStateReason> <id>2</id> <bizRef>NOT_PARTICIPATING_FOR_TRANSPLANT</bizRef> </notShippedStateReason> <notRecoveredStateReason> <id>4</id> <bizRef>NOT_PARTICIPATING_RECOVERY</bizRef> </notRecoveredStateReason> <transplantedState> <id>6</id> <bizRef>NOT_TRANSPLANTED</bizRef> </transplantedState> <notTransplantedStateReason> <id>3</id> <bizRef>NOT_PARTICIPATING_TRANSPLANT</bizRef> </notTransplantedStateReason> </consentedOrgans> <consentedOrgans> <consentedOrganId>268</consentedOrganId> <nationalDonorId>CTD000041</nationalDonorId> <organ> <id>7</id> <bizRef>STOMACH</bizRef> </organ> <organType> <id>107</id> <bizRef>STOMACH</bizRef> </organType> <consentedState> <id>7</id> <bizRef>NOT_PARTICIPATING</bizRef> </consentedState> <recoveredState> <id>4</id> <bizRef>NOT_RECOVERED</bizRef> </recoveredState> <shippedState> <id>9</id> <bizRef>NOT_SHIPPED</bizRef> </shippedState> <notShippedStateReason> <id>2</id> <bizRef>NOT_PARTICIPATING_FOR_TRANSPLANT</bizRef> </notShippedStateReason> <notRecoveredStateReason> <id>4</id> <bizRef>NOT_PARTICIPATING_RECOVERY</bizRef> </notRecoveredStateReason> <transplantedState> <id>6</id> <bizRef>NOT_TRANSPLANTED</bizRef> </transplantedState> <notTransplantedStateReason> <id>3</id> <bizRef>NOT_PARTICIPATING_TRANSPLANT</bizRef> </notTransplantedStateReason> </consentedOrgans> <consentedOrgans> <consentedOrganId>269</consentedOrganId> <nationalDonorId>CTD000041</nationalDonorId> <organ> <id>4</id> <bizRef>PANCREAS</bizRef> </organ> <organType> <id>9</id> <bizRef>WHOLE_PANCREAS</bizRef> </organType> <consentedState> <id>7</id> <bizRef>NOT_PARTICIPATING</bizRef> </consentedState> <recoveredState> <id>4</id> <bizRef>NOT_RECOVERED</bizRef> </recoveredState> <shippedState> <id>9</id> <bizRef>NOT_SHIPPED</bizRef> </shippedState> <notShippedStateReason> <id>2</id> <bizRef>NOT_PARTICIPATING_FOR_TRANSPLANT</bizRef> </notShippedStateReason> <notRecoveredStateReason> <id>4</id> <bizRef>NOT_PARTICIPATING_RECOVERY</bizRef> </notRecoveredStateReason> <transplantedState> <id>6</id> <bizRef>NOT_TRANSPLANTED</bizRef> </transplantedState> <notTransplantedStateReason> <id>3</id> <bizRef>NOT_PARTICIPATING_TRANSPLANT</bizRef> </notTransplantedStateReason> </consentedOrgans> <duplicate>false</duplicate> <donorDeath> <deathType> <id>1</id> <bizRef>NDD</bizRef> </deathType> <countryOfDeath> <id>1</id> <bizRef>CAN</bizRef> </countryOfDeath> <province_StateOfDeath> <id>2</id> <bizRef>BC</bizRef> </province_StateOfDeath> <id>11</id> </donorDeath> </return> </ns2:addDonorResponse> </soap:Body> </soap:Envelope>