Versions Compared

Key

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

...

Eksempler på request of response til de SOAP operationer der udstilles. De enkelte elementer er beskrevet under snitfladebeskrivelse. Det er en forudsætning at der tilføjes gyldig sikkerhedsheader - bla. et gyldigt ID-kort.


Fremsøgning af metadata dokumentoplysninger (ITI-18)

Code Block
titleEksempel
collapsetrue
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <wsse:Security>...</wsse:Security>
    <medcom:Header>...</medcom:Header>
    <HsuidHeader xmlns="http://www.nsi.dk/hsuid/2016/08/hsuid-1.1.xsd">
      <Assertion IssueInstant="2020-11-25T07:19:10.175Z" Version="2.0" id="HSUID">
        <Issuer>Aftale</Issuer>
        <AttributeStatement id="HSUIDdata">
          <Attribute Name="nsi:CitizenCivilRegistrationNumber">
            <AttributeValue>0105500010</AttributeValue>
          </Attribute>
          <Attribute Name="nsi:UserType">
            <AttributeValue>nsi:HealthcareProfessional</AttributeValue>
          </Attribute>
          <Attribute Name="nsi:ActingUserCivilRegistrationNumber">
            <AttributeValue>1812292476</AttributeValue>
          </Attribute>
          <Attribute Name="nsi:OrgUsingID" NameFormat="nsi:sor">
            <AttributeValue>1000210010</AttributeValue>
          </Attribute>
          <Attribute Name="nsi:SystemOwnerName">
            <AttributeValue>system owner</AttributeValue>
          </Attribute>
          <Attribute Name="nsi:SystemName">
            <AttributeValue>test aftaler</AttributeValue>
          </Attribute>
          <Attribute Name="nsi:SystemVersion">
            <AttributeValue>1.0</AttributeValue>
          </Attribute>
          <Attribute Name="nsi:OrgResponsibleName">
            <AttributeValue>MyOrganisation</AttributeValue>
          </Attribute>
          <Attribute Name="nsi:ConsentOverride">
            <AttributeValue>false</AttributeValue>
          </Attribute>
          <Attribute Name="nsi:ResponsibleUserCivilRegistrationNumber">
            <AttributeValue>1812292476</AttributeValue>
          </Attribute>
          <Attribute Name="nsi:ResponsibleUserAuthorizationCode">
            <AttributeValue>-</AttributeValue>
          </Attribute>
        </AttributeStatement>
      </Assertion>
    </HsuidHeader>
    <Action soap:mustUnderstand="1" xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:RegistryStoredQuery</Action>
    <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:14527b4e-d2e4-45ee-be0e-8bf36a691ac0</MessageID>
    <To xmlns="http://www.w3.org/2005/08/addressing">http://test1-cnsp.ekstern-test.nspop.dk:8080/ddsregistry</To>
    <ReplyTo soap:mustUnderstand="1" xmlns="http://www.w3.org/2005/08/addressing">
      <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>'0105500010^^^&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:AdhocQuery>
    </ns4:AdhocQueryRequest>
  </soap:Body>
</soap:Envelope>


Fremsøning af dokumentoplysninger gennem Aftaleoversigt (ITI-18)

...