User Tools

Site Tools


fmk:ecpr:1.0:createperson

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
fmk:ecpr:1.0:createperson [2021-07-04 08:31] – created mrtfmk:ecpr:1.0:createperson [2024-04-23 11:50] (current) – removed maa
Line 1: Line 1:
-===== CreatePerson ===== 
  
-CreatePerson benyttes til oprettelse af en ny person-registrering. Servicen anvendes til at danne en ny person-registrering med et nyt centralt erstatnings-CPR. I kaldet kan der suppleres med andre eksterne person-ID’er og andre stamdata. Det er obligatorisk at angive køn, da dette benyttes til dannelse af nyt eCPR. Der skal også angives en Identifier uden Value og med OID på den type centralt erstatnings-CPR der skal genereres. 
- 
-Request-eksempel (simplificeret): 
- 
-        <ns3:CreatePersonRequest> 
-            <ns2:Person> 
-                <ns2:Identifier> 
-                    <ns2:OID>1.2.208.176.1.6.1.1</ns2:OID> 
-                </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:Modified> 
-                <ns2:Gender> 
-                    <ns2:Value>male</ns2:Value> 
-                </ns2:Gender> 
-                <ns2:Name> 
-                    <ns2:Use>official</ns2:Use> 
-                    <ns2:FamilyName>Weber</ns2:FamilyName> 
-                    <ns2:GivenName>Gunther</ns2:GivenName> 
-                </ns2:Name> 
-                <ns2:BirthDate> 
-                    <ns2:Value>1970-12-12</ns2:Value> 
-                </ns2:BirthDate> 
-                <ns2:Address> 
-                    <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:Address> 
-            </ns2:Person> 
-        </ns3:CreatePersonRequest> 
- 
-Response-eksempel (simplificeret): 
- 
-        <ns3:CreatePersonResponse> 
-            <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: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:Person> 
-        </ns3:CreatePersonResponse> 
-         
fmk/ecpr/1.0/createperson.1625387519.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki