Sample Soap Request for Method: addRecipientByNationalRecipientId()

Request: Invalid - OnDialysis = true , mostRecentDialysisStartDate = null and Pre-Emptive = null -> Error: The recipient field 'ON Dialysis' is set while the field 'MostRecentDialysisStartDate' is NULL.

<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-16638761688</firstName> <lastName>Ln-16638761688</lastName> <city>Montreal</city> <province> <id>11</id> <!--<bizRef>QC</bizRef>--> </province> <dateOfBirth>1974-09-22</dateOfBirth> <gender> <id>2</id> </gender> <height>200</height> <weight>63</weight> <localRecipientId>localId-16638761688</localRecipientId> <phin>QT-16638761688</phin> <transplantType> <id>1</id> </transplantType> <onDialysis>true</onDialysis> <mostRecentDialysisStartDate/> <bloodGroup> <id>4</id> </bloodGroup> <rh> <id>1</id> </rh> <organRequests> <id>0</id> <organMedicalStatus> <id>27</id> </organMedicalStatus> <organRequired> <id>5</id> </organRequired> <listDateTime>2021-06-02</listDateTime> <status> <id>2</id> </status> </organRequests> <opo> <!--<id>23</id>--> <id>23</id> <!--<facilityName>Transplant-Québec</facilityName>--> </opo> <transplantCentre> <id>92</id> </transplantCentre> <hlaLab> <id>93</id> </hlaLab> <phinProvince> <id>11</id> </phinProvince> </arg0> </ctr:addRecipientByNationalRecipientId> <ctr:updateRecipientByNationalRecipientId/> </soapenv:Body> </soapenv:Envelope>

Response: the CTR recipient record

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>Method: addRecipientByNationalRecipientId; SoapLogID: 1348398; Data element [MostRecentDialysisDate] error [The recipient field 'ON Dialysis' is set while the field 'MostRecentDialysisStartDate' is NULL.] ErrorID: data.error.StringFormat; Msg: Data element [MostRecentDialysisDate] error [The recipient field 'ON Dialysis' is set while the field 'MostRecentDialysisStartDate' is NULL.] ; MsgHtml: Data element [MostRecentDialysisDate] error [The recipient field 'ON Dialysis' is set while the field 'MostRecentDialysisStartDate' is NULL.] ; </faultstring> </soap:Fault> </soap:Body> </soap:Envelope>