Versions Compared

Key

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

...

I det følgende har vi et eksempel på et ITI-43 request og et tilhørende response. Dette request og response hører sammen med eksemplet, der blev præsenteret i forbindelse med søgning AO-SOEG-01. 

TODO

...

Code Block
languagexml
titleDDS Request ITI-43 (AO XDS Adapter)
collapsetrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <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:HomeCommunityId>1.2.208.176.99.180.99.98</ns2:HomeCommunityId>
        <ns2:RepositoryUniqueId>1.2.208.176.99.180.99.98.1</ns2:RepositoryUniqueId>
        <ns2:DocumentUniqueId>1.2.208.176.99.180.99.98.1.1^be2ced7b-6b68-4c32-814b-f8ee819abbd1</ns2:DocumentUniqueId>
      </ns2:DocumentRequest>
    </ns2:RetrieveDocumentSetRequest>
  </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleDDS Response ITI-43 (AO XDS Adapter)
collapsetrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <RetrieveDocumentSetResponse xmlns="urn:ihe:iti:xds-b:2007" xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns3="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns4="http://www.w3.org/2000/09/xmldsig#" xmlns:ns5="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns6="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns7="http://www.nsi.dk/hsuid/2016/08/hsuid-1.1.xsd" xmlns:ns8="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:ns9="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns10="urn:oasis:names:tc:ebxml-regrep:xsd:cms:3.0" xmlns:ns11="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns12="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0">
      <ns9:RegistryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success"/>
      <DocumentResponse>
        <HomeCommunityId>1.2.208.176.99.180.99.98</HomeCommunityId>
        <RepositoryUniqueId>1.2.208.176.99.180.99.98.1</RepositoryUniqueId>
        <DocumentUniqueId>1.2.208.176.99.180.99.98.1.1^be2ced7b-6b68-4c32-814b-f8ee819abbd1</DocumentUniqueId>
        <mimeType>text/xml</mimeType>
        <Document>
          <xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:8110ae30-37ff-4306-9c98-0ec153181a9f-48594@urn%3Aihe%3Aiti%3Axds-b%3A2007"/>
        </Document>
      </DocumentResponse>
    </RetrieveDocumentSetResponse>
  </soap:Body>
</soap:Envelope>

Med udgangspunkt i eksemplet ovenfor vil vi kigge nærmere på dokumentindholdet:

Code Block
languagexml
titleCDA Document fra Response
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../../PHMR/Schema/CDA_SDTC.xsd" classCode="DOCCLIN" moodCode="EVN">
  <realmCode code="DK"/>
  <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
  <templateId root="1.2.208.184.14.1"/>
  <id extension="be2ced7b-6b68-4c32-814b-f8ee819abbd1" root="1.2.208.184" assigningAuthorityName="MedCom"/>
  <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 2512484916</title>
  <effectiveTime value="20180820104500+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 extension="2512484916" root="1.2.208.176.1.2" assigningAuthorityName="CPR"/>
      <patient nullFlavor="NI"> </patient>
    </patientRole>
  </recordTarget>
  <author typeCode="AUT" contextControlCode="OP">
    <time value="20180820104500+0200"/>
    <assignedAuthor classCode="ASSIGNED">
      <id extension="6081000016005" root="1.2.208.176.1.1" assigningAuthorityName="SOR"/>
      <assignedAuthoringDevice nullFlavor="NI"> </assignedAuthoringDevice>
    </assignedAuthor>
  </author>
  <custodian typeCode="CST">
    <assignedCustodian classCode="ASSIGNED">
      <representedCustodianOrganization classCode="ORG" determinerCode="INSTANCE">
        <id extension="6081000016005" root="1.2.208.176.1.1" assigningAuthorityName="SOR"/>
      </representedCustodianOrganization>
    </assignedCustodian>
  </custodian>
  <documentationOf typeCode="DOC">
    <serviceEvent classCode="MPROT" moodCode="EVN">
      <effectiveTime>
        <low value="20180820104500+0200"/>
        <high nullFlavor="NI"/>
      </effectiveTime>
    </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.14.11.1" extension="2017-03-10"/>
          <code code="18776-5" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Plan of care note"/>
          <title>Aftale</title>
          <text>
            <paragraph>Aftale:</paragraph>
            <table width="100%">
              <tbody>
                <tr>
                  <th>Status</th>
                  <th>Aftale dato</th>
                  <th>Vedrørende</th>
                  <th>Afdeling</th>
                  <th>Sted</th>
                  <th>Adresse</th>
                </tr>
                <tr>
                  <td>active</td>
                  <td>20-08-2018 10:45</td>
                  <td>Første samtale</td>
                  <td>Kræftafdelingen</td>
                  <td>Aarhus Universitetshospital</td>
                  <td></td>
                </tr>
              </tbody>
            </table>
          </text>
          <entry>
            <encounter moodCode="APT" classCode="ENC">
              <templateId root="1.2.208.184.14.11.2" extension="2017-03-10"/>
              <id root="1.2.208.184" extension="be2ced7b-6b68-4c32-814b-f8ee819abbd1" assigningAuthorityName="MedCom"/>
              <code code="185353001" displayName="Aftale dato" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"> </code>
              <statusCode code="active"/>
              <effectiveTime>
                <low value="20180820104500+0200"/>
                <high nullFlavor="NI"/>
              </effectiveTime>
              <performer typeCode="PRF">
                <assignedEntity classCode="ASSIGNED">
                  <id extension="6081000016005" root="1.2.208.176.1.1" assigningAuthorityName="SOR"/>
                  <addr use="WP">
                    <streetAddressLine>Skottenborg 26</streetAddressLine>
                    <postalCode>8800</postalCode>
                    <city>Viborg</city>
                  </addr>
                  <telecom value="tel:87285000" use="WP"/>
                  <representedOrganization classCode="ORG" determinerCode="INSTANCE" nullFlavor="NI"> </representedOrganization>
                </assignedEntity>
              </performer>
              <participant typeCode="LOC">
                <participantRole classCode="SDLOC">
                  <templateId root="1.2.208.184.14.11.3" extension="2017-03-10"/>
                  <id nullFlavor="NI"/>
                  <addr use="WP"><streetAddressLine>Aarhus Universitetshospital</streetAddressLine></addr>
                  <telecom nullFlavor="NI"/>
                  <playingEntity classCode="PLC">
                    <name>Kræftafdelingen</name>
                  </playingEntity>
                </participantRole>
              </participant>
              <entryRelationship typeCode="RSON">
                <observation classCode="OBS" moodCode="RQO">
                  <code code="NI" displayName="Første samtale"/>
                </observation>
              </entryRelationship>
            </encounter>
          </entry>
        </section>
      </component>
    </structuredBody>
  </component>
</ClinicalDocument>


Det første der bør undersøges er, om de genererede aftaledokumenter overholder Medcoms standard i forhold til profilering af aftale dokumenter. Til dette formål har vi kørt eksempel dokumentet igennem en validering.

...