Tjänstekontrakt exempel
Publik Information
Informationen på denna sida är publik.
Notera att samtliga exempel är genererade från "SoapUI" vilket innebär att namespace, envelope och body kan se annorlunda ut än vad man är van vid.
GetCardForPerson
Anrop
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:riv:itintegration:registry:1" xmlns:urn1="urn:com:logica:se:healthcare:efrikort:querying:GetCardForPersonResponder:1">
<soapenv:Header>
<urn:LogicalAddress>?</urn:LogicalAddress>
</soapenv:Header>
<soapenv:Body>
<urn1:GetCardForPersonRequest>
<urn1:CarePrincipalId>SE222-SLL</urn1:CarePrincipalId>
<urn1:PersonId>191212121212</urn1:PersonId>
<urn1:CardTypeId>CARE_VISIT</urn1:CardTypeId>
<!--You may enter ANY elements at this point-->
</urn1:GetCardForPersonRequest>
</soapenv:Body>
</soapenv:Envelope>
Svar
Notera att CardSystemId är ett <UUID>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns4:GetCardForPersonResponse xmlns:ns2="urn:com:logica:se:healthcare:efrikort:riv:1" xmlns:ns3="urn:com:logica:se:healthcare:efrikort:1" xmlns:ns4="urn:com:logica:se:healthcare:efrikort:querying:GetCardForPersonResponder:1" xmlns:ns5="urn:riv:itintegration:registry:1">
<ns4:GetCardForPersonResultType>
<ns2:Result>
<ns2:ResultCode>OK</ns2:ResultCode>
</ns2:Result>
<ns2:Card>
<ns3:CardSystemId>2a5a217e-19e8-4781-8efc-1739f018acbb</ns3:CardSystemId>
<ns3:CardType>
<ns3:Id>CARE_VISIT</ns3:Id>
<ns3:Name>Öppen sjukvård</ns3:Name>
</ns3:CardType>
<ns3:Persons>
<ns3:Id>191212121212</ns3:Id>
</ns3:Persons>
<ns3:StartDate>2017-12-06+01:00</ns3:StartDate>
<ns3:CurrentAmount>600.0</ns3:CurrentAmount>
<ns3:AmountToLimit>500.0</ns3:AmountToLimit>
<ns3:CardId>123456789</ns3:CardId>
<ns3:Status>BELOW_LIMIT</ns3:Status>
</ns2:Card>
</ns4:GetCardForPersonResultType>
</ns4:GetCardForPersonResponse>
</S:Body>
</S:Envelope>
GetExtendedCardsForPerson
Anrop
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:riv:itintegration:registry:1" xmlns:urn1="urn:riv:cgi:healthcare:efrikort:GetExtendedCardsForPersonResponder:3">
<soapenv:Header>
<urn:LogicalAddress>?</urn:LogicalAddress>
</soapenv:Header>
<soapenv:Body>
<urn1:GetExtendedCardsForPerson>
<urn1:carePrincipalId>SE222-SLL</urn1:carePrincipalId>
<urn1:personId>191212121212</urn1:personId>
<urn1:cardTypeId>CARE_VISIT</urn1:cardTypeId>
<!--You may enter ANY elements at this point-->
</urn1:GetExtendedCardsForPerson>
</soapenv:Body>
</soapenv:Envelope>
Svar
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:GetExtendedCardsForPersonResponse xmlns:ns2="urn:riv:cgi:healthcare:efrikort:GetExtendedCardsForPersonResponder:3" xmlns:ns3="urn:riv:cgi:healthcare:efrikort:3" xmlns:ns4="urn:riv:itintegration:registry:1">
<ns2:getExtendedCardsResultType>
<ns3:result>
<ns3:resultCode>OK</ns3:resultCode>
</ns3:result>
<ns3:extendedCard>
<ns3:card>
<ns3:cardSystemId>dea2931f-3bd3-4404-8c04-2a7e55d15a77</ns3:cardSystemId>
<ns3:cardType>
<ns3:id>CARE_VISIT</ns3:id>
<ns3:name>Öppen sjukvård</ns3:name>
</ns3:cardType>
<ns3:persons>
<ns3:id>191212121212</ns3:id>
<ns3:readConsent>false</ns3:readConsent>
</ns3:persons>
<ns3:startDate>2016-01-25+01:00</ns3:startDate>
<ns3:preliminaryCardDate>2016-01-25+01:00</ns3:preliminaryCardDate>
<ns3:finalCardDate>2018-02-01+01:00</ns3:finalCardDate>
<ns3:endDate>2017-01-24+01:00</ns3:endDate>
<ns3:currentAmount>1100.0</ns3:currentAmount>
<ns3:amountToLimit>0.0</ns3:amountToLimit>
<ns3:cardId>123456789</ns3:cardId>
<ns3:carePrincipal>
<ns3:id>SE222-SLL</ns3:id>
<ns3:name>Stockholms läns landsting</ns3:name>
</ns3:carePrincipal>
<ns3:status>EXPIRED</ns3:status>
<ns3:cardReason>VALID_CARD</ns3:cardReason>
</ns3:card>
<ns3:transactions>
<ns3:transactionId>151c10e7-06d2-416a-9cad-0afc8aeb330f</ns3:transactionId>
<ns3:personId>191212121212</ns3:personId>
<ns3:amount>150.0</ns3:amount>
<ns3:transactionDate>2016-02-19+01:00</ns3:transactionDate>
<ns3:registrationDateTime>2018-02-01T08:54:05.000+01:00</ns3:registrationDateTime>
<ns3:carePrincipal>
<ns3:id>SE222-SLL</ns3:id>
<ns3:name>Stockholms läns landsting</ns3:name>
</ns3:carePrincipal>
<ns3:careProvider>SE111-JLL</ns3:careProvider>
<ns3:careUnit>Admin</ns3:careUnit>
<ns3:status>ACTIVE</ns3:status>
</ns3:transactions>
<ns3:transactions>
<ns3:transactionId>49296c3c-d87b-4d33-a6f0-b7692d96b3ed</ns3:transactionId>
<ns3:personId>191212121212</ns3:personId>
<ns3:amount>950.0</ns3:amount>
<ns3:transactionDate>2016-02-27+01:00</ns3:transactionDate>
<ns3:registrationDateTime>2018-02-01T08:56:06.000+01:00</ns3:registrationDateTime>
<ns3:carePrincipal>
<ns3:id>SE222-SLL</ns3:id>
<ns3:name>Stockholms läns landsting</ns3:name>
</ns3:carePrincipal>
<ns3:careProvider>SE111-JLL</ns3:careProvider>
<ns3:careUnit>Admin</ns3:careUnit>
<ns3:status>ACTIVE</ns3:status>
</ns3:transactions>
</ns3:extendedCard>
<ns3:extendedCard>
<ns3:card>
<ns3:cardSystemId>2a5a217e-19e8-4781-8efc-1739f018acbb</ns3:cardSystemId>
<ns3:cardType>
<ns3:id>CARE_VISIT</ns3:id>
<ns3:name>Öppen sjukvård</ns3:name>
</ns3:cardType>
<ns3:persons>
<ns3:id>191212121212</ns3:id>
<ns3:readConsent>false</ns3:readConsent>
</ns3:persons>
<ns3:startDate>2017-12-06+01:00</ns3:startDate>
<ns3:currentAmount>600.0</ns3:currentAmount>
<ns3:amountToLimit>500.0</ns3:amountToLimit>
<ns3:cardId>int0000012</ns3:cardId>
<ns3:carePrincipal/>
<ns3:status>BELOW_LIMIT</ns3:status>
</ns3:card>
<ns3:transactions>
<ns3:transactionId>5ee05d97-8102-4d4d-b549-6021ed8da9b6</ns3:transactionId>
<ns3:personId>191212121212</ns3:personId>
<ns3:amount>350.0</ns3:amount>
<ns3:transactionDate>2018-02-01+01:00</ns3:transactionDate>
<ns3:registrationDateTime>2018-02-01T08:56:32.000+01:00</ns3:registrationDateTime>
<ns3:carePrincipal>
<ns3:id>SE222-SLL</ns3:id>
<ns3:name>Stockholms läns landsting</ns3:name>
</ns3:carePrincipal>
<ns3:careProvider>SE111-JLL</ns3:careProvider>
<ns3:careUnit>Admin</ns3:careUnit>
<ns3:status>ACTIVE</ns3:status>
</ns3:transactions>
<ns3:transactions>
<ns3:transactionId>6ca7148e-2cbf-4625-84c4-a7aaafebc61e</ns3:transactionId>
<ns3:personId>191212121212</ns3:personId>
<ns3:amount>250.0</ns3:amount>
<ns3:transactionDate>2017-12-06+01:00</ns3:transactionDate>
<ns3:registrationDateTime>2018-02-01T08:56:19.000+01:00</ns3:registrationDateTime>
<ns3:carePrincipal>
<ns3:id>SE222-SLL</ns3:id>
<ns3:name>Stockholms läns landsting</ns3:name>
</ns3:carePrincipal>
<ns3:careProvider>SE111-JLL</ns3:careProvider>
<ns3:careUnit>Admin</ns3:careUnit>
<ns3:status>ACTIVE</ns3:status>
</ns3:transactions>
</ns3:extendedCard>
</ns2:getExtendedCardsResultType>
</ns2:GetExtendedCardsForPersonResponse>
</S:Body>
</S:Envelope>
RegisterTransaction
Anrop
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:riv:itintegration:registry:1" xmlns:urn1="urn:riv:cgi:healthcare:efrikort:RegisterTransactionResponder:3" xmlns:urn2="urn:riv:cgi:healthcare:efrikort:3">
<soapenv:Header>
<urn:LogicalAddress>?</urn:LogicalAddress>
</soapenv:Header>
<soapenv:Body>
<urn1:RegisterTransaction>
<urn1:carePrincipalId>SE222-SLL</urn1:carePrincipalId>
<urn1:careProvider>TestCareProvider</urn1:careProvider>
<!--Optional:-->
<urn1:careUnit>TestUnit1</urn1:careUnit>
<urn1:cardTypeId>CARE_VISIT</urn1:cardTypeId>
<urn1:personId>191212121212</urn1:personId>
<!--Optional:-->
<urn1:transactionDate>2018-02-01</urn1:transactionDate>
<urn1:amount>150</urn1:amount>
<urn1:actor>
<urn2:employeeId>SE123-CGITESTER</urn2:employeeId>
<urn2:careProviderId>SE123-ABCD</urn2:careProviderId>
<!--Optional:-->
<urn2:careUnitId>SE123-WXYZ</urn2:careUnitId>
<!--You may enter ANY elements at this point-->
</urn1:actor>
<!--You may enter ANY elements at this point-->
</urn1:RegisterTransaction>
</soapenv:Body>
</soapenv:Envelope>
Svar
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:RegisterTransactionResponse xmlns:ns2="urn:riv:cgi:healthcare:efrikort:RegisterTransactionResponder:3" xmlns:ns3="urn:riv:cgi:healthcare:efrikort:3" xmlns:ns4="urn:riv:itintegration:registry:1">
<ns2:registerTransactionResultType>
<ns3:result>
<ns3:resultCode>OK</ns3:resultCode>
</ns3:result>
<ns3:cardSystemId>2a5a217e-19e8-4781-8efc-1739f018acbb</ns3:cardSystemId>
<ns3:transactionId>b99c4524-5e71-4fa4-b3a3-ea23f756b663</ns3:transactionId>
</ns2:registerTransactionResultType>
</ns2:RegisterTransactionResponse>
</S:Body>
</S:Envelope>
Svar överdebitering
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:RegisterTransactionResponse xmlns:ns2="urn:riv:cgi:healthcare:efrikort:RegisterTransactionResponder:3" xmlns:ns3="urn:riv:cgi:healthcare:efrikort:3" xmlns:ns4="urn:riv:itintegration:registry:1">
<ns2:registerTransactionResultType>
<ns3:result>
<ns2:resultCode>INFO</ns2:resultCode>
<ns2:resultText>Registrerat belopp 150.0kr överskred beloppet för att uppnå frikort med 50,0kr.</ns2:resultText>
</ns3:result>
<ns3:cardSystemId>2a5a217e-19e8-4781-8efc-1739f018acbb</ns3:cardSystemId>
<ns3:transactionId>b99c4524-5e71-4fa4-b3a3-ea23f756b662</ns3:transactionId>
</ns2:registerTransactionResultType>
</ns2:RegisterTransactionResponse>
</S:Body>
</S:Envelope>
RegisterOptIn
Anrop
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:riv:itintegration:registry:1" xmlns:urn1="urn:riv:cgi:healthcare:efrikort:RegisterOptInResponder:3" xmlns:urn2="urn:riv:cgi:healthcare:efrikort:3">
<soapenv:Header>
<urn:LogicalAddress>?</urn:LogicalAddress>
</soapenv:Header>
<soapenv:Body>
<urn1:RegisterOptIn>
<urn1:carePrincipalId>SE222-SLL</urn1:carePrincipalId>
<urn1:personId>191212121212</urn1:personId>
<urn1:cardTypeId>CARE_VISIT</urn1:cardTypeId>
<urn1:actor>
<urn2:employeeId>SE123-CGITESTER</urn2:employeeId>
<urn2:careProviderId>SE123-ABCD</urn2:careProviderId>
<!--Optional:-->
<urn2:careUnitId>SE123-WXYZ</urn2:careUnitId>
<!--You may enter ANY elements at this point-->
</urn1:actor>
<!--You may enter ANY elements at this point-->
</urn1:RegisterOptIn>
</soapenv:Body>
</soapenv:Envelope>
Svar
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:RegisterOptInResponse xmlns:ns2="urn:riv:cgi:healthcare:efrikort:RegisterOptInResponder:3" xmlns:ns3="urn:riv:cgi:healthcare:efrikort:3" xmlns:ns4="urn:riv:itintegration:registry:1">
<ns2:resultType>
<ns3:resultCode>OK</ns3:resultCode>
</ns2:resultType>
</ns2:RegisterOptInResponse>
</S:Body>
</S:Envelope>
UpdateTransaction
Anrop
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:riv:itintegration:registry:1" xmlns:urn1="urn:riv:cgi:healthcare:efrikort:UpdateTransactionResponder:3" xmlns:urn2="urn:riv:cgi:healthcare:efrikort:3">
<soapenv:Header>
<urn:LogicalAddress>?</urn:LogicalAddress>
</soapenv:Header>
<soapenv:Body>
<urn1:UpdateTransaction>
<urn1:carePrincipalId>SE222-SLL</urn1:carePrincipalId>
<urn1:careProvider>TestCareProvider</urn1:careProvider>
<!--Optional:-->
<urn1:careUnit>TestUnit</urn1:careUnit>
<urn1:transactionId>b99c4524-5e71-4fa4-b3a3-ea23f756b663</urn1:transactionId>
<urn1:transactionDate>2018-01-31</urn1:transactionDate>
<urn1:amount>200</urn1:amount>
<!--Optional:-->
<urn1:updateReason>Felaktiga uppgifter</urn1:updateReason>
<urn1:actor>
<urn2:employeeId>SE123-CGITESTER</urn2:employeeId>
<urn2:careProviderId>SE123-ABCD</urn2:careProviderId>
<!--Optional:-->
<urn2:careUnitId>SE123-WXYZ</urn2:careUnitId>
<!--You may enter ANY elements at this point-->
</urn1:actor>
<!--You may enter ANY elements at this point-->
</urn1:UpdateTransaction>
</soapenv:Body>
</soapenv:Envelope>
Svar
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns3:UpdateTransactionResponse xmlns:ns2="urn:riv:cgi:healthcare:efrikort:3" xmlns:ns3="urn:riv:cgi:healthcare:efrikort:UpdateTransactionResponder:3" xmlns:ns4="urn:riv:itintegration:registry:1">
<ns3:registerTransactionResultType>
<ns2:result>
<ns2:resultCode>OK</ns2:resultCode>
</ns2:result>
<ns2:cardSystemId>2a5a217e-19e8-4781-8efc-1739f018acbb</ns2:cardSystemId>
<ns2:transactionId>b99c4524-5e71-4fa4-b3a3-ea23f756b663</ns2:transactionId>
</ns3:registerTransactionResultType>
</ns3:UpdateTransactionResponse>
</S:Body>
</S:Envelope>
DeleteTransaction
Anrop
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:riv:itintegration:registry:1" xmlns:urn1="urn:riv:cgi:healthcare:efrikort:DeleteTransactionResponder:3" xmlns:urn2="urn:riv:cgi:healthcare:efrikort:3">
<soapenv:Header>
<urn:LogicalAddress>?</urn:LogicalAddress>
</soapenv:Header>
<soapenv:Body>
<urn1:DeleteTransaction>
<urn1:carePrincipalId>SE222-SLL</urn1:carePrincipalId>
<urn1:transactionId>b99c4524-5e71-4fa4-b3a3-ea23f756b663</urn1:transactionId>
<!--Optional:-->
<urn1:deleteReason>Fel registrerad</urn1:deleteReason>
<urn1:actor>
<urn2:employeeId>SE123-CGITESTER</urn2:employeeId>
<urn2:careProviderId>SE123-ABCD</urn2:careProviderId>
<!--Optional:-->
<urn2:careUnitId>SE123-WXYZ</urn2:careUnitId>
<!--You may enter ANY elements at this point-->
</urn1:actor>
<!--You may enter ANY elements at this point-->
</urn1:DeleteTransaction>
</soapenv:Body>
</soapenv:Envelope>
Svar
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns3:DeleteTransactionResponse xmlns:ns2="urn:riv:cgi:healthcare:efrikort:3" xmlns:ns3="urn:riv:cgi:healthcare:efrikort:DeleteTransactionResponder:3" xmlns:ns4="urn:riv:itintegration:registry:1">
<ns3:resultType>
<ns2:resultCode>OK</ns2:resultCode>
</ns3:resultType>
</ns3:DeleteTransactionResponse>
</S:Body>
</S:Envelope>
Publik information