fmk:ecpr:1.0:getpersonbyid
This is an old revision of the document!
GetPersonById
GetPersonById kan benyttes til at lave opslag på en eller flere personer givet en liste af KeyIdentifier. Svaret returnerer det samme antal Person som mængden af KeyIdentifiers, hvor Person returnes med fuld historik på de enkelte dataelementer.
Request-eksempel (simplificeret):
<ns3:GetPersonByIdRequest>
<ns2:KeyIdentifier>
<ns2:OID>1.2.208.176.1.6.1.1</ns2:OID>
<ns2:Value>1212701XG7</ns2:Value>
</ns2:KeyIdentifier>
<ns2:KeyIdentifier>
<ns2:OID>1.2.208.176.1.6.1.1</ns2:OID>
<ns2:Value>0606807JC3</ns2:Value>
</ns2:KeyIdentifier>
</ns3:GetPersonByIdRequest>
Response-eksempel (simplificeret):
<ns3:GetPersonByIdResponse xmlns:ns3="http://sds.dk/ecpr2/2017/10/01/" xmlns:ns2="urn:sds-dk:ecpr2">
<ns2:Person>
<ns2:Identifier>
<ns2:PID>cacdfb80-49dd-472a-8354-11c647dddf24</ns2:PID>
<ns2:ValidFrom>2018-05-07T10:26:02+02:00</ns2:ValidFrom>
<ns2:OID>1.2.208.176.1.6.1.1</ns2:OID>
<ns2:OIDLabel>X-eCPR</ns2:OIDLabel>
<ns2:OIDType>eCPR-nummer</ns2:OIDType>
<ns2:Value>1212701XG7</ns2:Value>
<ns2:Validity>16</ns2:Validity>
</ns2:Identifier>
<ns2:Modified>
<ns2:By>
<ns2:Person>
<ns2:AuthorisationIdentifier>AB01C</ns2:AuthorisationIdentifier>
<ns2:Name>Jens Jensen</ns2:Name>
<ns2:PersonIdentifier>1234567890</ns2:PersonIdentifier>
</ns2:Person>
<ns2:Role>Læge</ns2:Role>
<ns2:Organisation>
<ns2:Name>Andeby hospital</ns2:Name>
<ns2:Type>Hospital</ns2:Type>
<ns2:Identifier>
<ns2:Identifier>1234123412</ns2:Identifier>
<ns2:Source>SOR</ns2:Source>
</ns2:Identifier>
</ns2:Organisation>
</ns2:By>
<ns2:ValidFrom>2018-05-07T10:26:02+02:00</ns2:ValidFrom>
<ns2:ValidTo>2018-05-07T10:27:49+02:00</ns2:ValidTo>
</ns2:Modified>
<ns2:Modified>
<ns2:By>
<ns2:Person>
<ns2:AuthorisationIdentifier>AB01C</ns2:AuthorisationIdentifier>
<ns2:Name>Jens Jensen</ns2:Name>
<ns2:PersonIdentifier>1234567890</ns2:PersonIdentifier>
</ns2:Person>
<ns2:Role>Læge</ns2:Role>
<ns2:Organisation>
<ns2:Name>Andeby hospital</ns2:Name>
<ns2:Type>Hospital</ns2:Type>
<ns2:Identifier>
<ns2:Identifier>1234123412</ns2:Identifier>
<ns2:Source>SOR</ns2:Source>
</ns2:Identifier>
</ns2:Organisation>
</ns2:By>
<ns2:ValidFrom>2018-05-07T10:27:49+02:00</ns2:ValidFrom>
</ns2:Modified>
<ns2:Gender>
<ns2:PID>44550ca5-88ba-4f45-96a8-22a0732895d5</ns2:PID>
<ns2:ValidFrom>2018-05-07T10:26:02+02:00</ns2:ValidFrom>
<ns2:Value>male</ns2:Value>
</ns2:Gender>
<ns2:Name>
<ns2:PID>1a691815-a383-4d91-a405-e364830c6460</ns2:PID>
<ns2:ValidFrom>2018-05-07T10:26:02+02:00</ns2:ValidFrom>
<ns2:Use>official</ns2:Use>
<ns2:Text>Gunther Weber</ns2:Text>
<ns2:FamilyName>Weber</ns2:FamilyName>
<ns2:GivenName>Gunther</ns2:GivenName>
</ns2:Name>
<ns2:BirthDate>
<ns2:PID>5882a28b-9f40-4257-9ef1-2ffa26a1383a</ns2:PID>
<ns2:ValidFrom>2018-05-07T10:26:02+02:00</ns2:ValidFrom>
<ns2:Value>1970-12-12</ns2:Value>
</ns2:BirthDate>
<ns2:Address>
<ns2:PID>15f8c77d-5972-4a1d-a249-0e33ba08c995</ns2:PID>
<ns2:ValidFrom>2018-05-07T10:26:02+02:00</ns2:ValidFrom>
<ns2:Use>home</ns2:Use>
<ns2:Type>physical</ns2:Type>
<ns2:Text>Strassenbahn 42</ns2:Text>
<ns2:City>Hamburg</ns2:City>
<ns2:PostalCode>20095</ns2:PostalCode>
<ns2:Country>DEU</ns2:Country>
<ns2:CountryName>Tyskland</ns2:CountryName>
</ns2:Address>
<ns2:Address>
<ns2:PID>ca949b88-e570-45bb-8b8d-b474314b2c0e</ns2:PID>
<ns2:ValidFrom>2018-05-07T10:27:49+02:00</ns2:ValidFrom>
<ns2:Use>temp</ns2:Use>
<ns2:Type>postal</ns2:Type>
<ns2:Text>Sommerhusvej 84</ns2:Text>
<ns2:City>Thisted</ns2:City>
<ns2:PostalCode>7620</ns2:PostalCode>
<ns2:Country>DNK</ns2:Country>
<ns2:CountryName>Danmark</ns2:CountryName>
</ns2:Address>
</ns2:Person>
<ns2:Person>
...
</ns2:Person>
</ns3:GetPersonByIdResponse>
fmk/ecpr/1.0/getpersonbyid.1625226843.txt.gz · Last modified: (external edit)
