ExternalOrganizationWS
Click here for a complete list of operations.
ListExternalOrganizations
Lists external organizations. External organizations are located outside the hospital. Ex: Hospitals, Care centres, Doctors
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /PasLinkWS/ExternalOrganizationWS/ExternalOrganizationWS.asmx HTTP/1.1
Host: linkws.service.tieto.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://healthXML.org/PasLink/ListExternalOrganizations"
<?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>
<NextKey>string</NextKey>
</RequestHeader>
</soap:Header>
<soap:Body>
<ListExternalOrganizations xmlns="http://healthXML.org/PasLink">
<InstitutionOrPerson>string</InstitutionOrPerson>
<Type>string</Type>
<InternalType>string</InternalType>
<ExternalName>string</ExternalName>
<ValidDate>dateTime</ValidDate>
<OnlyAllowanceUnits>boolean</OnlyAllowanceUnits>
<County>short</County>
<AllowanceValidDate>dateTime</AllowanceValidDate>
<PostCode>string</PostCode>
<Address>string</Address>
<OfficialId>string</OfficialId>
<MunicipalCode>string</MunicipalCode>
</ListExternalOrganizations>
</soap:Body>
</soap:Envelope>
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>
<SubCode>long</SubCode>
<RecoverableError>boolean</RecoverableError>
<SubModuleName>string</SubModuleName>
</ErrorInformation>
<ProfileInfo>
<DeptCode>string</DeptCode>
<SectionCode>string</SectionCode>
<UnitCode>string</UnitCode>
<ProfileName>string</ProfileName>
</ProfileInfo>
<SystemInformation>
<DatabaseInformation>string</DatabaseInformation>
<DatabaseServer>string</DatabaseServer>
<DatabaseName>string</DatabaseName>
</SystemInformation>
<NextKey>string</NextKey>
</ResponseHeader>
</soap:Header>
<soap:Body>
<ListExternalOrganizationsResponse xmlns="http://healthXML.org/PasLink">
<ListExternalOrganizationsResult>
<ExternalOrganizationSimple>
<InstitutionOrPerson>string</InstitutionOrPerson>
<Id>int</Id>
<Code>string</Code>
<Name>string</Name>
<Type>string</Type>
<InternalType>string</InternalType>
<Addresses>
<Address1>string</Address1>
<Address2>string</Address2>
<PostalAddress xsi:nil="true" />
<PhoneNumber>string</PhoneNumber>
<FaxNumber>string</FaxNumber>
<EMailAddress>string</EMailAddress>
</Addresses>
<AllowanceValidPeriod>
<ValidFrom>date</ValidFrom>
<ValidTo>date</ValidTo>
</AllowanceValidPeriod>
<OfficialId>string</OfficialId>
<Municipality>
<Code>string</Code>
<Name>string</Name>
</Municipality>
<RESHId>string</RESHId>
<HERId>string</HERId>
</ExternalOrganizationSimple>
<ExternalOrganizationSimple>
<InstitutionOrPerson>string</InstitutionOrPerson>
<Id>int</Id>
<Code>string</Code>
<Name>string</Name>
<Type>string</Type>
<InternalType>string</InternalType>
<Addresses>
<Address1>string</Address1>
<Address2>string</Address2>
<PostalAddress xsi:nil="true" />
<PhoneNumber>string</PhoneNumber>
<FaxNumber>string</FaxNumber>
<EMailAddress>string</EMailAddress>
</Addresses>
<AllowanceValidPeriod>
<ValidFrom>date</ValidFrom>
<ValidTo>date</ValidTo>
</AllowanceValidPeriod>
<OfficialId>string</OfficialId>
<Municipality>
<Code>string</Code>
<Name>string</Name>
</Municipality>
<RESHId>string</RESHId>
<HERId>string</HERId>
</ExternalOrganizationSimple>
</ListExternalOrganizationsResult>
</ListExternalOrganizationsResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /PasLinkWS/ExternalOrganizationWS/ExternalOrganizationWS.asmx HTTP/1.1
Host: linkws.service.tieto.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<RequestHeader xmlns="http://healthXML.org/PasLink">
<AuthenticationInfo>xml</AuthenticationInfo>
<UserName>string</UserName>
<SystemInfo>
<Version>string</Version>
<SysName>string</SysName>
</SystemInfo>
<ConfigSectionName>string</ConfigSectionName>
<NextKey>string</NextKey>
</RequestHeader>
</soap12:Header>
<soap12:Body>
<ListExternalOrganizations xmlns="http://healthXML.org/PasLink">
<InstitutionOrPerson>string</InstitutionOrPerson>
<Type>string</Type>
<InternalType>string</InternalType>
<ExternalName>string</ExternalName>
<ValidDate>dateTime</ValidDate>
<OnlyAllowanceUnits>boolean</OnlyAllowanceUnits>
<County>short</County>
<AllowanceValidDate>dateTime</AllowanceValidDate>
<PostCode>string</PostCode>
<Address>string</Address>
<OfficialId>string</OfficialId>
<MunicipalCode>string</MunicipalCode>
</ListExternalOrganizations>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12: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>
<SubCode>long</SubCode>
<RecoverableError>boolean</RecoverableError>
<SubModuleName>string</SubModuleName>
</ErrorInformation>
<ProfileInfo>
<DeptCode>string</DeptCode>
<SectionCode>string</SectionCode>
<UnitCode>string</UnitCode>
<ProfileName>string</ProfileName>
</ProfileInfo>
<SystemInformation>
<DatabaseInformation>string</DatabaseInformation>
<DatabaseServer>string</DatabaseServer>
<DatabaseName>string</DatabaseName>
</SystemInformation>
<NextKey>string</NextKey>
</ResponseHeader>
</soap12:Header>
<soap12:Body>
<ListExternalOrganizationsResponse xmlns="http://healthXML.org/PasLink">
<ListExternalOrganizationsResult>
<ExternalOrganizationSimple>
<InstitutionOrPerson>string</InstitutionOrPerson>
<Id>int</Id>
<Code>string</Code>
<Name>string</Name>
<Type>string</Type>
<InternalType>string</InternalType>
<Addresses>
<Address1>string</Address1>
<Address2>string</Address2>
<PostalAddress xsi:nil="true" />
<PhoneNumber>string</PhoneNumber>
<FaxNumber>string</FaxNumber>
<EMailAddress>string</EMailAddress>
</Addresses>
<AllowanceValidPeriod>
<ValidFrom>date</ValidFrom>
<ValidTo>date</ValidTo>
</AllowanceValidPeriod>
<OfficialId>string</OfficialId>
<Municipality>
<Code>string</Code>
<Name>string</Name>
</Municipality>
<RESHId>string</RESHId>
<HERId>string</HERId>
</ExternalOrganizationSimple>
<ExternalOrganizationSimple>
<InstitutionOrPerson>string</InstitutionOrPerson>
<Id>int</Id>
<Code>string</Code>
<Name>string</Name>
<Type>string</Type>
<InternalType>string</InternalType>
<Addresses>
<Address1>string</Address1>
<Address2>string</Address2>
<PostalAddress xsi:nil="true" />
<PhoneNumber>string</PhoneNumber>
<FaxNumber>string</FaxNumber>
<EMailAddress>string</EMailAddress>
</Addresses>
<AllowanceValidPeriod>
<ValidFrom>date</ValidFrom>
<ValidTo>date</ValidTo>
</AllowanceValidPeriod>
<OfficialId>string</OfficialId>
<Municipality>
<Code>string</Code>
<Name>string</Name>
</Municipality>
<RESHId>string</RESHId>
<HERId>string</HERId>
</ExternalOrganizationSimple>
</ListExternalOrganizationsResult>
</ListExternalOrganizationsResponse>
</soap12:Body>
</soap12:Envelope>