Versions Compared

Key

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

...

Det dokument, der skal registreres sendes med. Bemærk, at det er anvenderens opgave at sætte requestet rigtigt sammen for at få registreret metadata om dokumentet i den bagvedliggende nationale XDS infrastruktur. Korrekt metadata er en forudsætning for at andre anvendere kan fremsøge dokumentet med meningsfyldte søge parametre (se DDS - Guide til anvendere for information om fremsøgning og hentning af dokumenter).

En vigtig detalje er Document Entry UUID, som sættes på DocumentEntry. Denne anvendes iforbindelse med "Ret Stable Dokument" og "Slet Dokument" og skal sættes med prefix "urn:uuid:".  I nedenstående request er det "urn:uuid:69d3b9f3-7919-40e0-8731-32fb339216c2"

I requestet nedenfor ses selve dokumentet (som MTOM attachment) samt de specificerede metadata (den del af requestet, der er i tag SubmitObjectsRequest)

...

Deruodover er det anvenderens opgave at specificere, hvilket dokument der skal rettes. Til dette formål anvendes Document Entry UUID, hvorunder dokumentet er registreret i det nationale XDS Registry. For at finde dette UUID skal der først gennemføres Dette angives i forbindelse med "Opret Stable Dokument" se ovenfor. (Alternativt kan dette UUID findes ved først at gennemføre en søgning mod Dokumentdelingsservicen, for at finde det). I requestet angives dette med en Association med typen RPLC (replace).

Code Block
titleRet Stable Dokument Request
linenumberstrue
collapsetrue
*---------------------------
ID: 8
Address: https://drosurl/dros/iti41
Encoding: UTF-8
Http-Method: POST
Content-Type: multipart/related; type="application/xop+xml"; boundary="uuid:8b0c3fcd33963231-f5bfc4aa-491e44e3-a909af97-03155c8afdcd3c16b4d89d01"; start="<root.message@cxf.apache.org>"; start-info="application/soap+xml"
Headers: {Accept=[*/*]}
Payload: --uuid:8b0c3fcd33963231-f5bfc4aa-491e44e3-a909af97-03155c8afdcd3c16b4d89d01
Content-Type: application/xop+xml; charset=UTF-8; type="application/soap+xml"
Content-Transfer-Encoding: binary
Content-ID: <root.message@cxf.apache.org>
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
      ...soapheaders fjernet for overskuelighed ...
  </soap:Header>
  <soap:Body>
    <ns4:ProvideAndRegisterDocumentSetRequest xmlns:ns6="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns5="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:ns4="urn:ihe:iti:xds-b:2007" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
      <ns5:SubmitObjectsRequest>
        <ns2:RegistryObjectList>
          <ns2:ExtrinsicObject mimeType="text/xml" lid="88545919444690872747611575883162573286.39179603761351684956957150597387238313.16160604970101616587056189" objectType="urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1" status="urn:oasis:names:tc:ebxml-regrep:StatusType:Approved" id="8cb895b8-e008-47a8-8dd2-677201b31e6durn:uuid:7e9b48d8-2930-4481-9e99-d1e17fe7760e">
            <ns2:Slot name="creationTime">
              <ns2:ValueList>
                <ns2:Value>20210318104137<Value>20210324125736</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="serviceStartTime">
              <ns2:ValueList>
                <ns2:Value>20210318104137<Value>20210324125736</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Slot name="serviceStopTime">
              <ns2:ValueList>
                <ns2:Value>20210318104137<Value>20210324125736</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Slot name="sourcePatientId">
              <ns2:ValueList>
                <ns2:Value>2512489996^^^Value>ABCDE^^^&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="Dato og tidspunkt for møde mellem patient og sundhedsperson"/>
            </ns2:Name>
            <ns2:Classification classificationScheme="urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d" classifiedObject="8cb895b8-e008-47a8-8dd2-677201b31e6durn:uuid:7e9b48d8-2930-4481-9e99-d1e17fe7760e" nodeRepresentation="" id="urn:uuid:307f38c964496e25-50bf9d48-45ed4493-a89f8c87-c57f99140afeaf16295e6c7a">
              <ns2:Slot name="authorInstitution">
                <ns2:ValueList>
                  <ns2:Value>DROS Testafdeling^^^^^&1.2.208.176.1.1&ISO^^^^12345679999</ns2:Value>
                </ns2:ValueList>
              </ns2:Slot>
            </ns2:Classification>
            <ns2:Classification classificationScheme="urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a" classifiedObject="8cb895b8-e008-47a8-8dd2-677201b31e6durn:uuid:7e9b48d8-2930-4481-9e99-d1e17fe7760e" nodeRepresentation="001" id="urn:uuid:9e2144c995bfd81c-fe516ee8-4a88439c-88b3a632-5ac50fc225f32b4ae57c24a1">
              <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="8cb895b8-e008-47a8-8dd2-677201b31e6durn:uuid:7e9b48d8-2930-4481-9e99-d1e17fe7760e" nodeRepresentation="urn:ad:dk:medcom:appointment" id="urn:uuid:4e481fba94e018a0-c8e57035-4383483d-9074bb19-47e86dec704a535c7fd6431a">
              <ns2:Slot name="codingScheme">
                <ns2:ValueList>
                  <ns2:Value>1.2.208.184.14.1</ns2:Value>
                </ns2:ValueList>
              </ns2:Slot>
              <ns2:Name>
                <ns2:LocalizedString xml:lang="en-US" charset="UTF-8" value="DK CDA APD"/>
              </ns2:Name>
            </ns2:Classification>
            <ns2:Classification classificationScheme="urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1" classifiedObject="8cb895b8-e008-47a8-8dd2-677201b31e6durn:uuid:7e9b48d8-2930-4481-9e99-d1e17fe7760e" nodeRepresentation="22232009" id="urn:uuid:d1bae24322c69921-e4fd481a-4d484618-bade84be-41086d7613a8e98ca990ff1e">
              <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="hospital"/>
              </ns2:Name>
            </ns2:Classification>
            <ns2:Classification classificationScheme="urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead" classifiedObject="8cb895b8-e008-47a8-8dd2-677201b31e6durn:uuid:7e9b48d8-2930-4481-9e99-d1e17fe7760e" nodeRepresentation="408443003" id="urn:uuid:bf7b99e057cddacf-57731817-4c564b36-9a2ba60b-df665a9744bfc34dee69158d">
              <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="8cb895b8-e008-47a8-8dd2-677201b31e6durn:uuid:7e9b48d8-2930-4481-9e99-d1e17fe7760e" nodeRepresentation="39289-4" id="urn:uuid:317efa5cb78f2670-cddee44e-4c7d4691-99b88d2f-6f405e6a1d51b02fc091191d">
              <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="Dato og tidspunkt for møde mellem patient og sundhedsperson"/>
              </ns2:Name>
            </ns2:Classification>
            <ns2:Classification classificationScheme="urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f" classifiedObject="8cb895b8-e008-47a8-8dd2-677201b31e6durn:uuid:7e9b48d8-2930-4481-9e99-d1e17fe7760e" nodeRepresentation="N" id="urn:uuid:fd30fc70c8d8920e-1d525602-44734227-b3bf9a54-520adefe8cef1ea71896038b">
              <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="N"/>
              </ns2:Name>
            </ns2:Classification>
            <ns2:ExternalIdentifier registryObject="8cb895b8-e008-47a8-8dd2-677201b31e6durn:uuid:7e9b48d8-2930-4481-9e99-d1e17fe7760e" identificationScheme="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427" value="ABCDE^^^&1.2.208.176.1.2&ISO" id="urn:uuid:3285db784dd25780-89e43dda-479843e4-982ebb1d-819500298b877f1721dc3664">
              <ns2:Name>
                <ns2:LocalizedString value="XDSDocumentEntry.patientId"/>
              </ns2:Name>
            </ns2:ExternalIdentifier>
            <ns2:ExternalIdentifier registryObject="8cb895b8-e008-47a8-8dd2-677201b31e6durn:uuid:7e9b48d8-2930-4481-9e99-d1e17fe7760e" identificationScheme="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab" value="88545919444690872747611575883162573286.39179603761351684956957150597387238313.16160604970101616587056189" id="urn:uuid:3b66d37e53bc441e-5e6d9f7b-40da4eca-bd2abb08-00617738b488e578cf629c6a">
              <ns2:Name>
                <ns2:LocalizedString value="XDSDocumentEntry.uniqueId"/>
              </ns2:Name>
            </ns2:ExternalIdentifier>
          </ns2:ExtrinsicObject>
          <ns2:RegistryPackage status="urn:oasis:names:tc:ebxml-regrep:StatusType:Approved" id="55198523682867015346838596777883573123.4541640865789620303630395976964457848.16160604970231616587072756">
            <ns2:Slot name="submissionTime">
              <ns2:ValueList>
                <ns2:Value>20210318104137<Value>20210324125736</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
            <ns2:Classification classificationScheme="urn:uuid:aa543740-bdda-424e-8c96-df4873be8500" classifiedObject="55198523682867015346838596777883573123.4541640865789620303630395976964457848.16160604970231616587072756" nodeRepresentation="39289-4" id="urn:uuid:24b16e2977f55447-f140c9ce-455c4d44-8ee9b1c1-f44fc01df8e059aaef16d8ff">
              <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="Dato og tidspunkt for møde mellem patient og sundhedsperson"/>
              </ns2:Name>
            </ns2:Classification>
            <ns2:ExternalIdentifier registryObject="55198523682867015346838596777883573123.4541640865789620303630395976964457848.16160604970231616587072756" identificationScheme="urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446" value="ABCDE^^^&1.2.208.176.1.2&ISO" id="urn:uuid:e492f3ab71c0d6e1-da065ebb-44d64c93-a804815f-0b744a48fa04495ab78134b9">
              <ns2:Name>
                <ns2:LocalizedString value="XDSSubmissionSet.patientId"/>
              </ns2:Name>
            </ns2:ExternalIdentifier>
            <ns2:ExternalIdentifier registryObject="55198523682867015346838596777883573123.4541640865789620303630395976964457848.16160604970231616587072756" identificationScheme="urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8" value="55198523682867015346838596777883573123.4541640865789620303630395976964457848.16160604970231616587072756" id="urn:uuid:31ede79568f39bc4-3117aabc-43294923-ba828e4a-d1f19c8ead647de2ad738404">
              <ns2:Name>
                <ns2:LocalizedString value="XDSSubmissionSet.uniqueId"/>
              </ns2:Name>
            </ns2:ExternalIdentifier>
            <ns2:ExternalIdentifier registryObject="55198523682867015346838596777883573123.4541640865789620303630395976964457848.16160604970231616587072756" identificationScheme="urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832" value="55198523682867015346838596777883573123.4541640865789620303630395976964457848.16160604970231616587072756" id="urn:uuid:4172115dd6e3eaa1-35d78fd1-4e0b44b4-a33790d4-658ab18220c99ac53599ea81">
              <ns2:Name>
                <ns2:LocalizedString value="XDSSubmissionSet.sourceId"/>
              </ns2:Name>
            </ns2:ExternalIdentifier>
          </ns2:RegistryPackage>
          <ns2:Classification classifiedObject="55198523682867015346838596777883573123.4541640865789620303630395976964457848.16160604970231616587072756" classificationNode="urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd" id="urn:uuid:6a988a12eb803b33-91594000-4f794eb7-844cba8c-483009f7763f5143219048e5"/>
          <ns2:Association associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" sourceObject="55198523682867015346838596777883573123.4541640865789620303630395976964457848.16160604970231616587072756" targetObject="8cb895b8-e008-47a8-8dd2-677201b31e6durn:uuid:7e9b48d8-2930-4481-9e99-d1e17fe7760e" status="urn:oasis:names:tc:ebxml-regrep:StatusType:Approved" id="7d0932cc59bf36cb-3fefe000-42c74abb-8133a184-3dc9367443f5bc8a336fa98a">
            <ns2:Slot name="SubmissionSetStatus">
              <ns2:ValueList>
                <ns2:Value>Original</ns2:Value>
              </ns2:ValueList>
            </ns2:Slot>
          </ns2:Association>
          <ns2:Association associationType="urn:ihe:iti:2007:AssociationType:RPLC" sourceObject="8cb895b8-e008-47a8-8dd2-677201b31e6durn:uuid:7e9b48d8-2930-4481-9e99-d1e17fe7760e" targetObject="urn:uuid:6b819ed87ce5b105-db2bcb7e-4ce04bf4-98168dfc-8c2f1a553c7b17e1a50d6db1" id="635f9be4880ba1dc-df4b5e9e-48f04200-8b11ab9a-48b4ce7e0d64804acc19b097"/>
        </ns2:RegistryObjectList>
      </ns5:SubmitObjectsRequest>
      <ns4:Document id="8cb895b8-e008-47a8-8dd2-677201b31e6durn:uuid:7e9b48d8-2930-4481-9e99-d1e17fe7760e">
        <xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:1162872c5a142a5b-6469fe8d-4fb240dc-a430bc7e-d01c90ae89c81e2df3a527c9-4@urn%3Aihe%3Aiti%3Axds5@urn%3Aihe%3Aiti%3Axds-b%3A2007"/>
      </ns4:Document>
    </ns4:ProvideAndRegisterDocumentSetRequest>
  </soap:Body>
</soap:Envelope>

--uuid:8b0c3fcd33963231-f5bfc4aa-491e44e3-a909af97-03155c8afdcd3c16b4d89d01
Content-Type: text/xml
Content-Transfer-Encoding: binary
Content-ID: <1162872c<5a142a5b-6469fe8d-4fb240dc-a430bc7e-d01c90ae89c81e2df3a527c9-4@urn5@urn:ihe:iti:xds-b:2007>

<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" classCode="DOCCLIN" moodCode="EVN" xsi:schemaLocation="urn:hl7-org:v3 ../../PHMR/Schema/CDA_SDTC.xsd">
  <realmCode code="DK"/>
  <typeId extension="POCD_HD000040" root="2.16.840.1.113883.1.3"/>
  <!-- MedCom DK CDA APD profile OID -->
  <templateId root="1.2.208.184.14.1"/>
  <id assigningAuthorityName="MedCom" extension="aa2386d0-79ea-11e3-981f-0800200c9a66" root="1.2.208.184"/>
  <!-- LOINC code for appointment date -->
  <code code="39289-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Dato og tidspunkt for møde mellem patient og sundhedsperson"/>
  <!-- title = "Aftale for" + patient id -->
  <title>Aftale for 2512489996</title>
  <effectiveTime value="20170113100000+0100"/>
  <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
  <languageCode code="da-DK"/>
      ... resten af dokumetet er fjernet for overskuelighed ...
</ClinicalDocument>
--uuid:8b0c3fcd-f5bf-491e-a909-03155c8afdcd33963231-c4aa-44e3-af97-3c16b4d89d01--
--------------------------------------
Code Block
titleRet Stable Dokument Response
linenumberstrue
collapsetrue
*----------------------------
ID: 8
Response-Code: 200
Encoding: ISO-8859-1
Content-Type: multipart/related; type="application/xop+xml"; boundary="uuid:9bd5863a72910188-030c7f13-451544f9-ac5a8804-1ef3b3e0665fea150846fa23"; start="<root.message@cxf.apache.org>"; start-info="text/xml"
Headers: {connection=[keep-alive], content-type=[multipart/related; type="application/xop+xml"; boundary="uuid:9bd5863a72910188-030c7f13-451544f9-ac5a8804-1ef3b3e0665fea150846fa23"; start="<root.message@cxf.apache.org>"; start-info="text/xml"], Date=[ThuWed, 1824 Mar 2021 0911:4157:3753 GMT], Server=[WildFly/8], transfer-encoding=[chunked], X-Powered-By=[Undertow/1]}
Payload: --uuid:9bd5863a72910188-030c7f13-451544f9-ac5a8804-1ef3b3e0665fea150846fa23
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
Content-Transfer-Encoding: binary
Content-ID: <root.message@cxf.apache.org>
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ns3:RegistryResponse xmlns:ns6="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns5="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:ns4="urn:ihe:iti:xds-b:2007" 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"/>
  </soap:Body>
</soap:Envelope>
--uuid:9bd5863a-030c-4515-ac5a-1ef3b3e0665f72910188-7f13-44f9-8804-ea150846fa23--
--------------------------------------

Understøttelse af brugerhistorie: Slet Dokument

...