Version: 2.1.14296
Web Service
with methods to handle data about a patient.
The
ContactRatesWS Web Service contains this method:
The Web Service reference is: ContactRatesWS.asmx
For more
detailed information as the web service WSDL, SOAP request and response see:
https://linkws.service.tieto.com/PasLinkWS/ContactRatesWS/ContactRatesWS.asmx
Applicable
systems for method:
INFOMEDIX |
|
|
|
|
|
|
Method can
be used in the following versions of the Web Service:
INFOMEDIX
1.0 |
|
|
|
|
|
|
Description:
Gets rates for a
patient's contact.
Syntax:
ContactRates
= GetContactRates(PatientId, ContactId)
Parameter
in |
Type |
Length
byte |
Description
– Data format – Valid data |
PatientId |
Number |
4 |
Internal patient id |
ContactId |
Number |
4 |
Internal contact id |
Returned
parameter |
Type |
Length
Byte |
Description
– Comments |
ContactRates |
|
N/A Dynamic |
Contact rates class
according to XML schema ContactRates.xsd. |
Schema for ContactRates: ContactRates.xsd
Schema
documentation for ContactRates: ContactRates.html
Sample xml
file for ContactRates: ContactRates.xml
Web Service Response and Request:
HTTP SOAP
Request Envelope for GetContactRates
POST /PasLinkWS/ContactRatesWS/ContactRatesWS.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://healthXML.org/PasLink/GetContactRates"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<RequestHeader xmlns="http://healthXML.org/PasLink/">
<AuthenticationInfo>xml</AuthenticationInfo>
<UserName>string</UserName>
<SystemInfo>
<Version>string</Version>
<SysName>string</SysName>
</SystemInfo>
<ConfigSectionName>string</ConfigSectionName>
</RequestHeader>
</soap:Header>
<soap:Body>
<GetContactRates xmlns="http://healthXML.org/PasLink/">
<PatientId>int</PatientId>
<ContactId>int</ContactId>
</GetContactRates>
</soap:Body>
</soap:Envelope>
HTTP SOAP Response Envelope for GetContactDiagnosis
NOT
POSSIBLE TO DISPLAY CORRECT DUE TO TAGS/STRUCTURE ARE OPTIONAL/NULLABLE. SEE
ContactRates.xsd SCHEME FOR FULL DETAILS
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<ResponseHeader xmlns="http://healthXML.org/PasLink/">
<AuthenticationInfo>xml</AuthenticationInfo>
<ErrorInformation>
<FunctionName>string</FunctionName>
<Severity>None or Critical or Warning or Information</Severity>
<ErrorType>string</ErrorType>
<ModuleName>string</ModuleName>
<Description>string</Description>
<Code>long</Code>
</ErrorInformation>
<ProfileInfo>
<DeptCode>string</DeptCode>
<SectionCode>string</SectionCode>
<UnitCode>string</UnitCode>
<ProfileName>string</ProfileName>
</ProfileInfo>
<SystemInformation>
<Version>string</Version>
<SysName>string</SysName>
</SystemInformation>
</ResponseHeader>
</soap:Header>
<soap:Body>
<GetContactRatesResponse xmlns="http://healthXML.org/PasLink/">
<ContactRates>
<PatientId>int</PatientId>
<ContactId>int</ContactId>
<Rates>
<Rate>
<MedicalDepartment xsi:nil="true" />
<CareUnit xsi:nil="true" />
<PayerType>string</PayerType>
<FeeType>string</FeeType>
<ProductType xsi:nil="true" />
<Product xsi:nil="true" />
<RateDateTime>dateTime</RateDateTime>
<NumberOfRates>decimal</NumberOfRates>
<Price>decimal</Price>
<Status xsi:nil="true" />
<ChangedBy>string</ChangedBy>
<Changed>dateTime</Changed>
</Rate>
<Rate>
<MedicalDepartment xsi:nil="true" />
<CareUnit xsi:nil="true" />
<PayerType>string</PayerType>
<FeeType>string</FeeType>
<ProductType xsi:nil="true" />
<Product xsi:nil="true" />
<RateDateTime>dateTime</RateDateTime>
<NumberOfRates>decimal</NumberOfRates>
<Price>decimal</Price>
<Status xsi:nil="true" />
<ChangedBy>string</ChangedBy>
<Changed>dateTime</Changed>
</Rate>
</Rates>
</ContactRates>
</GetContactRatesResponse>
</soap:Body>
</soap:Envelope>
Related
methods or functions used:
GetUserLogin Used
to verify a user, and to get a valid authentication Block in return.
Other
references:
RequestHeader Information required calling a method, containing
authentication information.
ResponseHeader Information and messages returned from the method, e.g.
error codes/description,
system name or version.
Comments:
To use this
method the RequestHeader must contain
a valid Authentication Block and the system name is required. An error will be
raised if one of these is missing.
Valid
Authentication Block for RequestHeader
the can be retrieved by using the method GetUserLogin
in Authentication-Web Service.
In return
from the method there will always be a ResponseHeader,
which contains Error Information and System Information. Error Information
block must always be checked to determine if any error has occurred while
processing the methods.