DecisionWS
Click here for a complete list of operations.
SavePatientDecision
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/DecisionWS/DecisionWS.asmx HTTP/1.1 Host: linkws.service.tieto.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://healthXML.org/PasLink/SavePatientDecision" <?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> <SavePatientDecision xmlns="http://healthXML.org/PasLink"> <SavePatientDecisionRequest> <Decision> <PatientId>string</PatientId> <ContactId>string</ContactId> <DecisionId>string</DecisionId> <DecisionIdParent>string</DecisionIdParent> <Group> <Id>string</Id> <Description>string</Description> </Group> <Type> <Id>string</Id> <Description>string</Description> </Type> <Category> <Id>string</Id> <Description>string</Description> </Category> <Code>string</Code> <OID>string</OID> <Description>string</Description> <Date>dateTime</Date> <ValidToDate>dateTime</ValidToDate> <ClosedDate>dateTime</ClosedDate> <RenewalDate>dateTime</RenewalDate> <EvaluationDate>dateTime</EvaluationDate> <CompulsoryCare>boolean</CompulsoryCare> <ComplaintRegistered>NotSet or NO or YES</ComplaintRegistered> <CriteriaRegistered>NotSet or NO or YES</CriteriaRegistered> <ExecutionsRegistered>NotSet or NO or YES</ExecutionsRegistered> <Responsible> <Resource xsi:nil="true" /> <Organization xsi:nil="true" /> </Responsible> <ResponsibleFollowUp> <Organization xsi:nil="true" /> </ResponsibleFollowUp> <ClosingResource> <ResourceId>string</ResourceId> <TypeOfId>string</TypeOfId> <Code>string</Code> <Name>string</Name> <Property>string</Property> </ClosingResource> <Tutor> <HaveTutor>boolean</HaveTutor> <TutorName>string</TutorName> </Tutor> <Status>ALL or ACTIVE or DELETED or OUTOFDATE</Status> <Criteria> <PatientId>string</PatientId> <ContactId>string</ContactId> <DecisionId>string</DecisionId> <CriteriaId>string</CriteriaId> <Type xsi:nil="true" /> <OID>string</OID> <DateTime>dateTime</DateTime> <Status>ALL or ACTIVE or DELETED or OUTOFDATE</Status> <Registration xsi:nil="true" /> <Update xsi:nil="true" /> </Criteria> <Criteria> <PatientId>string</PatientId> <ContactId>string</ContactId> <DecisionId>string</DecisionId> <CriteriaId>string</CriteriaId> <Type xsi:nil="true" /> <OID>string</OID> <DateTime>dateTime</DateTime> <Status>ALL or ACTIVE or DELETED or OUTOFDATE</Status> <Registration xsi:nil="true" /> <Update xsi:nil="true" /> </Criteria> <Registration> <Date>dateTime</Date> <Name>string</Name> <Organization xsi:nil="true" /> <SignedBy>string</SignedBy> </Registration> <Update> <UpdateCount>int</UpdateCount> </Update> </Decision> </SavePatientDecisionRequest> </SavePatientDecision> </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> <SavePatientDecisionResponse xmlns="http://healthXML.org/PasLink"> <SavePatientDecisionResponse> <Decision> <PatientId>string</PatientId> <ContactId>string</ContactId> <DecisionId>string</DecisionId> <DecisionIdParent>string</DecisionIdParent> <Group> <Id>string</Id> <Description>string</Description> </Group> <Type> <Id>string</Id> <Description>string</Description> </Type> <Category> <Id>string</Id> <Description>string</Description> </Category> <Code>string</Code> <OID>string</OID> <Description>string</Description> <Date>dateTime</Date> <ValidToDate>dateTime</ValidToDate> <ClosedDate>dateTime</ClosedDate> <RenewalDate>dateTime</RenewalDate> <EvaluationDate>dateTime</EvaluationDate> <CompulsoryCare>boolean</CompulsoryCare> <ComplaintRegistered>NotSet or NO or YES</ComplaintRegistered> <CriteriaRegistered>NotSet or NO or YES</CriteriaRegistered> <ExecutionsRegistered>NotSet or NO or YES</ExecutionsRegistered> <Responsible> <Resource xsi:nil="true" /> <Organization xsi:nil="true" /> </Responsible> <ResponsibleFollowUp> <Organization xsi:nil="true" /> </ResponsibleFollowUp> <ClosingResource> <ResourceId>string</ResourceId> <TypeOfId>string</TypeOfId> <Code>string</Code> <Name>string</Name> <Property>string</Property> </ClosingResource> <Tutor> <HaveTutor>boolean</HaveTutor> <TutorName>string</TutorName> </Tutor> <Status>ALL or ACTIVE or DELETED or OUTOFDATE</Status> <Criteria> <PatientId>string</PatientId> <ContactId>string</ContactId> <DecisionId>string</DecisionId> <CriteriaId>string</CriteriaId> <Type xsi:nil="true" /> <OID>string</OID> <DateTime>dateTime</DateTime> <Status>ALL or ACTIVE or DELETED or OUTOFDATE</Status> <Registration xsi:nil="true" /> <Update xsi:nil="true" /> </Criteria> <Criteria> <PatientId>string</PatientId> <ContactId>string</ContactId> <DecisionId>string</DecisionId> <CriteriaId>string</CriteriaId> <Type xsi:nil="true" /> <OID>string</OID> <DateTime>dateTime</DateTime> <Status>ALL or ACTIVE or DELETED or OUTOFDATE</Status> <Registration xsi:nil="true" /> <Update xsi:nil="true" /> </Criteria> <Registration> <Date>dateTime</Date> <Name>string</Name> <Organization xsi:nil="true" /> <SignedBy>string</SignedBy> </Registration> <Update> <UpdateCount>int</UpdateCount> </Update> </Decision> </SavePatientDecisionResponse> </SavePatientDecisionResponse> </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/DecisionWS/DecisionWS.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> <SavePatientDecision xmlns="http://healthXML.org/PasLink"> <SavePatientDecisionRequest> <Decision> <PatientId>string</PatientId> <ContactId>string</ContactId> <DecisionId>string</DecisionId> <DecisionIdParent>string</DecisionIdParent> <Group> <Id>string</Id> <Description>string</Description> </Group> <Type> <Id>string</Id> <Description>string</Description> </Type> <Category> <Id>string</Id> <Description>string</Description> </Category> <Code>string</Code> <OID>string</OID> <Description>string</Description> <Date>dateTime</Date> <ValidToDate>dateTime</ValidToDate> <ClosedDate>dateTime</ClosedDate> <RenewalDate>dateTime</RenewalDate> <EvaluationDate>dateTime</EvaluationDate> <CompulsoryCare>boolean</CompulsoryCare> <ComplaintRegistered>NotSet or NO or YES</ComplaintRegistered> <CriteriaRegistered>NotSet or NO or YES</CriteriaRegistered> <ExecutionsRegistered>NotSet or NO or YES</ExecutionsRegistered> <Responsible> <Resource xsi:nil="true" /> <Organization xsi:nil="true" /> </Responsible> <ResponsibleFollowUp> <Organization xsi:nil="true" /> </ResponsibleFollowUp> <ClosingResource> <ResourceId>string</ResourceId> <TypeOfId>string</TypeOfId> <Code>string</Code> <Name>string</Name> <Property>string</Property> </ClosingResource> <Tutor> <HaveTutor>boolean</HaveTutor> <TutorName>string</TutorName> </Tutor> <Status>ALL or ACTIVE or DELETED or OUTOFDATE</Status> <Criteria> <PatientId>string</PatientId> <ContactId>string</ContactId> <DecisionId>string</DecisionId> <CriteriaId>string</CriteriaId> <Type xsi:nil="true" /> <OID>string</OID> <DateTime>dateTime</DateTime> <Status>ALL or ACTIVE or DELETED or OUTOFDATE</Status> <Registration xsi:nil="true" /> <Update xsi:nil="true" /> </Criteria> <Criteria> <PatientId>string</PatientId> <ContactId>string</ContactId> <DecisionId>string</DecisionId> <CriteriaId>string</CriteriaId> <Type xsi:nil="true" /> <OID>string</OID> <DateTime>dateTime</DateTime> <Status>ALL or ACTIVE or DELETED or OUTOFDATE</Status> <Registration xsi:nil="true" /> <Update xsi:nil="true" /> </Criteria> <Registration> <Date>dateTime</Date> <Name>string</Name> <Organization xsi:nil="true" /> <SignedBy>string</SignedBy> </Registration> <Update> <UpdateCount>int</UpdateCount> </Update> </Decision> </SavePatientDecisionRequest> </SavePatientDecision> </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> <SavePatientDecisionResponse xmlns="http://healthXML.org/PasLink"> <SavePatientDecisionResponse> <Decision> <PatientId>string</PatientId> <ContactId>string</ContactId> <DecisionId>string</DecisionId> <DecisionIdParent>string</DecisionIdParent> <Group> <Id>string</Id> <Description>string</Description> </Group> <Type> <Id>string</Id> <Description>string</Description> </Type> <Category> <Id>string</Id> <Description>string</Description> </Category> <Code>string</Code> <OID>string</OID> <Description>string</Description> <Date>dateTime</Date> <ValidToDate>dateTime</ValidToDate> <ClosedDate>dateTime</ClosedDate> <RenewalDate>dateTime</RenewalDate> <EvaluationDate>dateTime</EvaluationDate> <CompulsoryCare>boolean</CompulsoryCare> <ComplaintRegistered>NotSet or NO or YES</ComplaintRegistered> <CriteriaRegistered>NotSet or NO or YES</CriteriaRegistered> <ExecutionsRegistered>NotSet or NO or YES</ExecutionsRegistered> <Responsible> <Resource xsi:nil="true" /> <Organization xsi:nil="true" /> </Responsible> <ResponsibleFollowUp> <Organization xsi:nil="true" /> </ResponsibleFollowUp> <ClosingResource> <ResourceId>string</ResourceId> <TypeOfId>string</TypeOfId> <Code>string</Code> <Name>string</Name> <Property>string</Property> </ClosingResource> <Tutor> <HaveTutor>boolean</HaveTutor> <TutorName>string</TutorName> </Tutor> <Status>ALL or ACTIVE or DELETED or OUTOFDATE</Status> <Criteria> <PatientId>string</PatientId> <ContactId>string</ContactId> <DecisionId>string</DecisionId> <CriteriaId>string</CriteriaId> <Type xsi:nil="true" /> <OID>string</OID> <DateTime>dateTime</DateTime> <Status>ALL or ACTIVE or DELETED or OUTOFDATE</Status> <Registration xsi:nil="true" /> <Update xsi:nil="true" /> </Criteria> <Criteria> <PatientId>string</PatientId> <ContactId>string</ContactId> <DecisionId>string</DecisionId> <CriteriaId>string</CriteriaId> <Type xsi:nil="true" /> <OID>string</OID> <DateTime>dateTime</DateTime> <Status>ALL or ACTIVE or DELETED or OUTOFDATE</Status> <Registration xsi:nil="true" /> <Update xsi:nil="true" /> </Criteria> <Registration> <Date>dateTime</Date> <Name>string</Name> <Organization xsi:nil="true" /> <SignedBy>string</SignedBy> </Registration> <Update> <UpdateCount>int</UpdateCount> </Update> </Decision> </SavePatientDecisionResponse> </SavePatientDecisionResponse> </soap12:Body> </soap12:Envelope>