Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents

 

 

Numbered Headings

Servicen

Denne service er en realisering af MedCom-standarden for 'Det Gode CPR Opslag’ og findes tilgængelig på alle instanser på platformen. Der findes desuden realiseret en variant af 'Det Gode CPR Opslag’ i denne service, som beriger snitfladen med en udvidet række søgeparametre.

 

CPR-data

Data indlæses på platformen, som regel dagligt fra tirsdag til lørdag begge dage incl., dog med undtagelse af en række helligdage. Datasættet indeholder en mængde personlige oplysninger, som navn og postadresse, om borgere i Danmark. Der kan være særlige begrænsninger knyttet til adgang på data for en borger eller sundhedsfaglig person, som eksempelvis navne- og adressebeskyttelse. Denne begrænsning skal forhindre misbrug, så det eksempelvis er umuligt at få oplyst CPR-nr alene udfra et navn eller en fødselsdato. Anvendere anbefales at aflæse værdien for elementet 'PersonInformationProtectionIndicator' i svar, som angiver om indhold i svaret er beskyttet. I tilfælde af beskyttede felter kan svaret indeholde erstatningsværdier for autentiske værdier, som eksempelvis 'ADRESSEBESKYTTET', '0000' eller '1'. Se envidere Det Centrale Personregisters definition af CPR-nummer

Sundhedsfaglig information

For personer med tilknyttet sundhedfaglig information, dvs. oplysninger om sikringsgruppe og tilknyttet læge eller anden sundhedsfaglig person med et yder-nummer, kan denne information udlæses fra servicen.

Adgang til servicen

SCES er tilgængelig på alle NSP installationer. Servicen er udstillet som en DGWS service. Alle kald til service logges.

Whitelisting

Servicen er underlagt whitelistningbegrænsning. Denne whitelistning er baseret på CVR nummeret, der er indeholdt i anvendte id-kort. Der skal anmodes om whitelistning hos NSP operatøren gennem en supporthenvendelse

Sikkerhedsniveau

Servicen kræver id-kort af niveau 3, dvs. id-kort udstillet med et VOCES eller FOCES certifikat.

 

Replikering

Der vil være en kort forsinkelse efter modtagelse af en ny udgave af register indtil ændringerne kan hentes ud via servicen. Grunden til dette er at data skal replikeres fra centralt ud til alle NSP installationer. Der er ikke nogen garanti for hvor aktuel datagrundlaget er.

 

Testdata og -miljø

Servicen er ligeledes installeret på de eksterne testmiljøer, hvor den er fungerende i testføderationen, men er underlagt samme adgangskrav som i produktion. Adgang til testmiljøer er beskrevet her. Servicens datagrundlag er baseret på data specifik generet til testmiljøerne. En beskrivelse af testdata findes her. Specielt kan alle personer på testmiljøet ses her (kræver login).

 

Servicekald

Der findes 2 versioner af snitfladen til denne service. Den første version, som har namespace http://rep.oio.dk/medcom.sundcom.dk/xml/wsdl/2007/06/28/ og seneste version, der har namespace urn:oio:medcom:cprservice:1.0.2. Det anbefales at benytte seneste version. Nærværende tekst tager udgangspunkt i seneste version. Bemærk at ID-kort er fjernet fra SOAP-eksempelerne herunder.


Omstændigheder ved svar

Der eksisterer en række omstændigheder, som gør at et svar kan være ændret eller begrænset.


Udeladelse af adresseoplysninger

Servicen vil udelade adresseoplysninger om en borger når elementet 'PersonCivilRegistrationStatusCode' antager én af følgende værdier:

Status kodeBeskrivelse
20
Registreret  uden  bopæl  i  dansk/grønlandsk folkeregister – samt  administrative  personnumre.
30Annulleret postnummer.
50
Slettet personnummer.
60Ændret postnummer.
70Forsvundet person.
90Død (død eller død som udrejst eller forsvundet).

 

Erstatning for ukendt kommunekode

Servicen vil ersatte værdien for en regionskode baseret på en ukendt kommunekode med regionskoden '1099'.


Manglende sundhedsfaglig information

Servicen vil svare med sundhedsfaglige information, der har værdier svarende til 'ukendt' i det tilfælde af, at den sundhedsfaglige association mangler i datagrundlaget.

 

 

Endpoints

Der findes to endpoints på platformen for denne service, som i det følgende beskrives:

Endpoint 'stamdata-cpr-ws/service/DetGodeCPROpslag-1.0.2'

Dette endpoint er en realisering af 'Det Gode CPR Opslag'.

 

 getPersonInformation

Denne operation bruges til at hente personlige informationer om en borger. Operationen vil udelade autentiske værdier for beskyttede felter i svaret. Et eksempel på en SOAP-besked i et kald til denne operation:

Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
      <Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
         <saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" IssueInstant="2014-01-21T09:27:15Z" Version="2.0" id="IDCard">
			...
			...
         </saml:Assertion>
      </Security>
      <Header xmlns="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd">
			...
			...
      </Header>
   </soapenv:Header>
   <soapenv:Body>
      <sces:getPersonInformationIn xmlns:sces="urn:oio:medcom:cprservice:1.0.2">
         <cpr:PersonCivilRegistrationIdentifier xmlns:cpr="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/">0101010000</cpr:PersonCivilRegistrationIdentifier>
      </sces:getPersonInformationIn>
   </soapenv:Body>
</soapenv:Envelope>

 

Det væsentlige indhold i svaret findes under SOAP Body elementet og indeholder her autentiske værdier fra et testdata-sæt:

 

Code Block
languagexml
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Header>
       <ns19:Security xmlns="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns2="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns3="urn:oio:medcom:cprservice:1.0.2" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns5="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns6="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns7="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns8="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns9="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns12="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns13="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns14="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns15="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns16="http://www.w3.org/2000/09/xmldsig#" xmlns:ns17="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns18="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns19="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns20="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns21="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/">
          <ns18:Timestamp>
             <ns18:Created>2014-01-21T09:32:16Z</ns18:Created>
          </ns18:Timestamp>
       </ns19:Security>
       <ns17:Header xmlns="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns2="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns3="urn:oio:medcom:cprservice:1.0.2" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns5="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns6="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns7="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns8="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns9="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns12="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns13="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns14="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns15="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns16="http://www.w3.org/2000/09/xmldsig#" xmlns:ns17="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns18="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns19="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns20="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns21="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/">
          <ns17:Linking>
             <ns17:FlowID>15c7284c8e154dc1adef4f12843b29c9</ns17:FlowID>
             <ns17:MessageID>f03036e7-766b-4e94-ac79-c1417effc903</ns17:MessageID>
             <ns17:InResponseToMessageID>77144d247ed9496796fdf808058d1d96</ns17:InResponseToMessageID>
          </ns17:Linking>
          <ns17:FlowStatus>flow_finalized_succesfully</ns17:FlowStatus>
       </ns17:Header>
    </S:Header>
    <S:Body>
       <ns3:getPersonInformationOut xmlns="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns2="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns3="urn:oio:medcom:cprservice:1.0.2" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns5="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns6="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns7="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns8="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns9="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns12="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns13="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns14="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns15="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns16="http://www.w3.org/2000/09/xmldsig#" xmlns:ns17="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns18="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns19="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns20="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns21="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/">
          <ns3:PersonInformationStructure>
             <ns3:CurrentPersonCivilRegistrationIdentifier>0101010000</ns3:CurrentPersonCivilRegistrationIdentifier>
             <ns7:RegularCPRPerson>
                <ns7:SimpleCPRPerson>
                   <ns6:PersonNameStructure>
                      <ns2:PersonGivenName>Helle</ns2:PersonGivenName>
                      <ns2:PersonSurnameName>Pedersen</ns2:PersonSurnameName>
                   </ns6:PersonNameStructure>
                   <PersonCivilRegistrationIdentifier>0101010000</PersonCivilRegistrationIdentifier>
                </ns7:SimpleCPRPerson>
                <ns8:PersonNameForAddressingName>Helle Pedersen</ns8:PersonNameForAddressingName>
                <ns2:PersonGenderCode>female</ns2:PersonGenderCode>
                <ns9:PersonInformationProtectionIndicator>false</ns9:PersonInformationProtectionIndicator>
                <ns9:PersonBirthDateStructure>
                   <ns4:BirthDate>2001-01-01+01:00</ns4:BirthDate>
                   <ns9:BirthDateUncertaintyIndicator>false</ns9:BirthDateUncertaintyIndicator>
                </ns9:PersonBirthDateStructure>
                <ns7:PersonCivilRegistrationStatusStructure>
                   <ns9:PersonCivilRegistrationStatusCode>1</ns9:PersonCivilRegistrationStatusCode>
                   <ns7:PersonCivilRegistrationStatusStartDate>2014-01-21+01:00</ns7:PersonCivilRegistrationStatusStartDate>
                </ns7:PersonCivilRegistrationStatusStructure>
             </ns7:RegularCPRPerson>
             <ns3:PersonAddressStructure>
                <ns3:AddressComplete>
                   <ns3:AddressAccess>
                      <MunicipalityCode>0000</MunicipalityCode>
                      <StreetCode>0001</StreetCode>
                      <ns2:StreetBuildingIdentifier>238</ns2:StreetBuildingIdentifier>
                   </ns3:AddressAccess>
                   <ns3:AddressPostal>
                      <ns4:StreetName>Ålborggade</ns4:StreetName>
                      <StreetNameForAddressingName>Ålborggade</StreetNameForAddressingName>
                      <ns2:StreetBuildingIdentifier>238</ns2:StreetBuildingIdentifier>
                      <ns4:PostCodeIdentifier>1323</ns4:PostCodeIdentifier>
                      <ns4:DistrictName>København K</ns4:DistrictName>
                   </ns3:AddressPostal>
                </ns3:AddressComplete>
                <ns3:CountyCode>0000</ns3:CountyCode>
             </ns3:PersonAddressStructure>
          </ns3:PersonInformationStructure>
       </ns3:getPersonInformationOut>
    </S:Body>
 </S:Envelope>

 

getPersonWithHealthCareInformation

Denne operation bruges til at hente personlige informationer om en borger samt dennes sundhedsfaglige informationer (egen læge og sygesikring). Operationen vil udelade autentiske værdier for beskyttede felter i svaret. Dette kan gælde for både værdier i borgerens felter samt sundhedsfaglige felter. Et eksempel på en SOAP-besked i et kald til denne operation:

Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
      <Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
         <Timestamp xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
            <Created>2014-01-21T11:02:26+01:00</Created>
         </Timestamp>
         <saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" IssueInstant="2014-01-21T09:57:26Z" Version="2.0" id="IDCard">
			...
			...
         </saml:Assertion>
      </Security>
      <Header xmlns="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd">
			...
			...
      </Header>
   </soapenv:Header>
   <soapenv:Body>
      <sces:getPersonWithHealthCareInformationIn xmlns:sces="urn:oio:medcom:cprservice:1.0.2">
         <cpr:PersonCivilRegistrationIdentifier xmlns:cpr="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/">0101010000</cpr:PersonCivilRegistrationIdentifier>
      </sces:getPersonWithHealthCareInformationIn>
   </soapenv:Body>
</soapenv:Envelope>


Det væsentlige indhold er naturligvis under SOAP body elementet. Svaret fra dette kald er følgende:

 

Code Block
languagexml
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Header>
      <ns19:Security xmlns="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns2="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns3="urn:oio:medcom:cprservice:1.0.2" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns5="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns6="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns7="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns8="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns9="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns12="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns13="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns14="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns15="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns16="http://www.w3.org/2000/09/xmldsig#" xmlns:ns17="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns18="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns19="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns20="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns21="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/">
         <ns18:Timestamp>
            <ns18:Created>2014-01-21T10:02:27Z</ns18:Created>
         </ns18:Timestamp>
      </ns19:Security>
      <ns17:Header xmlns="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns2="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns3="urn:oio:medcom:cprservice:1.0.2" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns5="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns6="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns7="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns8="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns9="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns12="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns13="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns14="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns15="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns16="http://www.w3.org/2000/09/xmldsig#" xmlns:ns17="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns18="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns19="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns20="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns21="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/">
         <ns17:Linking>
            <ns17:FlowID>7777fbcb497e45d885db2323a98f3d0d</ns17:FlowID>
            <ns17:MessageID>b690c48f-1b66-45e7-9191-a576e2793314</ns17:MessageID>
            <ns17:InResponseToMessageID>cafdd5295eb64652a82d5db946aa6396</ns17:InResponseToMessageID>
         </ns17:Linking>
         <ns17:FlowStatus>flow_finalized_succesfully</ns17:FlowStatus>
      </ns17:Header>
   </S:Header>
   <S:Body>
      <ns3:getPersonWithHealthCareInformationOut xmlns="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns2="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns3="urn:oio:medcom:cprservice:1.0.2" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns5="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns6="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns7="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns8="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns9="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns12="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns13="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns14="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns15="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns16="http://www.w3.org/2000/09/xmldsig#" xmlns:ns17="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns18="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns19="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns20="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns21="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/">
         <ns3:PersonWithHealthCareInformationStructure>
            <ns3:PersonInformationStructure>
               <ns3:CurrentPersonCivilRegistrationIdentifier>0101010000</ns3:CurrentPersonCivilRegistrationIdentifier>
               <ns7:RegularCPRPerson>
                  <ns7:SimpleCPRPerson>
                     <ns6:PersonNameStructure>
                        <ns2:PersonGivenName>Helle</ns2:PersonGivenName>
                        <ns2:PersonSurnameName>Pedersen</ns2:PersonSurnameName>
                     </ns6:PersonNameStructure>
                     <PersonCivilRegistrationIdentifier>0101010000</PersonCivilRegistrationIdentifier>
                  </ns7:SimpleCPRPerson>
                  <ns8:PersonNameForAddressingName>Helle Pedersen</ns8:PersonNameForAddressingName>
                  <ns2:PersonGenderCode>female</ns2:PersonGenderCode>
                  <ns9:PersonInformationProtectionIndicator>false</ns9:PersonInformationProtectionIndicator>
                  <ns9:PersonBirthDateStructure>
                     <ns4:BirthDate>2001-01-01+01:00</ns4:BirthDate>
                     <ns9:BirthDateUncertaintyIndicator>false</ns9:BirthDateUncertaintyIndicator>
                  </ns9:PersonBirthDateStructure>
                  <ns7:PersonCivilRegistrationStatusStructure>
                     <ns9:PersonCivilRegistrationStatusCode>1</ns9:PersonCivilRegistrationStatusCode>
                     <ns7:PersonCivilRegistrationStatusStartDate>2014-01-21+01:00</ns7:PersonCivilRegistrationStatusStartDate>
                  </ns7:PersonCivilRegistrationStatusStructure>
               </ns7:RegularCPRPerson>
               <ns3:PersonAddressStructure>
                  <ns3:AddressComplete>
                     <ns3:AddressAccess>
                        <MunicipalityCode>0000</MunicipalityCode>
                        <StreetCode>0001</StreetCode>
                        <ns2:StreetBuildingIdentifier>238</ns2:StreetBuildingIdentifier>
                     </ns3:AddressAccess>
                     <ns3:AddressPostal>
                        <ns4:StreetName>Ålborggade</ns4:StreetName>
                        <StreetNameForAddressingName>Ålborggade</StreetNameForAddressingName>
                        <ns2:StreetBuildingIdentifier>238</ns2:StreetBuildingIdentifier>
                        <ns4:PostCodeIdentifier>1323</ns4:PostCodeIdentifier>
                        <ns4:DistrictName>København K</ns4:DistrictName>
                     </ns3:AddressPostal>
                  </ns3:AddressComplete>
                  <ns3:CountyCode>0000</ns3:CountyCode>
               </ns3:PersonAddressStructure>
            </ns3:PersonInformationStructure>
            <ns3:PersonHealthCareInformationStructure>
               <ns12:AssociatedGeneralPractitionerStructure>
                  <ns12:AssociatedGeneralPractitionerIdentifier>0</ns12:AssociatedGeneralPractitionerIdentifier>
                  <ns12:AssociatedGeneralPractitionerOrganisationName>UKENDT</ns12:AssociatedGeneralPractitionerOrganisationName>
                  <ns10:StandardAddressIdentifier>UKENDT</ns10:StandardAddressIdentifier>
                  <ns4:PostCodeIdentifier>0000</ns4:PostCodeIdentifier>
                  <ns4:DistrictName>UKENDT</ns4:DistrictName>
                  <ns13:TelephoneSubscriberIdentifier>00000000</ns13:TelephoneSubscriberIdentifier>
                  <ns14:EmailAddressIdentifier>UKENDT@example.com</ns14:EmailAddressIdentifier>
               </ns12:AssociatedGeneralPractitionerStructure>
               <ns3:PersonPublicHealthInsurance>
                  <ns3:PublicHealthInsuranceGroupIdentifier>sygesikringsgruppe_1</ns3:PublicHealthInsuranceGroupIdentifier>
                  <ns12:PublicHealthInsuranceGroupStartDate>2007-08-06+02:00</ns12:PublicHealthInsuranceGroupStartDate>
               </ns3:PersonPublicHealthInsurance>
            </ns3:PersonHealthCareInformationStructure>
         </ns3:PersonWithHealthCareInformationStructure>
      </ns3:getPersonWithHealthCareInformationOut>
   </S:Body>
</S:Envelope>


Indholdet af svaret indeholder her autentiske værdier for borgeren, som kommer fra et testdata-sæt. I tilfælde af beskyttede felter kan svaret indeholde erstatningsværdier for autentiske værdier, som eksempelvis 'ADRESSEBESKYTTET', '0000' eller '1'. Svaret her indeholder erstatningsværdier, som eksempelvis 'UKENDT' eller '0000', i nogle sundhedsfaglige felter af den årsag, at de sundhedsfaglige værdier er ukendte. Dette må ikke forveksles med beskyttede felter.


Endpoint 'stamdata-cpr-ws/service/StamdataPersonLookup'

Dette endpoint er en variant af 'Det Gode CPR Opslag'


getPersonDetails

Denne operation giver mulighed for søgning på informationer om en borger udfra CPR nummer, en liste af CPR numre, fødselsdato eller navn. Der kan være særlige begrænsninger knyttet til adgang på data for en borger eller sundhedsfaglig person, som eksempelvis navne- og adressebeskyttelse, der opsummeret er følgende:

Søgning viaBeskyttet data
CPR-nrAlle felter undtaget CPR-nr
Liste af CPR-nrAlle felter undtaget CPR-nr
NavnAlle felter
FødselsdatoAlle felter


Søgning på CPR nummer

Søgning om information for en borger udfra CPR nummer:

Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:sosi="http://www.sosi.dk/sosi/2006/04/sosi-1.0.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wst="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Envelope">
   <soapenv:Header>
      <wsse:Security>
         <wsu:Timestamp>
            <wsu:Created>2014-01-24T11:14:14Z</wsu:Created>
         </wsu:Timestamp>
         <saml:Assertion IssueInstant="2014-01-24T11:09:14Z" Version="2.0" id="IDCard">
			...
			...
         </saml:Assertion>
      </wsse:Security>
      <medcom:Header>
			...
			...
      </medcom:Header>
   </soapenv:Header>
   <soapenv:Body>
      <ns3:PersonLookupRequest xmlns:ns3="http://nsi.dk/2011/09/23/StamdataCpr/" xmlns:ns2="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/">
         <CivilRegistrationNumberPersonQuery>1111111118</CivilRegistrationNumberPersonQuery>
      </ns3:PersonLookupRequest>
   </soapenv:Body>
</soapenv:Envelope>


Svaret fra dette kald er følgende:


Code Block
languagexml
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Header>
      <ns21:Security xmlns:ns2="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns3="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns5="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns6="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns7="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns8="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns9="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns12="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns13="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns14="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns15="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/" xmlns:ns16="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns17="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns18="http://www.w3.org/2000/09/xmldsig#" xmlns:ns19="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns20="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns21="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns22="http://nsi.dk/2011/09/23/StamdataCpr/">
         <ns20:Timestamp>
            <ns20:Created>2014-01-24T11:51:33Z</ns20:Created>
         </ns20:Timestamp>
      </ns21:Security>
      <ns19:Header xmlns:ns2="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns3="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns5="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns6="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns7="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns8="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns9="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns12="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns13="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns14="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns15="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/" xmlns:ns16="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns17="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns18="http://www.w3.org/2000/09/xmldsig#" xmlns:ns19="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns20="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns21="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns22="http://nsi.dk/2011/09/23/StamdataCpr/">
         <ns19:Linking>
            <ns19:MessageID>fbba3de5-c4be-4432-9cb9-bcaea17e6aa7</ns19:MessageID>
            <ns19:InResponseToMessageID>AAABQ8QXOb8n59uvelAIFlNPU0k=</ns19:InResponseToMessageID>
         </ns19:Linking>
         <ns19:FlowStatus>flow_finalized_succesfully</ns19:FlowStatus>
      </ns19:Header>
   </S:Header>
   <S:Body>
      <ns22:PersonLookupResponse xmlns:ns2="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns3="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns5="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns6="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns7="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns8="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns9="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns12="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns13="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns14="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns15="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/" xmlns:ns16="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns17="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns18="http://www.w3.org/2000/09/xmldsig#" xmlns:ns19="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns20="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns21="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns22="http://nsi.dk/2011/09/23/StamdataCpr/">
         <ns9:PersonInformationStructure>
            <ns9:CurrentPersonCivilRegistrationIdentifier>2907729713</ns9:CurrentPersonCivilRegistrationIdentifier>
            <ns3:RegularCPRPerson>
               <ns3:SimpleCPRPerson>
                  <ns5:PersonNameStructure>
                     <ns4:PersonGivenName>Jacob</ns4:PersonGivenName>
                     <ns4:PersonSurnameName>Bonde</ns4:PersonSurnameName>
                  </ns5:PersonNameStructure>
                  <ns6:PersonCivilRegistrationIdentifier>2907729713</ns6:PersonCivilRegistrationIdentifier>
               </ns3:SimpleCPRPerson>
               <ns7:PersonNameForAddressingName>Jacob Bonde</ns7:PersonNameForAddressingName>
               <ns4:PersonGenderCode>male</ns4:PersonGenderCode>
               <ns2:PersonInformationProtectionIndicator>false</ns2:PersonInformationProtectionIndicator>
               <ns2:PersonBirthDateStructure>
                  <ns8:BirthDate>1972-07-29+01:00</ns8:BirthDate>
                  <ns2:BirthDateUncertaintyIndicator>true</ns2:BirthDateUncertaintyIndicator>
               </ns2:PersonBirthDateStructure>
               <ns3:PersonCivilRegistrationStatusStructure>
                  <ns2:PersonCivilRegistrationStatusCode>1</ns2:PersonCivilRegistrationStatusCode>
                  <ns3:PersonCivilRegistrationStatusStartDate>2014-01-24+01:00</ns3:PersonCivilRegistrationStatusStartDate>
               </ns3:PersonCivilRegistrationStatusStructure>
            </ns3:RegularCPRPerson>
            <ns9:PersonAddressStructure>
               <ns13:AddressComplete>
                  <ns11:AddressAccess>
                     <ns6:MunicipalityCode>0000</ns6:MunicipalityCode>
                     <ns6:StreetCode>0001</ns6:StreetCode>
                     <ns4:StreetBuildingIdentifier>1</ns4:StreetBuildingIdentifier>
                  </ns11:AddressAccess>
                  <ns13:AddressPostal>
                     <ns8:StreetName>Nørreport</ns8:StreetName>
                     <ns6:StreetNameForAddressingName>Nørreport</ns6:StreetNameForAddressingName>
                     <ns4:StreetBuildingIdentifier>1</ns4:StreetBuildingIdentifier>
                     <ns4:FloorIdentifier>1</ns4:FloorIdentifier>
                     <ns4:SuiteIdentifier>th</ns4:SuiteIdentifier>
                     <ns8:PostCodeIdentifier>1127</ns8:PostCodeIdentifier>
                     <ns8:DistrictName>København K</ns8:DistrictName>
                  </ns13:AddressPostal>
               </ns13:AddressComplete>
               <ns14:PersonInformationProtectionStartDate>2008-06-03+02:00</ns14:PersonInformationProtectionStartDate>
               <ns15:CountyCode>0000</ns15:CountyCode>
           </ns9:PersonAddressStructure>
         </ns9:PersonInformationStructure>
      </ns22:PersonLookupResponse>
   </S:Body>
 </S:Envelope>


Søgning på liste af CPR numre

Søgning på informationer om en eller flere borgere udfra en liste af CPR numre:

Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:sosi="http://www.sosi.dk/sosi/2006/04/sosi-1.0.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wst="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Envelope">
   <soapenv:Header>
      <wsse:Security>
         <wsu:Timestamp>
            <wsu:Created>2014-01-24T11:51:33Z</wsu:Created>
         </wsu:Timestamp>
         <saml:Assertion IssueInstant="2014-01-24T11:46:32Z" Version="2.0" id="IDCard">
			...
			...
         </saml:Assertion>
      </wsse:Security>
      <medcom:Header>
		...
		...
      </medcom:Header>
   </soapenv:Header>
   <soapenv:Body>
      <ns3:PersonLookupRequest xmlns:ns3="http://nsi.dk/2011/09/23/StamdataCpr/" xmlns:ns2="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/">
         <CivilRegistrationNumberListPersonQuery>
            <CivilRegistrationNumber>2907729713</CivilRegistrationNumber>
            <CivilRegistrationNumber>1111103980</CivilRegistrationNumber>
            <CivilRegistrationNumber>1111143583</CivilRegistrationNumber>
         </CivilRegistrationNumberListPersonQuery>
      </ns3:PersonLookupRequest>
   </soapenv:Body>
</soapenv:Envelope>

 

Svaret fra dette kald er følgende:

 

Code Block
languagexml
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Header>
      <ns21:Security xmlns:ns2="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns3="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns5="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns6="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns7="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns8="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns9="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns12="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns13="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns14="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns15="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/" xmlns:ns16="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns17="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns18="http://www.w3.org/2000/09/xmldsig#" xmlns:ns19="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns20="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns21="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns22="http://nsi.dk/2011/09/23/StamdataCpr/">
         <ns20:Timestamp>
            <ns20:Created>2014-01-24T11:51:33Z</ns20:Created>
         </ns20:Timestamp>
      </ns21:Security>
      <ns19:Header xmlns:ns2="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns3="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns5="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns6="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns7="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns8="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns9="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns12="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns13="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns14="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns15="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/" xmlns:ns16="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns17="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns18="http://www.w3.org/2000/09/xmldsig#" xmlns:ns19="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns20="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns21="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns22="http://nsi.dk/2011/09/23/StamdataCpr/">
         <ns19:Linking>
            <ns19:MessageID>75396335-1b0f-400d-bab2-68c567015ac9</ns19:MessageID>
            <ns19:InResponseToMessageID>AAABQ8QXOlpLxv0gW7Xo71NPU0k=</ns19:InResponseToMessageID>
         </ns19:Linking>
         <ns19:FlowStatus>flow_finalized_succesfully</ns19:FlowStatus>
      </ns19:Header>
   </S:Header>
   <S:Body>
      <ns22:PersonLookupResponse xmlns:ns2="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns3="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns5="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns6="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns7="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns8="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns9="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns12="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns13="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns14="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns15="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/" xmlns:ns16="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns17="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns18="http://www.w3.org/2000/09/xmldsig#" xmlns:ns19="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns20="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns21="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns22="http://nsi.dk/2011/09/23/StamdataCpr/">
         <ns9:PersonInformationStructure>
            <ns9:CurrentPersonCivilRegistrationIdentifier>2907729713</ns9:CurrentPersonCivilRegistrationIdentifier>
            <ns3:RegularCPRPerson>
               <ns3:SimpleCPRPerson>
                  <ns5:PersonNameStructure>
                     <ns4:PersonGivenName>Jacob</ns4:PersonGivenName>
                     <ns4:PersonSurnameName>Bonde</ns4:PersonSurnameName>
                  </ns5:PersonNameStructure>
                  <ns6:PersonCivilRegistrationIdentifier>2907729713</ns6:PersonCivilRegistrationIdentifier>
               </ns3:SimpleCPRPerson>
               <ns7:PersonNameForAddressingName>Jacob Bonde</ns7:PersonNameForAddressingName>
               <ns4:PersonGenderCode>male</ns4:PersonGenderCode>
               <ns2:PersonInformationProtectionIndicator>false</ns2:PersonInformationProtectionIndicator>
               <ns2:PersonBirthDateStructure>
                  <ns8:BirthDate>1972-07-29+01:00</ns8:BirthDate>
                  <ns2:BirthDateUncertaintyIndicator>true</ns2:BirthDateUncertaintyIndicator>
               </ns2:PersonBirthDateStructure>
               <ns3:PersonCivilRegistrationStatusStructure>
                  <ns2:PersonCivilRegistrationStatusCode>1</ns2:PersonCivilRegistrationStatusCode>
                  <ns3:PersonCivilRegistrationStatusStartDate>2014-01-24+01:00</ns3:PersonCivilRegistrationStatusStartDate>
               </ns3:PersonCivilRegistrationStatusStructure>
            </ns3:RegularCPRPerson>
            <ns9:PersonAddressStructure>
               <ns13:AddressComplete>
                  <ns11:AddressAccess>
                     <ns6:MunicipalityCode>0000</ns6:MunicipalityCode>
                     <ns6:StreetCode>0001</ns6:StreetCode>
                     <ns4:StreetBuildingIdentifier>1</ns4:StreetBuildingIdentifier>
                  </ns11:AddressAccess>
                  <ns13:AddressPostal>
                     <ns8:StreetName>Nørreport</ns8:StreetName>
                     <ns6:StreetNameForAddressingName>Nørreport</ns6:StreetNameForAddressingName>
                     <ns4:StreetBuildingIdentifier>1</ns4:StreetBuildingIdentifier>
                     <ns4:FloorIdentifier>1</ns4:FloorIdentifier>
                     <ns4:SuiteIdentifier>th</ns4:SuiteIdentifier>
                     <ns8:PostCodeIdentifier>1127</ns8:PostCodeIdentifier>
                     <ns8:DistrictName>København K</ns8:DistrictName>
                  </ns13:AddressPostal>
               </ns13:AddressComplete>
               <ns14:PersonInformationProtectionStartDate>2008-06-03+02:00</ns14:PersonInformationProtectionStartDate>
               <ns15:CountyCode>0000</ns15:CountyCode>
            </ns9:PersonAddressStructure>
         </ns9:PersonInformationStructure>
         <ns9:PersonInformationStructure>
            <ns9:CurrentPersonCivilRegistrationIdentifier>1111103980</ns9:CurrentPersonCivilRegistrationIdentifier>
            <ns3:RegularCPRPerson>
               <ns3:SimpleCPRPerson>
                  <ns5:PersonNameStructure>
                     <ns4:PersonGivenName>Grete</ns4:PersonGivenName>
                     <ns4:PersonSurnameName>Knudsen</ns4:PersonSurnameName>
                  </ns5:PersonNameStructure>
                  <ns6:PersonCivilRegistrationIdentifier>1111103980</ns6:PersonCivilRegistrationIdentifier>
               </ns3:SimpleCPRPerson>
               <ns7:PersonNameForAddressingName>Grete Knudsen</ns7:PersonNameForAddressingName>
               <ns4:PersonGenderCode>female</ns4:PersonGenderCode>
               <ns2:PersonInformationProtectionIndicator>false</ns2:PersonInformationProtectionIndicator>
               <ns2:PersonBirthDateStructure>
                  <ns8:BirthDate>2010-11-11+01:00</ns8:BirthDate>
                  <ns2:BirthDateUncertaintyIndicator>false</ns2:BirthDateUncertaintyIndicator>
               </ns2:PersonBirthDateStructure>
               <ns3:PersonCivilRegistrationStatusStructure>
                  <ns2:PersonCivilRegistrationStatusCode>1</ns2:PersonCivilRegistrationStatusCode>
                  <ns3:PersonCivilRegistrationStatusStartDate>2014-01-24+01:00</ns3:PersonCivilRegistrationStatusStartDate>
               </ns3:PersonCivilRegistrationStatusStructure>
            </ns3:RegularCPRPerson>
            <ns9:PersonAddressStructure>
               <ns10:CareOfName>Morten</ns10:CareOfName>
               <ns13:AddressComplete>
                  <ns11:AddressAccess>
                     <ns6:MunicipalityCode>0000</ns6:MunicipalityCode>
                     <ns6:StreetCode>0001</ns6:StreetCode>
                     <ns4:StreetBuildingIdentifier>497</ns4:StreetBuildingIdentifier>
                  </ns11:AddressAccess>
                  <ns13:AddressPostal>
                     <ns8:StreetName>Hasselvej</ns8:StreetName>
                     <ns6:StreetNameForAddressingName>Hasselvej</ns6:StreetNameForAddressingName>
                     <ns4:StreetBuildingIdentifier>497</ns4:StreetBuildingIdentifier>
                     <ns8:PostCodeIdentifier>1553</ns8:PostCodeIdentifier>
                     <ns8:DistrictName>København V</ns8:DistrictName>
                  </ns13:AddressPostal>
               </ns13:AddressComplete>
               <ns15:CountyCode>0000</ns15:CountyCode>
            </ns9:PersonAddressStructure>
         </ns9:PersonInformationStructure>
         <ns9:PersonInformationStructure>
            <ns9:CurrentPersonCivilRegistrationIdentifier>1111143583</ns9:CurrentPersonCivilRegistrationIdentifier>
            <ns3:RegularCPRPerson>
               <ns3:SimpleCPRPerson>
                  <ns5:PersonNameStructure>
                     <ns4:PersonGivenName>Peter</ns4:PersonGivenName>
                     <ns4:PersonMiddleName>Jørgensen</ns4:PersonMiddleName>
                     <ns4:PersonSurnameName>Svendsen</ns4:PersonSurnameName>
                  </ns5:PersonNameStructure>
                  <ns6:PersonCivilRegistrationIdentifier>1111143583</ns6:PersonCivilRegistrationIdentifier>
               </ns3:SimpleCPRPerson>
               <ns7:PersonNameForAddressingName>Peter Svendsen</ns7:PersonNameForAddressingName>
               <ns4:PersonGenderCode>male</ns4:PersonGenderCode>
               <ns2:PersonInformationProtectionIndicator>false</ns2:PersonInformationProtectionIndicator>
               <ns2:PersonBirthDateStructure>
                  <ns8:BirthDate>1914-11-11+01:00</ns8:BirthDate>
                  <ns2:BirthDateUncertaintyIndicator>false</ns2:BirthDateUncertaintyIndicator>
               </ns2:PersonBirthDateStructure>
               <ns3:PersonCivilRegistrationStatusStructure>
                  <ns2:PersonCivilRegistrationStatusCode>1</ns2:PersonCivilRegistrationStatusCode>
                  <ns3:PersonCivilRegistrationStatusStartDate>2014-01-24+01:00</ns3:PersonCivilRegistrationStatusStartDate>
               </ns3:PersonCivilRegistrationStatusStructure>
            </ns3:RegularCPRPerson>
            <ns9:PersonAddressStructure>
               <ns13:AddressComplete>
                  <ns11:AddressAccess>
                    <ns6:MunicipalityCode>0000</ns6:MunicipalityCode>
                    <ns6:StreetCode>0001</ns6:StreetCode>
                    <ns4:StreetBuildingIdentifier>241</ns4:StreetBuildingIdentifier>
                  </ns11:AddressAccess>
                  <ns13:AddressPostal>
                     <ns8:StreetName>Højgårdsparken</ns8:StreetName>
                     <ns6:StreetNameForAddressingName>Højgårdsparken</ns6:StreetNameForAddressingName>
                     <ns4:StreetBuildingIdentifier>241</ns4:StreetBuildingIdentifier>
                     <ns8:PostCodeIdentifier>1056</ns8:PostCodeIdentifier>
                     <ns8:DistrictName>København K</ns8:DistrictName>
                  </ns13:AddressPostal>
               </ns13:AddressComplete>
               <ns15:CountyCode>0000</ns15:CountyCode>
            </ns9:PersonAddressStructure>
         </ns9:PersonInformationStructure>
      </ns22:PersonLookupResponse>
   </S:Body>
</S:Envelope>

 

Søgning på fødselsdato

Søgning på information om en eller flere borgere udfra fødselsdato:

Code Block
languagexml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:sosi="http://www.sosi.dk/sosi/2006/04/sosi-1.0.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wst="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Envelope">
   <soapenv:Header>
      <wsse:Security>
         <wsu:Timestamp>
            <wsu:Created>2014-01-24T11:51:33Z</wsu:Created>
         </wsu:Timestamp>
         <saml:Assertion IssueInstant="2014-01-24T11:46:32Z" Version="2.0" id="IDCard">
			...
			...
         </saml:Assertion>
      </wsse:Security>
      <medcom:Header>
		...
		...
      </medcom:Header>
   </soapenv:Header>
   <soapenv:Body>
      <ns3:PersonLookupRequest xmlns:ns3="http://nsi.dk/2011/09/23/StamdataCpr/" xmlns:ns2="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/">
         <BirthDatePersonQuery>1914-11-11</BirthDatePersonQuery>
      </ns3:PersonLookupRequest>
   </soapenv:Body>
</soapenv:Envelope>

 

Svaret fra dette kald er følgende:


Code Block
languagexml
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Header>
      <ns21:Security xmlns:ns2="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns3="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns5="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns6="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns7="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns8="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns9="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns12="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns13="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns14="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns15="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/" xmlns:ns16="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns17="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns18="http://www.w3.org/2000/09/xmldsig#" xmlns:ns19="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns20="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns21="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns22="http://nsi.dk/2011/09/23/StamdataCpr/">
         <ns20:Timestamp>
            <ns20:Created>2014-01-24T11:51:33Z</ns20:Created>
         </ns20:Timestamp>
      </ns21:Security>
      <ns19:Header xmlns:ns2="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns3="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns5="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns6="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns7="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns8="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns9="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns12="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns13="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns14="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns15="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/" xmlns:ns16="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns17="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns18="http://www.w3.org/2000/09/xmldsig#" xmlns:ns19="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns20="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns21="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns22="http://nsi.dk/2011/09/23/StamdataCpr/">
         <ns19:Linking>
            <ns19:MessageID>295d6273-49cf-4832-91b5-e0a7774b96d5</ns19:MessageID>
            <ns19:InResponseToMessageID>AAABQ8QXOxyWU8jPF+SX0FNPU0k=</ns19:InResponseToMessageID>
         </ns19:Linking>
         <ns19:FlowStatus>flow_finalized_succesfully</ns19:FlowStatus>
     </ns19:Header>
  </S:Header>
  <S:Body>
      <ns22:PersonLookupResponse xmlns:ns2="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns3="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns5="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns6="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns7="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns8="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns9="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns12="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns13="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns14="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns15="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/" xmlns:ns16="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns17="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns18="http://www.w3.org/2000/09/xmldsig#" xmlns:ns19="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns20="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns21="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns22="http://nsi.dk/2011/09/23/StamdataCpr/">
         <ns9:PersonInformationStructure>
            <ns9:CurrentPersonCivilRegistrationIdentifier>1111141920</ns9:CurrentPersonCivilRegistrationIdentifier>
            <ns3:RegularCPRPerson>
               <ns3:SimpleCPRPerson>
                  <ns5:PersonNameStructure>
                     <ns4:PersonGivenName>Sonja</ns4:PersonGivenName>
                     <ns4:PersonMiddleName>Sørensen</ns4:PersonMiddleName>
                     <ns4:PersonSurnameName>Kristensen</ns4:PersonSurnameName>
                  </ns5:PersonNameStructure>
                  <ns6:PersonCivilRegistrationIdentifier>1111141920</ns6:PersonCivilRegistrationIdentifier>
               </ns3:SimpleCPRPerson>
               <ns7:PersonNameForAddressingName>Sonja Kristensen</ns7:PersonNameForAddressingName>
               <ns4:PersonGenderCode>female</ns4:PersonGenderCode>
               <ns2:PersonInformationProtectionIndicator>false</ns2:PersonInformationProtectionIndicator>
               <ns2:PersonBirthDateStructure>
                  <ns8:BirthDate>1914-11-11+01:00</ns8:BirthDate>
                  <ns2:BirthDateUncertaintyIndicator>false</ns2:BirthDateUncertaintyIndicator>
               </ns2:PersonBirthDateStructure>
               <ns3:PersonCivilRegistrationStatusStructure>
                  <ns2:PersonCivilRegistrationStatusCode>1</ns2:PersonCivilRegistrationStatusCode>
                  <ns3:PersonCivilRegistrationStatusStartDate>2014-01-24+01:00</ns3:PersonCivilRegistrationStatusStartDate>
               </ns3:PersonCivilRegistrationStatusStructure>
            </ns3:RegularCPRPerson>
            <ns9:PersonAddressStructure>
               <ns13:AddressComplete>
                  <ns11:AddressAccess>
                     <ns6:MunicipalityCode>0000</ns6:MunicipalityCode>
                     <ns6:StreetCode>0001</ns6:StreetCode>
                     <ns4:StreetBuildingIdentifier>144</ns4:StreetBuildingIdentifier>
                  </ns11:AddressAccess>
                  <ns13:AddressPostal>
                     <ns8:StreetName>Doktorbakken</ns8:StreetName>
                     <ns6:StreetNameForAddressingName>Doktorbakken</ns6:StreetNameForAddressingName>
                     <ns4:StreetBuildingIdentifier>144</ns4:StreetBuildingIdentifier>
                     <ns8:PostCodeIdentifier>1674</ns8:PostCodeIdentifier>
                     <ns8:DistrictName>København V</ns8:DistrictName>
                  </ns13:AddressPostal>
               </ns13:AddressComplete>
               <ns15:CountyCode>0000</ns15:CountyCode>
            </ns9:PersonAddressStructure>
         </ns9:PersonInformationStructure>
         <ns9:PersonInformationStructure>
            <ns9:CurrentPersonCivilRegistrationIdentifier>1111143583</ns9:CurrentPersonCivilRegistrationIdentifier>
				...
				...
            </ns9:PersonInformationStructure>
         <ns9:PersonInformationStructure>
            <ns9:CurrentPersonCivilRegistrationIdentifier>1111148895</ns9:CurrentPersonCivilRegistrationIdentifier>
				...
				...
            </ns9:PersonInformationStructure>
      </ns22:PersonLookupResponse>
   </S:Body>
</S:Envelope>


Søgning på navn

Søgning på information om en eller flere borgere udfra navn:

Code Block
languagexml
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:sosi="http://www.sosi.dk/sosi/2006/04/sosi-1.0.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wst="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Envelope">
      <soapenv:Header>
         <wsse:Security>
            <wsu:Timestamp>
               <wsu:Created>2014-01-24T11:51:33Z</wsu:Created>
            </wsu:Timestamp>
            <saml:Assertion IssueInstant="2014-01-24T11:46:32Z" Version="2.0" id="IDCard">
				...
				...
            </saml:Assertion>
         </wsse:Security>
         <medcom:Header>
			...
			...
         </medcom:Header>
      </soapenv:Header>
      <soapenv:Body>
         <ns3:PersonLookupRequest xmlns:ns3="http://nsi.dk/2011/09/23/StamdataCpr/" xmlns:ns2="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/">
            <NamePersonQuery>
               <ns2:PersonGivenName>Lene</ns2:PersonGivenName>
               <ns2:PersonMiddleName>Sørensen</ns2:PersonMiddleName>
               <ns2:PersonSurnameName>Bach</ns2:PersonSurnameName>
            </NamePersonQuery>
         </ns3:PersonLookupRequest>
      </soapenv:Body>
   </soapenv:Envelope>

 

Svaret fra dette kald er følgende:

 

Code Block
languagexml
   <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
      <S:Header>
         <ns21:Security xmlns:ns2="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns3="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns5="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns6="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns7="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns8="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns9="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns12="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns13="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns14="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns15="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/" xmlns:ns16="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns17="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns18="http://www.w3.org/2000/09/xmldsig#" xmlns:ns19="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns20="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns21="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns22="http://nsi.dk/2011/09/23/StamdataCpr/">
            <ns20:Timestamp>
               <ns20:Created>2014-01-24T11:51:34Z</ns20:Created>
            </ns20:Timestamp>
         </ns21:Security>
         <ns19:Header xmlns:ns2="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns3="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns5="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns6="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns7="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns8="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns9="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns12="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns13="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns14="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns15="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/" xmlns:ns16="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns17="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns18="http://www.w3.org/2000/09/xmldsig#" xmlns:ns19="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns20="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns21="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns22="http://nsi.dk/2011/09/23/StamdataCpr/">
            <ns19:Linking>
               <ns19:MessageID>1d868422-7b41-4acd-8bb5-203f9c3ced8d</ns19:MessageID>
               <ns19:InResponseToMessageID>AAABQ8QXPEq9nnKDLSJeLVNPU0k=</ns19:InResponseToMessageID>
            </ns19:Linking>
            <ns19:FlowStatus>flow_finalized_succesfully</ns19:FlowStatus>
         </ns19:Header>
      </S:Header>
      <S:Body>
         <ns22:PersonLookupResponse xmlns:ns2="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/11/24/" xmlns:ns3="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/01/17/" xmlns:ns4="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:ns5="http://rep.oio.dk/itst.dk/xml/schemas/2006/01/17/" xmlns:ns6="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/" xmlns:ns7="http://rep.oio.dk/itst.dk/xml/schemas/2005/02/22/" xmlns:ns8="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/" xmlns:ns9="http://rep.oio.dk/medcom.sundcom.dk/xml/schemas/2007/02/01/" xmlns:ns10="http://rep.oio.dk/itst.dk/xml/schemas/2005/06/24/" xmlns:ns11="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/15/" xmlns:ns12="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/05/13/" xmlns:ns13="http://rep.oio.dk/xkom.dk/xml/schemas/2006/01/06/" xmlns:ns14="http://rep.oio.dk/cpr.dk/xml/schemas/core/2006/09/01/" xmlns:ns15="http://rep.oio.dk/ois.dk/xml/schemas/2006/04/25/" xmlns:ns16="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/09/01/" xmlns:ns17="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns18="http://www.w3.org/2000/09/xmldsig#" xmlns:ns19="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns20="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns21="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns22="http://nsi.dk/2011/09/23/StamdataCpr/">
            <ns9:PersonInformationStructure>
               <ns9:CurrentPersonCivilRegistrationIdentifier>0302482764</ns9:CurrentPersonCivilRegistrationIdentifier>
               <ns3:RegularCPRPerson>
                  <ns3:SimpleCPRPerson>
                     <ns5:PersonNameStructure>
                        <ns4:PersonGivenName>Lene</ns4:PersonGivenName>
                        <ns4:PersonMiddleName>Sørensen</ns4:PersonMiddleName>
                        <ns4:PersonSurnameName>Bach</ns4:PersonSurnameName>
                     </ns5:PersonNameStructure>
                     <ns6:PersonCivilRegistrationIdentifier>0302482764</ns6:PersonCivilRegistrationIdentifier>
                  </ns3:SimpleCPRPerson>
                  <ns7:PersonNameForAddressingName>Lene Bach</ns7:PersonNameForAddressingName>
                  <ns4:PersonGenderCode>female</ns4:PersonGenderCode>
                  <ns2:PersonInformationProtectionIndicator>false</ns2:PersonInformationProtectionIndicator>
                  <ns2:PersonBirthDateStructure>
                     <ns8:BirthDate>1948-02-03+01:00</ns8:BirthDate>
                     <ns2:BirthDateUncertaintyIndicator>false</ns2:BirthDateUncertaintyIndicator>
                  </ns2:PersonBirthDateStructure>
                  <ns3:PersonCivilRegistrationStatusStructure>
                     <ns2:PersonCivilRegistrationStatusCode>1</ns2:PersonCivilRegistrationStatusCode>
                     <ns3:PersonCivilRegistrationStatusStartDate>2014-01-24+01:00</ns3:PersonCivilRegistrationStatusStartDate>
                  </ns3:PersonCivilRegistrationStatusStructure>
               </ns3:RegularCPRPerson>
               <ns9:PersonAddressStructure>
                  <ns13:AddressComplete>
                     <ns11:AddressAccess>
                        <ns6:MunicipalityCode>0000</ns6:MunicipalityCode>
                        <ns6:StreetCode>0001</ns6:StreetCode>
                        <ns4:StreetBuildingIdentifier>36</ns4:StreetBuildingIdentifier>
                     </ns11:AddressAccess>
                     <ns13:AddressPostal>
                        <ns8:StreetName>Hasselvej</ns8:StreetName>
                        <ns6:StreetNameForAddressingName>Hasselvej</ns6:StreetNameForAddressingName>
                        <ns4:StreetBuildingIdentifier>36</ns4:StreetBuildingIdentifier>
                        <ns4:FloorIdentifier>1</ns4:FloorIdentifier>
                        <ns4:SuiteIdentifier>tv</ns4:SuiteIdentifier>
                        <ns8:PostCodeIdentifier>1201</ns8:PostCodeIdentifier>
                        <ns8:DistrictName>København K</ns8:DistrictName>
                     </ns13:AddressPostal>
                  </ns13:AddressComplete>
                  <ns15:CountyCode>0000</ns15:CountyCode>
               </ns9:PersonAddressStructure>
            </ns9:PersonInformationStructure>
            <ns9:PersonInformationStructure>
               <ns9:CurrentPersonCivilRegistrationIdentifier>0710376190</ns9:CurrentPersonCivilRegistrationIdentifier>
				...
				...
            </ns9:PersonInformationStructure>
            <ns9:PersonInformationStructure>
               <ns9:CurrentPersonCivilRegistrationIdentifier>1009944504</ns9:CurrentPersonCivilRegistrationIdentifier>
				...
				...
            </ns9:PersonInformationStructure>
            <ns9:PersonInformationStructure>
               <ns9:CurrentPersonCivilRegistrationIdentifier>1312159240</ns9:CurrentPersonCivilRegistrationIdentifier>
				...
				...
            </ns9:PersonInformationStructure>
            <ns9:PersonInformationStructure>
               <ns9:CurrentPersonCivilRegistrationIdentifier>1803106904</ns9:CurrentPersonCivilRegistrationIdentifier>
				...
				...
            </ns9:PersonInformationStructure>
            <ns9:PersonInformationStructure>
               <ns9:CurrentPersonCivilRegistrationIdentifier>1812208566</ns9:CurrentPersonCivilRegistrationIdentifier>
				...
				...
            </ns9:PersonInformationStructure>
            <ns9:PersonInformationStructure>
               <ns9:CurrentPersonCivilRegistrationIdentifier>3007980492</ns9:CurrentPersonCivilRegistrationIdentifier>
				...
				...
            </ns9:PersonInformationStructure>
            <ns9:PersonInformationStructure>
               <ns9:CurrentPersonCivilRegistrationIdentifier>3011810216</ns9:CurrentPersonCivilRegistrationIdentifier>
				...
				...
            </ns9:PersonInformationStructure>
            <ns9:PersonInformationStructure>
               <ns9:CurrentPersonCivilRegistrationIdentifier>3110766466</ns9:CurrentPersonCivilRegistrationIdentifier>
				...
				...
            </ns9:PersonInformationStructure>
         </ns22:PersonLookupResponse>
      </S:Body>
   </S:Envelope>

 

Eksempelkode

Tilhørende eksempelkode kan findes på http://svn.nspop.dk/public/guides/latest, specielt under modulet sces.