CH EPR FHIR (R4)
4.0.0-ballot - ballot Switzerland flag

This page is part of the CH EPR FHIR (R4) (v4.0.0-ballot: DSTU 4 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: PPQm Retrieve Response Bundle - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="PpqmRetrieveResponseBundle"/>
  <meta>
    <profile
             value="http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmRetrieveResponseBundle"/>
  </meta>
  <type value="searchset"/>
  <total value="3"/>
  <link>
    <relation value="self"/>
    <url
         value="https://fhir.ch/ppqm/Consent?patient:identifier=urn:oid:2.16.756.5.30.1.127.3.10.3|123456789012345678"/>
  </link>
  <entry>
    <fullUrl
             value="https://fhir.ch/ppqm/Consent/PpqmConsentTemplate201Example"/>
    <resource>
      <Consent>
        <id value="PpqmConsentTemplate201Example"/>
        <meta>
          <profile
                   value="http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate201"/>
        </meta>
        <text>
          <status value="empty"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p>Template 201 - Full access for the patient</p></div>
        </text>
        <identifier>
          <type>
            <coding>
              <system
                      value="http://fhir.ch/ig/ch-epr-fhir/CodeSystem/PpqmConsentIdentifierType"/>
              <code value="templateId"/>
            </coding>
          </type>
          <value value="201"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system
                      value="http://fhir.ch/ig/ch-epr-fhir/CodeSystem/PpqmConsentIdentifierType"/>
              <code value="policySetId"/>
            </coding>
          </type>
          <value value="urn:uuid:57ab9b0d-7d97-4d85-9e4b-02bc7c939ad9"/>
        </identifier>
        <status value="active"/>
        <scope>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/consentscope"/>
            <code value="patient-privacy"/>
          </coding>
        </scope>
        <category>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
            <code value="INFA"/>
          </coding>
        </category>
        <patient>
          <identifier>
            <system value="urn:oid:2.16.756.5.30.1.127.3.10.3"/>
            <value value="761337610000000002"/>
          </identifier>
        </patient>
        <policyRule>
          <coding>
            <system value="urn:ietf:rfc:3986"/>
            <code
                  value="urn:e-health-suisse:2015:policies:access-level:full"/>
          </coding>
        </policyRule>
        <provision>
          <actor>
            <role>
              <coding>
                <system value="urn:oid:2.16.756.5.30.1.127.3.10.6"/>
                <code value="PAT"/>
              </coding>
            </role>
            <reference>
              <identifier>
                <type>
                  <coding>
                    <system value="urn:ietf:rfc:3986"/>
                    <code value="urn:e-health-suisse:2015:epr-spid"/>
                  </coding>
                </type>
                <system value="urn:oid:2.16.756.5.30.1.127.3.10.3"/>
                <value value="761337610000000002"/>
              </identifier>
            </reference>
          </actor>
        </provision>
      </Consent>
    </resource>
    <search>
      <mode value="match"/>
      <score value="1"/>
    </search>
  </entry>
  <entry>
    <fullUrl
             value="https://fhir.ch/ppqm/Consent/PpqmConsentTemplate202Example"/>
    <resource>
      <Consent>
        <id value="PpqmConsentTemplate202Example"/>
        <meta>
          <profile
                   value="http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate202"/>
        </meta>
        <text>
          <status value="empty"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p>Template 202 - Read access in emergency mode</p></div>
        </text>
        <identifier>
          <type>
            <coding>
              <system
                      value="http://fhir.ch/ig/ch-epr-fhir/CodeSystem/PpqmConsentIdentifierType"/>
              <code value="templateId"/>
            </coding>
          </type>
          <value value="202"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system
                      value="http://fhir.ch/ig/ch-epr-fhir/CodeSystem/PpqmConsentIdentifierType"/>
              <code value="policySetId"/>
            </coding>
          </type>
          <value value="urn:uuid:bf6c1fb6-2eb9-49ad-b96b-1a4ac55fc7bd"/>
        </identifier>
        <status value="active"/>
        <scope>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/consentscope"/>
            <code value="patient-privacy"/>
          </coding>
        </scope>
        <category>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
            <code value="INFA"/>
          </coding>
        </category>
        <patient>
          <identifier>
            <system value="urn:oid:2.16.756.5.30.1.127.3.10.3"/>
            <value value="761337610000000002"/>
          </identifier>
        </patient>
        <policyRule>
          <coding>
            <system value="urn:ietf:rfc:3986"/>
            <code
                  value="urn:e-health-suisse:2015:policies:access-level:normal"/>
          </coding>
        </policyRule>
        <provision>
          <actor>
            <role>
              <coding>
                <system value="urn:oid:2.16.756.5.30.1.127.3.10.6"/>
                <code value="HCP"/>
              </coding>
            </role>
            <reference>
              <display value="all"/>
            </reference>
          </actor>
          <purpose>
            <system value="urn:oid:2.16.756.5.30.1.127.3.10.5"/>
            <code value="EMER"/>
          </purpose>
        </provision>
      </Consent>
    </resource>
    <search>
      <mode value="match"/>
      <score value="1"/>
    </search>
  </entry>
  <entry>
    <fullUrl
             value="https://fhir.ch/ppqm/Consent/PpqmConsentTemplate203Example"/>
    <resource>
      <Consent>
        <id value="PpqmConsentTemplate203Example"/>
        <meta>
          <profile
                   value="http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate203"/>
        </meta>
        <text>
          <status value="empty"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p>Template 203 - Default provide level</p></div>
        </text>
        <identifier>
          <type>
            <coding>
              <system
                      value="http://fhir.ch/ig/ch-epr-fhir/CodeSystem/PpqmConsentIdentifierType"/>
              <code value="templateId"/>
            </coding>
          </type>
          <value value="203"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system
                      value="http://fhir.ch/ig/ch-epr-fhir/CodeSystem/PpqmConsentIdentifierType"/>
              <code value="policySetId"/>
            </coding>
          </type>
          <value value="urn:uuid:710e4211-d431-430b-a849-1d689e74e4c2"/>
        </identifier>
        <status value="active"/>
        <scope>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/consentscope"/>
            <code value="patient-privacy"/>
          </coding>
        </scope>
        <category>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
            <code value="INFA"/>
          </coding>
        </category>
        <patient>
          <identifier>
            <system value="urn:oid:2.16.756.5.30.1.127.3.10.3"/>
            <value value="761337610000000002"/>
          </identifier>
        </patient>
        <policyRule>
          <coding>
            <system value="urn:ietf:rfc:3986"/>
            <code
                  value="urn:e-health-suisse:2015:policies:provide-level:restricted"/>
          </coding>
        </policyRule>
        <provision>
          <actor>
            <role>
              <coding>
                <system value="urn:oid:2.16.756.5.30.1.127.3.10.6"/>
                <code value="HCP"/>
              </coding>
            </role>
            <reference>
              <display value="all"/>
            </reference>
          </actor>
          <purpose>
            <system value="urn:oid:2.16.756.5.30.1.127.3.10.5"/>
            <code value="NORM"/>
          </purpose>
          <purpose>
            <system value="urn:oid:2.16.756.5.30.1.127.3.10.5"/>
            <code value="AUTO"/>
          </purpose>
          <purpose>
            <system value="urn:oid:2.16.756.5.30.1.127.3.10.5"/>
            <code value="DICOM_AUTO"/>
          </purpose>
        </provision>
      </Consent>
    </resource>
    <search>
      <mode value="match"/>
      <score value="1"/>
    </search>
  </entry>
</Bundle>