Sample Soap Request for Method: updatePatientHeartProfile( String nationalId, WsHeartProfile )

Request: add a "WsHeartProfile" 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:updatePatientHeartProfile> <arg0>CTD000002</arg0> <arg1> <id>0</id> <!--<patientId>?</patientId>--> <collectedOn>2020-05-05T00:10:00-04:00</collectedOn> <ai> <!--<id>1</id>--> <bizRef>TRIVIAL_TRACE</bizRef> </ai> <angiogram>angiogram results: text</angiogram> <ecg>ecg results: text</ecg> <echo>echo results: text</echo> <gradesOfMR> <!--<id>2</id>--> <bizRef>MILD</bizRef> </gradesOfMR> <lvEjectionFraction>72</lvEjectionFraction> <tr> <!--<id>3</id>--> <bizRef>MODERATE</bizRef> </tr> <transverseHeartDiameter>66.6</transverseHeartDiameter> <transverseIntChestDiameter>22.2</transverseIntChestDiameter> </arg1> </ctr:updatePatientHeartProfile> </soapenv:Body> </soapenv:Envelope>

Response: the new "WsHeartProfile" record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updatePatientHeartProfileResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>1</id> <patientId>2</patientId> <collectedOn>2020-05-05T00:10:00-04:00</collectedOn> <ai> <id>1</id> <bizRef>TRIVIAL_TRACE</bizRef> </ai> <angiogram>angiogram results: text</angiogram> <ecg>ecg results: text</ecg> <echo>echo results: text</echo> <gradesOfMR> <id>2</id> <bizRef>MILD</bizRef> </gradesOfMR> <lvEjectionFraction>72</lvEjectionFraction> <tr> <id>3</id> <bizRef>MODERATE</bizRef> </tr> <transverseHeartDiameter>66.6</transverseHeartDiameter> <transverseIntChestDiameter>22.2</transverseIntChestDiameter> </return> </ns2:updatePatientHeartProfileResponse> </soap:Body> </soap:Envelope>

Request: Updated a "WsHeartProfile" 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:updatePatientHeartProfile> <arg0>CTD000002</arg0> <arg1> <id>1</id> <!--<patientId>?</patientId>--> <collectedOn>2020-05-05T00:10:00-04:00</collectedOn> <ai> <id>2</id> </ai> <angiogram>angiogram results: updated text</angiogram> <ecg>ecg results: updated text</ecg> <echo>echo results: updated text</echo> <gradesOfMR> <id>3</id> </gradesOfMR> <lvEjectionFraction>51</lvEjectionFraction> <tr> <!--<id>3</id>--> <bizRef>MODERATE</bizRef> </tr> <transverseHeartDiameter>60.0</transverseHeartDiameter> <transverseIntChestDiameter>20.0</transverseIntChestDiameter> </arg1> </ctr:updatePatientHeartProfile> </soapenv:Body> </soapenv:Envelope>

Response: The updated "WsHeartProfile" record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updatePatientHeartProfileResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>1</id> <patientId>2</patientId> <collectedOn>2020-05-05T00:10:00-04:00</collectedOn> <ai> <id>2</id> <bizRef>MILD</bizRef> </ai> <angiogram>angiogram results: updated text</angiogram> <ecg>ecg results: updated text</ecg> <echo>echo results: updated text</echo> <gradesOfMR> <id>3</id> <bizRef>MODERATE</bizRef> </gradesOfMR> <lvEjectionFraction>51</lvEjectionFraction> <tr> <id>3</id> <bizRef>MODERATE</bizRef> </tr> <transverseHeartDiameter>60</transverseHeartDiameter> <transverseIntChestDiameter>20</transverseIntChestDiameter> </return> </ns2:updatePatientHeartProfileResponse> </soap:Body> </soap:Envelope>