Sample Soap Request for Method: addRecipientByNationalRecipientId()

Request: Add a new recipient to the CTR registry with 'OnDialysis = false' and 'Pre-Emptive = false'.

<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:addRecipientByNationalRecipientId> <arg0> <firstName>Fn-${#TestCase#recRndId}</firstName> <lastName>Ln-${#TestCase#recRndId}</lastName> <city>Montreal</city> <province> <id>11</id> <!--<bizRef>QC</bizRef>--> </province> <dateOfBirth>${#TestCase#dateOfBirth}</dateOfBirth> <gender> <id>${#TestCase#genderId}</id> </gender> <height>${#TestCase#height}</height> <weight>${#TestCase#weight}</weight> <localRecipientId>localId-${#TestCase#recRndId}</localRecipientId> <phin>QT-${#TestCase#recRndId}</phin> <transplantType> <id>1</id> </transplantType> <preEmptive>false</preEmptive> <onDialysis>false</onDialysis> <bloodGroup> <id>${#TestCase#bloodGroupId}</id> </bloodGroup> <rh> <id>${#TestCase#rhId}</id> </rh> <organRequests> <id>0</id> <organMedicalStatus> <id>27</id> </organMedicalStatus> <organRequired> <id>5</id> </organRequired> <listDateTime>${#TestCase#listDateTime}</listDateTime> <status> <id>2</id> </status> </organRequests> <opo> <!--<id>${#Project#recipientOdoId}</id>--> <id>23</id> <!--<facilityName>Transplant-Québec</facilityName>--> </opo> <!--Optional:--> <transplantCentre> <id>${#Project#recipientTxCenterId}</id> </transplantCentre> <!--<referralCentres>--> <!--<id>?</id>--> <!--</referralCentres>--> <hlaLab> <id>${#Project#recipientHlaLabId}</id> </hlaLab> <phinProvince> <!--<id>${#Project#phinProvince}</id>--> <id>11</id> </phinProvince> </arg0> </ctr:addRecipientByNationalRecipientId> </soapenv:Body> </soapenv:Envelope>

Response: the CTR recipient record

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns2:addRecipientByNationalRecipientIdResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>45013</id> <age> <days>5</days> <negative>false</negative> <weeks>3</weeks> <years>32</years> </age> <bloodGroup> <id>4</id> <bizRef>AB</bizRef> </bloodGroup> <bmi>27.8</bmi> <deathInHospital>false</deathInHospital> <suddenDeath>false</suddenDeath> <city>Montreal</city> <confirmBloodType>TRUE</confirmBloodType> <confirmRh>TRUE</confirmRh> <consentReceivedByCbs>false</consentReceivedByCbs> <dateOfBirth>1990-09-30T00:00:00-04:00</dateOfBirth> <firstName>Fn-16667963372</firstName> <gender> <id>3</id> <bizRef>OTHER</bizRef> </gender> <height>182</height> <hlaLab> <id>93</id> <facilityName>Transplant-Québec</facilityName> <facilityType> <id>2</id> <bizRef>HLA_LAB</bizRef> </facilityType> <facilityCode>QC-TQ-HLA</facilityCode> <corrCode>40000</corrCode> </hlaLab> <InUtero>false</InUtero> <isOffListDuplicate>false</isOffListDuplicate> <isOffListWithdrewConsent>false</isOffListWithdrewConsent> <KPDWithdrewConsent>false</KPDWithdrewConsent> <lastName>Ln-16667963372</lastName> <localRecipientId>localId-16667963372</localRecipientId> <localRecipientSource>ODO</localRecipientSource> <nationalRecipientId>CTR045013</nationalRecipientId> <preEmptive>false</preEmptive> <onDialysis>false</onDialysis> <opo> <id>23</id> <facilityName>Transplant-Québec</facilityName> <facilityType> <id>3</id> <bizRef>OPO</bizRef> </facilityType> <facilityCode>QC-TQ</facilityCode> <corrCode>40000</corrCode> </opo> <organRequests> <id>152168</id> <organRequired> <id>5</id> <bizRef>KIDNEY</bizRef> </organRequired> <organMedicalStatus> <id>27</id> <bizRef>KIDNEY_1</bizRef> </organMedicalStatus> <listDateTime>2022-09-23T00:00:00-04:00</listDateTime> <status> <id>2</id> <bizRef>ACTIVE</bizRef> </status> <program> <id>2</id> <bizRef>DECEASED_WAITLIST</bizRef> </program> <reason> <id>31</id> <bizRef>ACTIVE_RECIPIENT_ON_WAITLIST</bizRef> </reason> <medicalStatusChangeDate>2022-10-26T10:58:59-04:00</medicalStatusChangeDate> <organStatusChangeDate>2022-10-26T10:58:59-04:00</organStatusChangeDate> <dwlEligible>false</dwlEligible> </organRequests> <phin>QT-16667963372</phin> <phinProvince> <id>11</id> <bizRef>QC</bizRef> </phinProvince> <province> <id>11</id> <bizRef>QC</bizRef> </province> <registeredOnLDPE>false</registeredOnLDPE> <registryEnterDate>2022-10-26T10:58:59-04:00</registryEnterDate> <rh> <id>1</id> <bizRef>PLUS</bizRef> </rh> <timeOnDialysisInDays>0</timeOnDialysisInDays> <transplantCentre> <id>92</id> <facilityName>Transplant-Québec</facilityName> <facilityType> <id>1</id> <bizRef>TX_CENTRE</bizRef> </facilityType> <facilityCode>QC-TQ-TXC</facilityCode> <corrCode>40000</corrCode> </transplantCentre> <transplantType> <id>1</id> <bizRef>SINGLE</bizRef> </transplantType> <weight>92</weight> </return> </ns2:addRecipientByNationalRecipientIdResponse> </soapenv:Body> </soapenv:Envelope>