CH EPR PPQm (R4)
2.0.0-ballot - ballot Switzerland flag

This page is part of the CH EPR PPQm (R4) (v2.0.0-ballot: Draft Ballot 1) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: PPQm Request Bundle for HTTP method POST -- add new policy sets - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="PpqmRequestBundleAdd"/>
  <meta>
    <profile
             value="http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmRequestBundle"/>
  </meta>
  <type value="transaction"/>
  <entry>
    <resource>
      <Consent>
        <id value="Template201Consent"/>
        <meta>
          <profile
                   value="http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmConsent"/>
        </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-ppqm/CodeSystem/PpqmConsentIdentifierType"/>
              <code value="policySetId"/>
            </coding>
          </type>
          <value value="urn:uuid:57ab9b0d-7d97-4d85-9e4b-02bc7c939ad9"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system
                      value="http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType"/>
              <code value="templateId"/>
            </coding>
          </type>
          <value value="201"/>
        </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="123456789012345678"/>
          </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>
                <value value="123456789012345678"/>
              </identifier>
            </reference>
          </actor>
        </provision>
      </Consent>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Consent"/>
    </request>
  </entry>
  <entry>
    <resource>
      <Consent>
        <id value="Template202Consent"/>
        <meta>
          <profile
                   value="http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmConsent"/>
        </meta>
        <text>
          <status value="empty"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p>Template 202 - Access in emergency mode</p></div>
        </text>
        <identifier>
          <type>
            <coding>
              <system
                      value="http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType"/>
              <code value="policySetId"/>
            </coding>
          </type>
          <value value="urn:uuid:bf6c1fb6-2eb9-49ad-b96b-1a4ac55fc7bd"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system
                      value="http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType"/>
              <code value="templateId"/>
            </coding>
          </type>
          <value value="202"/>
        </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="123456789012345678"/>
          </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>
    <request>
      <method value="POST"/>
      <url value="Consent"/>
    </request>
  </entry>
  <entry>
    <resource>
      <Consent>
        <id value="Template203Consent"/>
        <meta>
          <profile
                   value="http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmConsent"/>
        </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-ppqm/CodeSystem/PpqmConsentIdentifierType"/>
              <code value="policySetId"/>
            </coding>
          </type>
          <value value="urn:uuid:710e4211-d431-430b-a849-1d689e74e4c2"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system
                      value="http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType"/>
              <code value="templateId"/>
            </coding>
          </type>
          <value value="203"/>
        </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="123456789012345678"/>
          </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>
    <request>
      <method value="POST"/>
      <url value="Consent"/>
    </request>
  </entry>
</Bundle>