1. Introduktion

1.1. Formål

Dette dokument er en vejledning til anvendelse af Synkroniseringsservice til Fælles Stamkort (SFKS).

På baggrund af dokumentet er det muligt at lave en teknisk implementation af de brugerhistorier der er beskrevet i SFSK - Brugerhistorier.

Formålet med dette dokument er at vejlede udviklere, der skal udvikle eller vedligeholde systemer, som anvender SFSK snitflader.

1.2. Læsevejledning

Dette dokument er rettet mod udviklere, der skal udvikle eller teste services, der har grænseflader mod SFSK.

Læseren forudsættes at være bekendt med de involverede teknologier, som f.eks. SOAP og DGWS. Derudover forudsættes, at læseren er bekendt med IHE XDS (herunder ITI-XX services).

1.3. Referencer

DGWSDen Gode Webservice
IHE XDSCross Enterprise Document Sharing (IHE)Cross-Enterprise Document Sharing

2. Introduktion til SFSK

SFSK er en service på NSP, der udstiller snitflader til fremsøgning og hentning af stamkortdokumenter og -metadata i den nationale XDS infrastruktur.

De enkelte brugerhistorier er beskrevet i dokumentet SFSK - Brugerhistorier og giver et overblik over SFSK set fra anvendersystemerne.

I dette dokument er der en oversigt over snitfladebeskrivelser for SFSK.

Efterfølgende gennemgås de brugerhistorier, der er beskrevet i SFSK - Brugerhistorier og der gives en oversigt over, hvordan de enkelte brugerhistorier kan realiseres: Dvs. hvilke snitflader i SFSK er i spil samt eksempler på requests og responses.

3. Snitfladebeskrivelser og endpoints

SFSK udstiller to services til fremsøgning og hentning af stamkortdokumenter og disses metadata. SFSK snitfladerne tager udgangspunkt i de standardsnitflader, der er beskrevet som en del af IHE XDS.

Hver af SFSK services udstiller 2 WSDL filer.

  1. En standard ITI WSDL: Denne WSDL beskriver den standardiserede snitflade som er defineret som en del af IHE XDS stanadarden
  2. En DGWS WSDL: Denne WSDL er tilpasset således, at kravene i forhold til DGWS fremgår af WSDL file
ITI-18: Registry Stored Queryhttp://<NSP miljø>/sfsk/iti18http://<NSP miljø>/sfsk/iti18?wsdlhttp://<NSP miljø>/sfsk/dgws-wsdl/iti18.wsdl
ITI-43: Retrieve Document Sethttp://<NSP miljø>/sfsk/iti43http://<NSP miljø>/sfsk/iti43?wsdlhttp://<NSP miljø>/sfsk/dgws-wsdl/iti43.wsdl

Yderligere er SFSK tilgængelig via DCC'en på de pågældende SOAPActions - dette er konfigureret med en særskilt serviceidentifier, da DCC'en ellers ville viderestille kaldene til dokumentdelingsservicen.

ITI-snitfladeSOAPActionDecoupling-url (test1)ServiceIdentifier
ITI18

urn:ihe:iti:2007:RegistryStoredQuery

http://test1.ekstern-test.nspop.dk:8080/decoupling/nspservices/sfskreg

/nspservices/sfskreg

ITI43

urn:ihe:iti:2007:RetrieveDocumentSet

http://test1.ekstern-test.nspop.dk:8080/decoupling/nspservices/sfskrep

/nspservices/sfskrep

4. Understøttelse af udvikling for anvendere

Det er op til anvenderen selv at vælge platform og frameworks, der passer til resten af dennes løsning. Der er dog et eksempel på "anvenderkode", der eventuelt kan bruges som inspiration, hvis anvenderen laver en Java-baseret løsning.

Eksempelkoden er tilgængelig her: https://svn.nspop.dk/svn/test/drs/


4.1.1. Asynkron hentning af stamkort

Dette er en beskrivelse af en implementationsdetalje til brugerhistorien "Hent stamkort".

Det er muligt at implementere asynkron hentning af stamkort, ved kun at hente stamkort når der er en ændring i det. Dette gøres ved at subscribe på følgende topics i NAS, som adviserer om ændringerne:

http://sundhedsdatastyrelsen.dk/ConsentAdministration/2021/03/01:ConsentUpdated

http://sundhedsdatastyrelsen.dk/LivingWill/2022/05/05:LivingWillUpdated

http://sundhedsdatastyrelsen.dk/OrganDonation/2022/05/05:OrganDonationUpdated

http://sundhedsdatastyrelsen.dk/PersonalDataCard/2020/11/01:DataCardUpdated

http://sundhedsdatastyrelsen.dk/TreatmentWill/2022/05/05:TreatmentWillUpdated

http://sundhedsdatastyrelsen.dk/NoResuscitation/2023/06/01:NoResuscitationUpdated

5. Understøttelse af Brugerhistorier

Med udgangspunkt i brugerhistorierne i SFSK - Brugerhistorier beskrives i det følgende, hvorledes de enkelte snitflader skal anvendes til at understøtte disse.

Alle brugerhistorier indeholder eksempler på succesfulde requests og responses.

Anvendelsen af SFSK består som i andre IHE XDS baserede systemer i to interaktioner:

  • Fremsøgning af metadata om en borgers stamkort: ITI-18 Registry Stored Query anvendes til at fremsøge metadata (herunder dokument-id'er) for en borgers stamkort dokumenter.
  • Hentning af stamkort dokumenter: ITI-43 Retrieve Document Set anvendes til at hente konkrete stamkort dokumenter udfra disses dokument-id'er.

Disse interaktioner beskrives i brugerhistorierne Brugerhistorie: Fremsøg stamkort og Brugerhistorie: Hent stamkort.

Begge servicekald kræver, at anvenderen autentificerer sig med et gyldigt system idkort. SFSK tillader ikke kald med bruger idkort.

Derudover skal det anvendte (FOCES/VOCES) certifikat være whitelistet til kald til SFSK. Anvendere, der ønsker at kalde SFSK, skal whitelistes. Dette gøres ved at oprette en supportsag via https://www.nspop.dk/category/sup - husk at vedhæfte den offentlige del af det certifikat, der skal anvendes eller angiv subjectserialnumber i sagen.

Fejl i autentificeringen (herunder whitelisting) rapporteres tilbage til brugeren som en SOAP Fault.

5.1. Understøttelse af brugerhistorien: Fremsøg stamkort

Til fremsøgning af en borgers stamkort anvendes snitfladen ITI-18 Registry Stored Query.

Nedenfor vises et eksempel på et succesfuldt request og det tilhørende response.

Request til ITI-18 Registry Stored Query
ID: 1
Address: http://localhost:8060/sfsk/iti18
Encoding: UTF-8
Http-Method: POST
Content-Type: application/soap+xml
Headers: {Accept=[*/*]}
Payload: 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/Asynkron hentning af stamkort

Det er muligt at implementere asynkron hentning af stamkort, ved kun at hente stamkort når der er en ændring i det. Dette gøres ved at subscribe på følgende topics i NAS, som adviserer om ændringerne:

http://sundhedsdatastyrelsen.dk/ConsentAdministration/2021/03/01:ConsentUpdated

http://sundhedsdatastyrelsen.dk/LivingWill/2022/05/05:LivingWillUpdated

http://sundhedsdatastyrelsen.dk/OrganDonation/2022/05/05:OrganDonationUpdated

http://sundhedsdatastyrelsen.dk/PersonalDataCard/2020/11/01:DataCardUpdated

http://sundhedsdatastyrelsen.dk/TreatmentWill/2022/05/05:TreatmentWillUpdated

http://sundhedsdatastyrelsen.dk/NoResuscitation/2023/06/01:NoResuscitationUpdatedoasis-200401-wss-wssecurity-secext-1.0.xsd">
      <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
        <wsu:Created>2021-06-29T06:30:57Z</wsu:Created>
      </wsu:Timestamp>
      <saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" IssueInstant="2021-06-29T06:25:57Z" Version="2.0" id="IDCard">
        <saml:Issuer>TEST2-NSP-STS</saml:Issuer>
        <saml:Subject>
          <saml:NameID Format="medcom:other">SubjectDN={SERIALNUMBER=CVR:46837428-UID:27910135 + CN=Statens Serum Institut - Test VOCES, O=Statens Serum Institut // CVR:46837428, C=DK},IssuerDN={CN=TRUST2408 Systemtest XXII CA, O=TRUST2408, C=DK},CertSerial={1495058165}</saml:NameID>
          <saml:SubjectConfirmation>
            <saml:ConfirmationMethod>urn:oasis:names:tc:SAML:2.0:cm:holder-of-key</saml:ConfirmationMethod>
            <saml:SubjectConfirmationData>
              <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
                <ds:KeyName>OCESSignature</ds:KeyName>
              </ds:KeyInfo>
            </saml:SubjectConfirmationData>
          </saml:SubjectConfirmation>
        </saml:Subject>
        <saml:Conditions NotBefore="2021-06-29T06:25:57Z" NotOnOrAfter="2021-06-30T06:25:57Z"/>
        <saml:AttributeStatement id="IDCardData">
          <saml:Attribute Name="sosi:IDCardID">
            <saml:AttributeValue>t9eKkssIKrREqCxShV729w==</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="sosi:IDCardVersion">
            <saml:AttributeValue>1.0.1</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="sosi:IDCardType">
            <saml:AttributeValue>system</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="sosi:AuthenticationLevel">
            <saml:AttributeValue>3</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="sosi:OCESCertHash">
            <saml:AttributeValue>xe/OtYMBaE1RFJ7l9lN2zAuiXAU=</saml:AttributeValue>
          </saml:Attribute>
        </saml:AttributeStatement>
        <saml:AttributeStatement id="SystemLog">
          <saml:Attribute Name="medcom:ITSystemName">
            <saml:AttributeValue>SFSK</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="medcom:CareProviderID" NameFormat="medcom:cvrnumber">
            <saml:AttributeValue>46837428</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="medcom:CareProviderName">
            <saml:AttributeValue>Statens Serum Institut</saml:AttributeValue>
          </saml:Attribute>
        </saml:AttributeStatement>
        <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" id="OCESSignature">
          <ds:SignedInfo>
            <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
            <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
            <ds:Reference URI="#IDCard">
              <ds:Transforms>
                <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
                <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
              </ds:Transforms>
              <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
              <ds:DigestValue>FWHQCXJv1DPXZ6VIn6lZ2FfMpOI=</ds:DigestValue>
            </ds:Reference>
          </ds:SignedInfo>
          <ds:SignatureValue>oSWAQuB3zjqzLLOwB6lEiY2JPLcjhgV3b6v/NphEz1H6helxQSze/NehoIadxSSu3YG5KsAtiry3AaPgULcIpUQ17r8xxzHjoFUpYIq/mFgPR4pH6vACEFFtpFvwUuboqMLoVETGAj56Q0vjZa7QDvcb6F0pnGSz+bWViCxlLXJxJXYvlhyZs3zx0vngpc44IzrDLC8iQfQ0juqi2NJjYJi4tWis75DmA7FR8th2zCNjMayCGJzqTaV9FfRGSfh/I/5a/DB8WESRtSIJzTgPQTc6ZvWxNzTe7NrgJCllxaAhGDtMZ345kokJHibtIEbtRdZ65jKtb9bKTTTF9zwAKA==</ds:SignatureValue>
          <ds:KeyInfo>
            <ds:X509Data>
              <ds:X509Certificate>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</ds:X509Certificate>
            </ds:X509Data>
          </ds:KeyInfo>
        </ds:Signature>
      </saml:Assertion>
    </wsse:Security>
    <medcom:Header xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd">
      <medcom:SecurityLevel>3</medcom:SecurityLevel>
      <medcom:Linking>
        <medcom:MessageID>AAABelZ2sZtjsFlZV2aLmlNPU0k=</medcom:MessageID>
      </medcom:Linking>
      <medcom:RequireNonRepudiationReceipt>no</medcom:RequireNonRepudiationReceipt>
    </medcom:Header>
    <Action xmlns="http://www.w3.org/2005/08/addressing" soap:mustUnderstand="1">urn:ihe:iti:2007:RegistryStoredQuery</Action>
    <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:6c00c46d-eac1-4a2f-bbf3-2ed23972bc31</MessageID>
    <To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:8060/sfsk/iti18</To>
    <ReplyTo xmlns="http://www.w3.org/2005/08/addressing" soap:mustUnderstand="1">
      <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
    </ReplyTo>
  </soap:Header>
  <soap:Body>
    <ns4:AdhocQueryRequest xmlns:ns6="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:ns5="urn:ihe:iti:xds-b:2007" xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
      <ns4:ResponseOption returnType="LeafClass" returnComposedObjects="true"/>
      <ns2:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d">
        <ns2:Slot name="$XDSDocumentEntryPatientId">
          <ns2:ValueList>
            <ns2:Value>'2222222222^^^&1.2.208.176.1.2&ISO'</ns2:Value>
          </ns2:ValueList>
        </ns2:Slot>
        <ns2:Slot name="$XDSDocumentEntryType">
          <ns2:ValueList>
            <ns2:Value>('urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248')</ns2:Value>
            <ns2:Value>('urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1')</ns2:Value>
          </ns2:ValueList>
        </ns2:Slot>
        <ns2:Slot name="$XDSDocumentEntryStatus">
          <ns2:ValueList>
            <ns2:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</ns2:Value>
          </ns2:ValueList>
        </ns2:Slot>
	    <ns2:Slot name="$XDSDocumentEntryFormatCode">
          <ns2:ValueList>
            <ns2:Value>('urn:ad:dk:medcom:pdc-v3.0:full')</ns2:Value>
          </ns2:ValueList>
        </ns2:Slot>
      </ns2:AdhocQuery>
    </ns4:AdhocQueryRequest>
  </soap:Body>
</soap:Envelope>

Linjerne 9-91 indeholder DGWS relaterede informationer i kaldet.

Selve søgeparametrene til stamkortfremsøgningen ses i strukturen AdhocQueryRequest. Det er obligatorisk at angive borgeren CPR nummer i søgningen (se parameteren '$XDSDocumentEntryPatientId').

Da stamkort i den nationale infrastruktur er CDA dokumenter af typen on-demand er det obligatorisk, at angive, at man søger efter disse (i eksemplet er det søgeparameterværdien 'urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248' under '$XDSDocumentEntryType'. Man kan ydermere (hvilket er valgfrigt) styre hvilken CDA-version af stamkortet man får, ved at angive det i "$XDSDocumentEntryFormatCode" som det ses i eksemplet (her "pdc-v3.0").

Et succesfuldt kald til SFSK returnere metadata for den specificerede borgers stamkort dokumenter. Følgende response er et eksempel på dette:

Successfuldt response til ITI-18 Registry Stored Query
ID: 1
Response-Code: 200
Encoding: UTF-8
Content-Type: text/xml;charset=UTF-8
Headers: {connection=[keep-alive], content-type=[text/xml;charset=UTF-8], Date=[Tue, 29 Jun 2021 06:30:59 GMT], transfer-encoding=[chunked]}
Payload: 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:RegistryStoredQueryResponse</Action>
    <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:5cdd0b7f-a3ff-4809-b578-b9db88dbaf45</MessageID>
    <To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To>
    <RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:6c00c46d-eac1-4a2f-bbf3-2ed23972bc31</RelatesTo>
  </soap:Header>
  <soap:Body>
    <ns4:AdhocQueryResponse xmlns:ns6="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:ns5="urn:ihe:iti:xds-b:2007" xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success">
      <ns2:RegistryObjectList>
        <ns2:ExtrinsicObject mimeType="text/xml" objectType="urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248" status="urn:oasis:names:tc:ebxml-regrep:StatusType:Approved" id="1.2.208.176.43210.8.10.12^3ae0c14f-723f-422c-9f19-711681ccb461" home="1.2.208.176.8.1.12">
          <ns2:Slot name="creationTime">
            <ns2:ValueList>
              <ns2:Value>20210629063058</ns2:Value>
            </ns2:ValueList>
          </ns2:Slot>
          <ns2:Slot name="languageCode">
            <ns2:ValueList>
              <ns2:Value>da-DK</ns2:Value>
            </ns2:ValueList>
          </ns2:Slot>
          <ns2:Slot name="repositoryUniqueId">
            <ns2:ValueList>
              <ns2:Value>1.2.208.176.43210.8.10.12</ns2:Value>
            </ns2:ValueList>
          </ns2:Slot>
          <ns2:Slot name="sourcePatientId">
            <ns2:ValueList>
              <ns2:Value>2222222222^^^&1.2.208.176.1.2&ISO</ns2:Value>
            </ns2:ValueList>
          </ns2:Slot>
          <ns2:Name>
            <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="Fælles stamkort"/>
          </ns2:Name>
          <ns2:Classification classificationScheme="urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d" classifiedObject="1.2.208.176.43210.8.10.12^3ae0c14f-723f-422c-9f19-711681ccb461" nodeRepresentation="" id="urn:uuid:e4f0a11e-0b1a-4ec7-9043-0eb2a41b0af9">
            <ns2:Slot name="authorInstitution">
              <ns2:ValueList>
                <ns2:Value>Fælles Stamkort udstedelse^^^^^&1.2.208.176.1.1&ISO^^^^1126211000016009</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
          </ns2:Classification>
          <ns2:Classification classificationScheme="urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a" classifiedObject="1.2.208.176.43210.8.10.12^3ae0c14f-723f-422c-9f19-711681ccb461" nodeRepresentation="001" id="urn:uuid:568be6ea-6238-4c1e-a9fe-1f88ef9adb5c">
            <ns2:Slot name="codingScheme">
              <ns2:ValueList>
                <ns2:Value>1.2.208.184.100.9</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Name>
              <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="Klinisk rapport"/>
            </ns2:Name>
          </ns2:Classification>
          <ns2:Classification classificationScheme="urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d" classifiedObject="1.2.208.176.43210.8.10.12^3ae0c14f-723f-422c-9f19-711681ccb461" nodeRepresentation="DK FSK Schema" id="urn:uuid:6507487d-4d9f-4a5d-8de6-2094d3f55b5b">
            <ns2:Slot name="codingScheme">
              <ns2:ValueList>
                <ns2:Value>urn:ad:dk:medcom:fsk:full</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Name>
              <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="DK FSK Schema "/>
            </ns2:Name>
          </ns2:Classification>
          <ns2:Classification classificationScheme="urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1" classifiedObject="1.2.208.176.43210.8.10.12^3ae0c14f-723f-422c-9f19-711681ccb461" nodeRepresentation="554041000005106" id="urn:uuid:98695b8d-f0a9-41a9-ab6a-8ef6954030ea">
            <ns2:Slot name="codingScheme">
              <ns2:ValueList>
                <ns2:Value>2.16.840.1.113883.6.96</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Name>
              <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="sundhedsforvaltning"/>
            </ns2:Name>
          </ns2:Classification>
          <ns2:Classification classificationScheme="urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead" classifiedObject="1.2.208.176.43210.8.10.12^3ae0c14f-723f-422c-9f19-711681ccb461" nodeRepresentation="408443003" id="urn:uuid:3cdd8faf-79b3-41a7-9515-c525b0244dde">
            <ns2:Slot name="codingScheme">
              <ns2:ValueList>
                <ns2:Value>2.16.840.1.113883.6.96</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Name>
              <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="almen medicin"/>
            </ns2:Name>
          </ns2:Classification>
          <ns2:Classification classificationScheme="urn:uuid:f0306f51-975f-434e-a61c-c59651d33983" classifiedObject="1.2.208.176.43210.8.10.12^3ae0c14f-723f-422c-9f19-711681ccb461" nodeRepresentation="52460-3" id="urn:uuid:8f22989c-c73a-4786-a545-787fe2297be2">
            <ns2:Slot name="codingScheme">
              <ns2:ValueList>
                <ns2:Value>2.16.840.1.113883.6.1</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Name>
              <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="Patient Information"/>
            </ns2:Name>
          </ns2:Classification>
          <ns2:Classification classificationScheme="urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f" classifiedObject="1.2.208.176.43210.8.10.12^3ae0c14f-723f-422c-9f19-711681ccb461" nodeRepresentation="N" id="urn:uuid:8bcf3546-e748-430c-9be2-ecef8093f5e5">
            <ns2:Slot name="codingScheme">
              <ns2:ValueList>
                <ns2:Value>2.16.840.1.113883.5.25</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Name>
              <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="normal"/>
            </ns2:Name>
          </ns2:Classification>
          <ns2:ExternalIdentifier registryObject="1.2.208.176.43210.8.10.12^3ae0c14f-723f-422c-9f19-711681ccb461" identificationScheme="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427" value="2222222222^^^&1.2.208.176.1.2&ISO" id="urn:uuid:7205621f-ae21-4545-83c7-e8018cf700c8">
            <ns2:Name>
              <ns2:LocalizedString value="XDSDocumentEntry.patientId"/>
            </ns2:Name>
          </ns2:ExternalIdentifier>
          <ns2:ExternalIdentifier registryObject="1.2.208.176.43210.8.10.12^3ae0c14f-723f-422c-9f19-711681ccb461" identificationScheme="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab" value="1.2.208.176.43210.8.10.12^3ae0c14f-723f-422c-9f19-711681ccb461" id="urn:uuid:5579af5e-9bdd-4a89-b1f5-6fe3b5e67157">
            <ns2:Name>
              <ns2:LocalizedString value="XDSDocumentEntry.uniqueId"/>
            </ns2:Name>
          </ns2:ExternalIdentifier>
        </ns2:ExtrinsicObject>
        <ns2:ExtrinsicObject mimeType="text/xml" objectType="urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248" status="urn:oasis:names:tc:ebxml-regrep:StatusType:Approved" id="1.2.208.176.43210.8.10.12^124661e5-04a1-478b-b2d9-640cf8360044" home="1.2.208.176.8.1.12">
          <ns2:Slot name="creationTime">
            <ns2:ValueList>
              <ns2:Value>20210629063058</ns2:Value>
            </ns2:ValueList>
          </ns2:Slot>
          <ns2:Slot name="languageCode">
            <ns2:ValueList>
              <ns2:Value>da-DK</ns2:Value>
            </ns2:ValueList>
          </ns2:Slot>
          <ns2:Slot name="repositoryUniqueId">
            <ns2:ValueList>
              <ns2:Value>1.2.208.176.43210.8.10.12</ns2:Value>
            </ns2:ValueList>
          </ns2:Slot>
          <ns2:Slot name="sourcePatientId">
            <ns2:ValueList>
              <ns2:Value>2222222222^^^&1.2.208.176.1.2&ISO</ns2:Value>
            </ns2:ValueList>
          </ns2:Slot>
          <ns2:Name>
            <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="Fælles stamkort"/>
          </ns2:Name>
          <ns2:Classification classificationScheme="urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d" classifiedObject="1.2.208.176.43210.8.10.12^124661e5-04a1-478b-b2d9-640cf8360044" nodeRepresentation="" id="urn:uuid:8611b3a9-a767-44ab-92dd-bffdefdca564">
            <ns2:Slot name="authorInstitution">
              <ns2:ValueList>
                <ns2:Value>Fælles Stamkort udstedelse^^^^^&1.2.208.176.1.1&ISO^^^^1126211000016009</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
          </ns2:Classification>
          <ns2:Classification classificationScheme="urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a" classifiedObject="1.2.208.176.43210.8.10.12^124661e5-04a1-478b-b2d9-640cf8360044" nodeRepresentation="001" id="urn:uuid:8b67085f-db9f-4dd9-a1d5-fe5fa08ab8ae">
            <ns2:Slot name="codingScheme">
              <ns2:ValueList>
                <ns2:Value>1.2.208.184.100.9</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Name>
              <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="Klinisk rapport"/>
            </ns2:Name>
          </ns2:Classification>
          <ns2:Classification classificationScheme="urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d" classifiedObject="1.2.208.176.43210.8.10.12^124661e5-04a1-478b-b2d9-640cf8360044" nodeRepresentation="urn:ad:dk:medcom:pdc-v2.0:full" id="urn:uuid:769e3e39-3356-4c0c-9c08-fde1a5de7899">
            <ns2:Slot name="codingScheme">
              <ns2:ValueList>
                <ns2:Value>1.2.208.184.100.10</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Name>
              <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="DK PDC schema"/>
            </ns2:Name>
          </ns2:Classification>
          <ns2:Classification classificationScheme="urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1" classifiedObject="1.2.208.176.43210.8.10.12^124661e5-04a1-478b-b2d9-640cf8360044" nodeRepresentation="554041000005106" id="urn:uuid:ab499406-e130-4a50-9879-907156506a1a">
            <ns2:Slot name="codingScheme">
              <ns2:ValueList>
                <ns2:Value>2.16.840.1.113883.6.96</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Name>
              <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="sundhedsforvaltning"/>
            </ns2:Name>
          </ns2:Classification>
          <ns2:Classification classificationScheme="urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead" classifiedObject="1.2.208.176.43210.8.10.12^124661e5-04a1-478b-b2d9-640cf8360044" nodeRepresentation="408443003" id="urn:uuid:67e53353-20d2-4143-b7d3-06b5b36873eb">
            <ns2:Slot name="codingScheme">
              <ns2:ValueList>
                <ns2:Value>2.16.840.1.113883.6.96</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Name>
              <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="almen medicin"/>
            </ns2:Name>
          </ns2:Classification>
          <ns2:Classification classificationScheme="urn:uuid:f0306f51-975f-434e-a61c-c59651d33983" classifiedObject="1.2.208.176.43210.8.10.12^124661e5-04a1-478b-b2d9-640cf8360044" nodeRepresentation="PDC" id="urn:uuid:59f4bbe4-c380-45b3-8627-a29950b6ef6a">
            <ns2:Slot name="codingScheme">
              <ns2:ValueList>
                <ns2:Value>1.2.208.184.100.1</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Name>
              <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="Stamkort"/>
            </ns2:Name>
          </ns2:Classification>
          <ns2:Classification classificationScheme="urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f" classifiedObject="1.2.208.176.43210.8.10.12^124661e5-04a1-478b-b2d9-640cf8360044" nodeRepresentation="N" id="urn:uuid:67539bf1-494b-489e-8eb5-e25a7992c0dd">
            <ns2:Slot name="codingScheme">
              <ns2:ValueList>
                <ns2:Value>2.16.840.1.113883.5.25</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Name>
              <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="normal"/>
            </ns2:Name>
          </ns2:Classification>
          <ns2:ExternalIdentifier registryObject="1.2.208.176.43210.8.10.12^124661e5-04a1-478b-b2d9-640cf8360044" identificationScheme="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427" value="2222222222^^^&1.2.208.176.1.2&ISO" id="urn:uuid:5b8f2683-7989-48dc-8864-fc90ac02b339">
            <ns2:Name>
              <ns2:LocalizedString value="XDSDocumentEntry.patientId"/>
            </ns2:Name>
          </ns2:ExternalIdentifier>
          <ns2:ExternalIdentifier registryObject="1.2.208.176.43210.8.10.12^124661e5-04a1-478b-b2d9-640cf8360044" identificationScheme="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab" value="1.2.208.176.43210.8.10.12^124661e5-04a1-478b-b2d9-640cf8360044" id="urn:uuid:e67c2206-c1a2-4368-9fe0-f5a4950c3b04">
            <ns2:Name>
              <ns2:LocalizedString value="XDSDocumentEntry.uniqueId"/>
            </ns2:Name>
          </ns2:ExternalIdentifier>
        </ns2:ExtrinsicObject>
      </ns2:RegistryObjectList>
    </ns4:AdhocQueryResponse>
  </soap:Body>
</soap:Envelope>

Som en del af response kan findes dokument-id'erne for borgerens stamkortdokumenter. Disse kan anvendes i understøttelsen af brugerhistorien Hent Stamkort (se nedenfor).

SFSK respekterer eventuelle dataspecifikke spærringer, som en given borger måtte have angivet i MinSpærring. Hvis borgeren har opsat spærringer mod udlevering af stamkort, så vil response fra SFSK angive dette. Følgende eksempel er et eksempel på et response, hvor borgerens stamkort er spærret.

ITI-18 Registry Stored Query Response ved spærringer
ID: 5
Response-Code: 200
Encoding: UTF-8
Content-Type: text/xml;charset=UTF-8
Headers: {connection=[keep-alive], content-type=[text/xml;charset=UTF-8], Date=[Tue, 29 Jun 2021 06:43:07 GMT], transfer-encoding=[chunked]}
Payload: 
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:RegistryStoredQueryResponse</Action>
    <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:ca5dcbdd-7e89-467c-9d66-ed6b27fad490</MessageID>
    <To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To>
    <RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:82669efe-6d6e-47d2-aa7b-44fcbfe3f21d</RelatesTo>
  </soap:Header>
  <soap:Body>
    <ns4:AdhocQueryResponse xmlns:ns6="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:ns5="urn:ihe:iti:xds-b:2007" xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" status="urn:ihe:iti:2007:ResponseStatusType:PartialSuccess">
      <ns3:RegistryErrorList>
        <ns3:RegistryError codeContext="urn:dk:nsi:Consent Filter Applied" errorCode="XDSRegistryError" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning" location="ITI-18"/>
      </ns3:RegistryErrorList>
      <ns2:RegistryObjectList/>
    </ns4:AdhocQueryResponse>
  </soap:Body>
</soap:Envelope>

Filtreringen af det returnerede data i forhold til opsætning af spærringer er rapporteret tilbage til anvenderen med statuskoden PartialSuccess samt den konkrete RegistryErrorCode urn:dk:nsi:Consent Filter Applied.

5.2. Understøttelse af brugerhistorien: Hent stamkort

Til hentning af en borgers stamkort anvendes snitfladen ITI-43 Retrieve Document Set.

Nedenfor vises et eksempel på et succesfuldt request og det tilhørende response.

ITI-43 Retrieve Document Set Request
ID: 1
Address: http://localhost:8060/sfsk/iti43
Encoding: UTF-8
Http-Method: POST
Content-Type: multipart/related; type="application/xop+xml"; boundary="uuid:e6be0d75-6720-4eb2-9951-5c7d4b2bd96f"; start="<root.message@cxf.apache.org>"; start-info="application/soap+xml"
Headers: {Accept=[*/*]}
Payload: --uuid:e6be0d75-6720-4eb2-9951-5c7d4b2bd96f
Content-Type: application/xop+xml; charset=UTF-8; type="application/soap+xml"
Content-Transfer-Encoding: binary
Content-ID: <root.message@cxf.apache.org>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
      <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
        <wsu:Created>2021-06-30T06:43:09Z</wsu:Created>
      </wsu:Timestamp>
      <saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" IssueInstant="2021-06-30T06:38:10Z" Version="2.0" id="IDCard">
        <saml:Issuer>TEST2-NSP-STS</saml:Issuer>
        <saml:Subject>
          <saml:NameID Format="medcom:other">SubjectDN={SERIALNUMBER=CVR:33257872-FID:28250866 + CN=SFSK (funktionscertifikat), O=Sundhedsdatastyrelsen // CVR:33257872, C=DK},IssuerDN={CN=TRUST2408 Systemtest XXXIV CA, O=TRUST2408, C=DK},CertSerial={1604117906}</saml:NameID>
          <saml:SubjectConfirmation>
            <saml:ConfirmationMethod>urn:oasis:names:tc:SAML:2.0:cm:holder-of-key</saml:ConfirmationMethod>
            <saml:SubjectConfirmationData>
              <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
                <ds:KeyName>OCESSignature</ds:KeyName>
              </ds:KeyInfo>
            </saml:SubjectConfirmationData>
          </saml:SubjectConfirmation>
        </saml:Subject>
        <saml:Conditions NotBefore="2021-06-30T06:38:10Z" NotOnOrAfter="2021-07-01T06:38:10Z"/>
        <saml:AttributeStatement id="IDCardData">
          <saml:Attribute Name="sosi:IDCardID">
            <saml:AttributeValue>nVs93O6LbB5pJfAd/DjAGQ==</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="sosi:IDCardVersion">
            <saml:AttributeValue>1.0.1</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="sosi:IDCardType">
            <saml:AttributeValue>system</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="sosi:AuthenticationLevel">
            <saml:AttributeValue>3</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="sosi:OCESCertHash">
            <saml:AttributeValue>z4Bfe2KD2hOL3zruk6BMqzUKCAo=</saml:AttributeValue>
          </saml:Attribute>
        </saml:AttributeStatement>
        <saml:AttributeStatement id="SystemLog">
          <saml:Attribute Name="medcom:ITSystemName">
            <saml:AttributeValue>SFSK</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="medcom:CareProviderID" NameFormat="medcom:cvrnumber">
            <saml:AttributeValue>33257872</saml:AttributeValue>
          </saml:Attribute>
          <saml:Attribute Name="medcom:CareProviderName">
            <saml:AttributeValue>Sundhedsdatastyrelsen</saml:AttributeValue>
          </saml:Attribute>
        </saml:AttributeStatement>
        <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" id="OCESSignature">
          <ds:SignedInfo>
            <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
            <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
            <ds:Reference URI="#IDCard">
              <ds:Transforms>
                <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
                <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
              </ds:Transforms>
              <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
              <ds:DigestValue>CamOLuK4Kw8K1L6VfOcW5fpvaz8=</ds:DigestValue>
            </ds:Reference>
          </ds:SignedInfo>
          <ds:SignatureValue>NEfUrz5RbMDAgoP4E+yLeqGXhUFuid3QsiLzBJG36hpctdUusFTff3UuBir89c8QoAc2bAi92jZFIJaW913qqIq/E0KDoY2INyoRY1rqFu2OjX9ufhJKYdd3mkLMKbo9ut71wR+EkNrir/EIiI5jScsLtxjRwvDYuJRLcdLacPpVo8/fOgL0M9yNtw+ozQhmatESu+jHi4HD5WJKarhDvyAoZ/BdTcDXdALbzI7Ca80qlACJppVrnhYHVyl2b4heGtVN/Mk8unLBwcQbSBvX/VSBFZMHaN09tNwx6PAAVAVn64AqbobeKJzh9dEWaD4bzXVXxwqcjhtFhkbhKWMF0A==</ds:SignatureValue>
          <ds:KeyInfo>
            <ds:X509Data>
              <ds:X509Certificate>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</ds:X509Certificate>
            </ds:X509Data>
          </ds:KeyInfo>
        </ds:Signature>
      </saml:Assertion>
    </wsse:Security>
    <medcom:Header xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd">
      <medcom:SecurityLevel>3</medcom:SecurityLevel>
      <medcom:Linking>
        <medcom:MessageID>AAABeluoO+uikQntTF/i61NPU0k=</medcom:MessageID>
      </medcom:Linking>
      <medcom:RequireNonRepudiationReceipt>no</medcom:RequireNonRepudiationReceipt>
    </medcom:Header>
    <Action xmlns="http://www.w3.org/2005/08/addressing" soap:mustUnderstand="1">urn:ihe:iti:2007:RetrieveDocumentSet</Action>
    <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:b7643cd2-253d-483e-89fd-df89348f9309</MessageID>
    <To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:8060/sfsk/iti43</To>
    <ReplyTo xmlns="http://www.w3.org/2005/08/addressing" soap:mustUnderstand="1">
      <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
    </ReplyTo>
  </soap:Header>
  <soap:Body>
    <ns2:RetrieveDocumentSetRequest xmlns:ns6="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:ns5="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:ns2="urn:ihe:iti:xds-b:2007">
      <ns2:DocumentRequest>
        <ns2:RepositoryUniqueId>1.1.1</ns2:RepositoryUniqueId>
        <ns2:DocumentUniqueId>1.2.208.176.43210.8.10.12^91a2307e-f948-4c71-aa69-d72c5e41dac9</ns2:DocumentUniqueId>
      </ns2:DocumentRequest>
    </ns2:RetrieveDocumentSetRequest>
  </soap:Body>
</soap:Envelope>
--uuid:e6be0d75-6720-4eb2-9951-5c7d4b2bd96f--

Kaldet består dels af DGWS headers. Selve parametrene til kaldet findes i tags under RetrieveDocumentSetRequest. Det/de ønskede stamkortdokumenter specificeres med repository og document unique id. Disse informationer kan findes ved først at gennemføre en søgning (se Fremsøg Stamkort).

Responset for eksempelkaldet ser således ud:

ITI-43 Retrieve Document Set Response
ID: 2
Response-Code: 200
Encoding: ISO-8859-1
Content-Type: multipart/related; type="application/xop+xml"; boundary="uuid:94eb682d-cabe-4a86-a584-7aaf0aab50ff"; start="<root.message@cxf.apache.org>"; start-info="text/xml"
Headers: {connection=[keep-alive], content-type=[multipart/related; type="application/xop+xml"; boundary="uuid:94eb682d-cabe-4a86-a584-7aaf0aab50ff"; start="<root.message@cxf.apache.org>"; start-info="text/xml"], Date=[Wed, 30 Jun 2021 06:43:11 GMT], transfer-encoding=[chunked]}
Payload: 
--uuid:94eb682d-cabe-4a86-a584-7aaf0aab50ff
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
Content-Transfer-Encoding: binary
Content-ID: <root.message@cxf.apache.org>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:RetrieveDocumentSetResponse</Action><MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:649e18db-2e8d-472b-a048-030090b3d2c7</MessageID><To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:742f8b42-bb97-4396-9977-22a89295abe9</RelatesTo></soap:Header><soap:Body><ns2:RetrieveDocumentSetResponse xmlns:ns6="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:ns5="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:ns2="urn:ihe:iti:xds-b:2007"><ns4:RegistryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success"/><ns2:DocumentResponse><ns2:RepositoryUniqueId>1.1.1</ns2:RepositoryUniqueId><ns2:DocumentUniqueId>1.2.208.176.43210.8.10.12^e2a35f7d-3cb7-46ad-a825-9242db429a16</ns2:DocumentUniqueId><ns2:mimeType>text/xml</ns2:mimeType><ns2:Document><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:c3e269ed-d298-49dc-9dbb-07d6cbc8365f-6@urn%3Aihe%3Aiti%3Axds-b%3A2007"/></ns2:Document></ns2:DocumentResponse></ns2:RetrieveDocumentSetResponse></soap:Body></soap:Envelope>
--uuid:94eb682d-cabe-4a86-a584-7aaf0aab50ff
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
Content-ID: <c3e269ed-d298-49dc-9dbb-07d6cbc8365f-6@urn:ihe:iti:xds-b:2007>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ClinicalDocument moodCode="EVN" xmlns="urn:hl7-org:v3" xmlns:ns2="urn:hl7-org:sdtc" xmlns:ns3="urn:hl7-org:fsk"><realmCode code="DK"/><typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/><templateId root="1.2.208.184.16.1"/><id root="1.2.208.184" extension="36ccf101-312f-493e-a599-4814c6ef3d5a" assigningAuthorityName="MedCom"/><code code="PDC" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Stamkort"/><title>Personal Data Card for 2010934896</title><effectiveTime value="20210630084311+0200"/><confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/><languageCode code="da-DK"/><recordTarget typeCode="RCT" contextControlCode="OP"><patientRole classCode="PAT"><id root="1.2.208.176.1.2" extension="2010934896" assigningAuthorityName="CPR"/><addr use="CONF"><streetAddressLine>ADRESSEBESKYTTET</streetAddressLine><postalCode>0000</postalCode><city>ADRESSEBESKYTTET</city></addr><patient classCode="PSN"><name><given>ADRESSEBESKYTTET</given><family>ADRESSEBESKYTTET</family></name><administrativeGenderCode code="F" codeSystem="2.16.840.1.113883.5.1"/><birthTime value="19700101"/></patient><providerOrganization><id root="1.2.208.176.1.4" extension="445655" assigningAuthorityName="Yderregisteret"/><name>Læge Mikkel Knudsen</name><telecom use="WP" value="tel:36416742"/><addr use="H"><streetAddressLine>Espegårdsvej54</streetAddressLine><postalCode>9460</postalCode><city>Brovst</city></addr></providerOrganization></patientRole></recordTarget><author><time value="20210630084311+0200"/><assignedAuthor><id root="1.2.208.176.1.1" extension="1126211000016009" assigningAuthorityName="SOR"/><representedOrganization><name>Fælles Stamkort udstedelse</name></representedOrganization></assignedAuthor></author><custodian><assignedCustodian><representedCustodianOrganization><id root="1.2.208.176.1.1" extension="1126211000016009" assigningAuthorityName="SOR"/><name>Fælles Stamkort udstedelse</name></representedCustodianOrganization></assignedCustodian></custodian><documentationOf typeCode="DOC"><serviceEvent classCode="ACT" moodCode="EVN"><templateId root="1.2.208.184.10.1.11"/><effectiveTime><low value="20210630084311+0200"/><high nullFlavor="NA"/></effectiveTime></serviceEvent></documentationOf><documentationOf typeCode="DOC"><serviceEvent classCode="ACT" moodCode="EVN"><templateId root="1.2.208.184.10.1.10" extension="2019-09-10"/><id root="1.2.208.184.100.10" extension="pdc-v2.0" assigningAuthorityName="MedCom"/></serviceEvent></documentationOf><component typeCode="COMP" contextConductionInd="true"><structuredBody classCode="DOCBODY" moodCode="EVN"><component typeCode="COMP" contextConductionInd="true"><section classCode="DOCSECT" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1" extension="2019-08-14"/><text><paragraph>Øvrige oplysninger</paragraph><table width="100%"><tbody><tr><th>Oplysning</th><th>Værdi</th><th>Kilde/Indtastet af</th><th>Sidst ændret/Indtastet den</th></tr><tr><td>Forældremyndighed over</td><td><list><item>Relation: Mor</item><item>CPR: 0510178165</item><item>Navn: Confidential Barn 1 PDC CDA</item></list></td><td>CPR</td><td>Ikke oplyst</td></tr><tr><td>Forældremyndighed over</td><td><list><item>Relation: Mor</item><item>CPR: 1309139662</item><item>Navn: Confidential Barn 2 PDC CDA</item></list></td><td>CPR</td><td>Ikke oplyst</td></tr><tr><td>Forældremyndighedshaver</td><td><list><item>Relation: Barn</item><item>CPR: 1008559550</item><item>Navn: Confidential Bedste Knudsen</item></list></td><td>CPR</td><td>Ikke oplyst</td></tr><tr><td>Borgerens navn og adresse</td><td><list><item>ADRESSEBESKYTTET ADRESSEBESKYTTET</item><item>ADRESSEBESKYTTET</item><item>0000 ADRESSEBESKYTTET</item><item/></list></td><td>CPR</td><td>Ikke oplyst</td></tr><tr><td>Sygesikringsgruppe</td><td><list><item>sygesikringsgruppe_1</item></list></td><td>CPR</td><td>Ikke oplyst</td></tr><tr><td>Registreret organdonor</td><td><list><item>Nej</item></list></td><td>Dansk Center For Organdonation</td><td>Ikke oplyst</td></tr><tr><td>Registreret behandlingstestamente</td><td><list><item>Nej</item></list></td><td>Sundhedsdatastyrelsen</td><td>Ikke oplyst</td></tr><tr><td>Registreret livstestamente</td><td><list><item>Ja</item></list></td><td>Sundhedsdatastyrelsen</td><td>Ikke oplyst</td></tr><tr><td>Talt sprog, indtastet</td><td><list><item>German</item></list></td><td>Jonas Dummy</td><td>2020-10-30 11:06:35 +0100</td></tr><tr><td>Midlertidig adresse, indtastet</td><td><list><item>Periode fra: 2020-10-01</item><item>Temporary Street Name 20</item><item>8000 Aarhus C</item><item>Denmark</item></list></td><td>Casper Larsen</td><td>2020-10-30 11:07:06 +0100</td></tr><tr><td>Tandlæge indtastet</td><td><list><item/><item>family </item><item>Street Name 2</item><item>8000 Aarhus C</item><item>Denmark</item></list></td><td>Casper Larsen</td><td>2020-10-30 11:07:19 +0100</td></tr><tr><td>Kontaktoplysninger, indtastet</td><td><list><item>tel:911</item></list></td><td>Casper Larsen</td><td>2020-10-30 11:07:42 +0100</td></tr><tr><td>Pårørende, indtastet</td><td><list><item>Casper Larsen</item><item>Barn</item><item/></list></td><td>Casper Larsen</td><td>2020-10-30 11:08:00 +0100</td></tr></tbody></table></text><entry typeCode="COMP"><observation classCode="OBS" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1.23" extension="2019-08-14"/><id root="1.2.208.184" extension="2c1c2765-05e0-4a85-bc1e-a2db95282145"/><code code="ChildCustody" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Forældremyndighed over"/><value xsi:type="II" root="1.2.208.176.1.2" extension="0510178165" assigningAuthorityName="CPR" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><value xsi:type="PN" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><given>Confidential</given><given>Barn</given><given>1</given><family>PDC CDA</family></value><value xsi:type="CD" code="mor" codeSystem="1.2.208.184.100.2" codeSystemName="MedCom Relation Codes" displayName="Mor" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><author><templateId root="1.2.208.184.16.1.10.20.31" extension="2019-08-14"/><time nullFlavor="NI"/><assignedAuthor><id root="1.2.208.176.1.2" extension="NI" assigningAuthorityName="CPR"/><representedOrganization><name>CPR</name></representedOrganization></assignedAuthor></author></observation></entry><entry typeCode="COMP"><observation classCode="OBS" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1.23" extension="2019-08-14"/><id root="1.2.208.184" extension="694eaf78-6c11-4424-b50c-b48213dbfe29"/><code code="ChildCustody" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Forældremyndighed over"/><value xsi:type="II" root="1.2.208.176.1.2" extension="1309139662" assigningAuthorityName="CPR" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><value xsi:type="PN" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><given>Confidential</given><given>Barn</given><given>2</given><family>PDC CDA</family></value><value xsi:type="CD" code="mor" codeSystem="1.2.208.184.100.2" codeSystemName="MedCom Relation Codes" displayName="Mor" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><author><templateId root="1.2.208.184.16.1.10.20.31" extension="2019-08-14"/><time nullFlavor="NI"/><assignedAuthor><id root="1.2.208.176.1.2" extension="NI" assigningAuthorityName="CPR"/><representedOrganization><name>CPR</name></representedOrganization></assignedAuthor></author></observation></entry><entry typeCode="COMP"><observation classCode="OBS" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1.23" extension="2019-08-14"/><id root="1.2.208.184" extension="cfb2a383-41f2-4945-b94c-e82100ac137f"/><code code="CustodyBy" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Forældremyndighedshaver"/><value xsi:type="II" root="1.2.208.176.1.2" extension="1008559550" assigningAuthorityName="CPR" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><value xsi:type="PN" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><given>Confidential</given><given>Bedste</given><family>Knudsen</family></value><value xsi:type="CD" code="barn" codeSystem="1.2.208.184.100.2" codeSystemName="MedCom Relation Codes" displayName="Barn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><author><templateId root="1.2.208.184.16.1.10.20.31" extension="2019-08-14"/><time nullFlavor="NI"/><assignedAuthor><id root="1.2.208.176.1.2" extension="NI" assigningAuthorityName="CPR"/><representedOrganization><name>CPR</name></representedOrganization></assignedAuthor></author></observation></entry><entry typeCode="COMP"><observation classCode="OBS" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1.26" extension="2019-08-14"/><id root="1.2.208.184" extension="d3ce78c5-424e-4a66-be82-d05560ef3023"/><code code="CitizenNameAddr" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Borgerens navn og adresse"/><value xsi:type="PN" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><given>ADRESSEBESKYTTET</given><family>ADRESSEBESKYTTET</family></value><value xsi:type="AD" use="CONF" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><streetAddressLine>ADRESSEBESKYTTET</streetAddressLine><postalCode>0000</postalCode><city>ADRESSEBESKYTTET</city></value><author><templateId root="1.2.208.184.16.1.10.20.31" extension="2019-08-14"/><time nullFlavor="NI"/><assignedAuthor><id root="1.2.208.176.1.2" extension="NI" assigningAuthorityName="CPR"/><representedOrganization><name>CPR</name></representedOrganization></assignedAuthor></author></observation></entry><entry typeCode="COMP"><observation classCode="OBS" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1.27" extension="2019-08-14"/><id root="1.2.208.184" extension="153c7243-7f64-4d34-8249-48b798aa1b44"/><code code="CoverageGroup" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Sygesikringsgruppe"/><value xsi:type="II" root="1.2.208.176.1.99.99.99" extension="sygesikringsgruppe_1" assigningAuthorityName="Sygesikringen" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><author><templateId root="1.2.208.184.16.1.10.20.31" extension="2019-08-14"/><time nullFlavor="NI"/><assignedAuthor><id root="1.2.208.176.2.7" extension="NI" assigningAuthorityName="Sygesikringen"/><representedOrganization><name>Sygesikringen</name></representedOrganization></assignedAuthor></author></observation></entry><entry typeCode="COMP"><observation classCode="OBS" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1.28" extension="2019-08-14"/><id root="1.2.208.184" extension="7b6c6142-3d90-497a-9c73-960be8d6b904"/><code code="OrganDonorRegistration" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Registreret organdonor"/><value xsi:type="II" root="1.2.208.176.1.10" extension="false" assigningAuthorityName="Dansk Center For Organdonation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><author><templateId root="1.2.208.184.16.1.10.20.31" extension="2019-08-14"/><time nullFlavor="NI"/><assignedAuthor><id root="1.2.208.176.1.10" extension="NI" assigningAuthorityName="CPR"/><representedOrganization><name>Dansk Center For Organdonation</name></representedOrganization></assignedAuthor></author></observation></entry><entry typeCode="COMP"><observation classCode="OBS" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1.29" extension="2019-08-14"/><id root="1.2.208.184" extension="d331ed7c-2f2e-4fd6-b424-a9d9c0c88c50"/><code code="TreatmentWillRegistration" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Registreret behandlingstestamente"/><value xsi:type="II" root="1.2.208.176.1.9" extension="false" assigningAuthorityName="Sundhedsdatastyrelsen" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><author><templateId root="1.2.208.184.16.1.10.20.31" extension="2019-08-14"/><time nullFlavor="NI"/><assignedAuthor><id root="1.2.208.176.1.9" extension="NI" assigningAuthorityName="Sundhedsdatastyrelsen"/><representedOrganization><name>Sundhedsdatastyrelsen</name></representedOrganization></assignedAuthor></author></observation></entry><entry typeCode="COMP"><observation classCode="OBS" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1.30" extension="2019-08-14"/><id root="1.2.208.184" extension="b0ff02d1-d6a1-402c-9d53-4a3b1ad473a2"/><code code="LivingWillRegistration" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Registreret livstestamente"/><value xsi:type="II" root="1.2.208.176.1.9" extension="true" assigningAuthorityName="Sundhedsdatastyrelsen" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><author><templateId root="1.2.208.184.16.1.10.20.31" extension="2019-08-14"/><time nullFlavor="NI"/><assignedAuthor><id root="1.2.208.176.1.8" extension="NI" assigningAuthorityName="Sundhedsdatastyrelsen"/><representedOrganization><name>Sundhedsdatastyrelsen</name></representedOrganization></assignedAuthor></author></observation></entry><entry typeCode="COMP"><observation classCode="OBS" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1.20" extension="2019-08-14"/><id root="1.2.208.184" extension="d593d66c-925a-4ebc-98ea-0d832872ffc9"/><code code="LanguageTypedIn" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Talt sprog, indtastet"/><value xsi:type="CD" code="de" codeSystem="1.0.639.1" codeSystemName="ISO-639-1" displayName="German" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><author><templateId root="1.2.208.184.16.1.10.20.30" extension="2019-08-14"/><time value="20201030110635+0100"/><assignedAuthor><id root="1.2.208.176.1.2" extension="ANONYM" assigningAuthorityName="CPR"/><assignedPerson><name><given>Jonas</given><family>Dummy</family></name></assignedPerson></assignedAuthor></author></observation></entry><entry typeCode="COMP"><observation classCode="OBS" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1.21" extension="2019-08-14"/><id root="1.2.208.184" extension="df31656f-bb83-4702-bac1-67f41bd42b5e"/><code code="TempAddrTypedIn" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Midlertidig adresse, indtastet"/><effectiveTime><low value="20201001000000+0200"/><high nullFlavor="NA"/></effectiveTime><value xsi:type="AD" use="H" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><streetAddressLine>Temporary Street Name 20</streetAddressLine><postalCode>8000</postalCode><city>Aarhus C</city><country>Denmark</country></value><author><templateId root="1.2.208.184.16.1.10.20.30" extension="2019-08-14"/><time value="20201030110706+0100"/><assignedAuthor><id root="1.2.208.176.1.2" extension="ANONYM" assigningAuthorityName="CPR"/><assignedPerson><name><given>Casper</given><family>Larsen</family></name></assignedPerson></assignedAuthor></author></observation></entry><entry typeCode="COMP"><observation classCode="OBS" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1.22" extension="2019-08-14"/><id root="1.2.208.184" extension="30f040e6-c928-4d8e-bfab-84be48f5eba0"/><code code="DentistTypedIn" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Tandlæge indtastet"/><value xsi:type="II" root="1.2.208.176.1.4" extension="123456" assigningAuthorityName="Yderregisteret" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><value xsi:type="EN" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><given>family</given><family></family></value><value xsi:type="AD" use="WP" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><streetAddressLine>Street Name 2</streetAddressLine><postalCode>8000</postalCode><city>Aarhus C</city><country>Denmark</country></value><author><templateId root="1.2.208.184.16.1.10.20.30" extension="2019-08-14"/><time value="20201030110719+0100"/><assignedAuthor><id root="1.2.208.176.1.2" extension="ANONYM" assigningAuthorityName="CPR"/><assignedPerson><name><given>Casper</given><family>Larsen</family></name></assignedPerson></assignedAuthor></author></observation></entry><entry typeCode="COMP"><observation classCode="OBS" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1.24" extension="2019-08-14"/><id root="1.2.208.184" extension="8c2a9f2e-33ed-4dd6-b7da-88084affd76c"/><code code="PatientContactTypedIn" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Kontaktoplysninger, indtastet"/><value xsi:type="TEL" use="WP" value="tel:911" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><author><templateId root="1.2.208.184.16.1.10.20.30" extension="2019-08-14"/><time value="20201030110742+0100"/><assignedAuthor><id root="1.2.208.176.1.2" extension="ANONYM" assigningAuthorityName="CPR"/><assignedPerson><name><given>Casper</given><family>Larsen</family></name></assignedPerson></assignedAuthor></author></observation></entry><entry typeCode="COMP"><observation classCode="OBS" moodCode="EVN"><templateId root="1.2.208.184.16.1.10.20.1.25" extension="2019-08-14"/><id root="1.2.208.184" extension="1403ebce-3ede-4147-aaef-baede2b294a8"/><code code="RelativeTypedIn" codeSystem="1.2.208.184.100.1" codeSystemName="MedCom Message Codes" displayName="Pårørende, indtastet"/><value xsi:type="PN" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><given>Casper</given><family>Larsen</family></value><value xsi:type="CD" code="barn" codeSystem="1.2.208.184.100.2" codeSystemName="MedCom Relation Codes" displayName="Barn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><value xsi:type="TEL" use="WP" value="tel:911" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><author><templateId root="1.2.208.184.16.1.10.20.30" extension="2019-08-14"/><time value="20201030110800+0100"/><assignedAuthor><id root="1.2.208.176.1.2" extension="ANONYM" assigningAuthorityName="CPR"/><assignedPerson><name><given>Casper</given><family>Larsen</family></name></assignedPerson></assignedAuthor></author></observation></entry></section></component></structuredBody></component></ClinicalDocument>
--uuid:94eb682d-cabe-4a86-a584-7aaf0aab50ff--


  • No labels