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 PUT -- conditionally add/update policy sets - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "PpqmRequestBundleUpdate"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmRequestBundle"^^xsd:anyURI ;
fhir:link <http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmRequestBundle>     ] )
  ] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:entry ( [
    ( fhir:resource [
a fhir:Consent ;
fhir:id [ fhir:v "Template301Consent" ] ;
fhir:meta [
        ( fhir:profile [
fhir:v "http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmConsent"^^xsd:anyURI ;
fhir:link <http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmConsent>         ] )       ] ;
fhir:text [
fhir:status [ fhir:v "empty" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Template 301 - Access level for a healthcare professional</p></div>"       ] ;
      ( fhir:identifier [
fhir:type [
          ( fhir:coding [
fhir:system [ fhir:v "http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "policySetId" ]           ] )         ] ;
fhir:value [ fhir:v "urn:uuid:f1e1ed8e-0582-4e47-a76e-5e8f6cc0908f" ]       ] [
fhir:type [
          ( fhir:coding [
fhir:system [ fhir:v "http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "templateId" ]           ] )         ] ;
fhir:value [ fhir:v "301" ]       ] ) ;
fhir:status [ fhir:v "active" ] ;
fhir:scope [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/consentscope"^^xsd:anyURI ] ;
fhir:code [ fhir:v "patient-privacy" ]         ] )       ] ;
      ( fhir:category [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "INFA" ]         ] )       ] ) ;
fhir:patient [
fhir:identifier [
fhir:system [ fhir:v "urn:oid:2.16.756.5.30.1.127.3.10.3"^^xsd:anyURI ] ;
fhir:value [ fhir:v "123456789012345678" ]         ]       ] ;
fhir:policyRule [
        ( fhir:coding [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:code [ fhir:v "urn:e-health-suisse:2015:policies:access-level:delegation-and-normal" ]         ] )       ] ;
fhir:provision [
fhir:period [
fhir:end [ fhir:v "2022-02-15"^^xsd:date ]         ] ;
        ( fhir:actor [
fhir:role [
            ( fhir:coding [
fhir:system [ fhir:v "urn:oid:2.16.756.5.30.1.127.3.10.6"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HCP" ]             ] )           ] ;
fhir:reference [
fhir:identifier [
fhir:type [
                ( fhir:coding [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:code [ fhir:v "urn:gs1:gln" ]                 ] )               ] ;
fhir:value [ fhir:v "9876543210987" ]             ]           ]         ] ) ;
        ( fhir:purpose [
fhir:system [ fhir:v "urn:oid:2.16.756.5.30.1.127.3.10.5"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NORM" ]         ] )       ]     ] ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Consent?identifier=urn:uuid:f1e1ed8e-0582-4e47-a76e-5e8f6cc0908f"^^xsd:anyURI ]     ]
  ] [
    ( fhir:resource [
a fhir:Consent ;
fhir:id [ fhir:v "Template302Consent" ] ;
fhir:meta [
        ( fhir:profile [
fhir:v "http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmConsent"^^xsd:anyURI ;
fhir:link <http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmConsent>         ] )       ] ;
fhir:text [
fhir:status [ fhir:v "empty" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Template 302 -- Access level for a group of healthcare professionals</p></div>"       ] ;
      ( fhir:identifier [
fhir:type [
          ( fhir:coding [
fhir:system [ fhir:v "http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "policySetId" ]           ] )         ] ;
fhir:value [ fhir:v "urn:uuid:c23c862a-b297-43c7-875b-d933982c9756" ]       ] [
fhir:type [
          ( fhir:coding [
fhir:system [ fhir:v "http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "templateId" ]           ] )         ] ;
fhir:value [ fhir:v "302" ]       ] ) ;
fhir:status [ fhir:v "active" ] ;
fhir:scope [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/consentscope"^^xsd:anyURI ] ;
fhir:code [ fhir:v "patient-privacy" ]         ] )       ] ;
      ( fhir:category [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "INFA" ]         ] )       ] ) ;
fhir:patient [
fhir:identifier [
fhir:system [ fhir:v "urn:oid:2.16.756.5.30.1.127.3.10.3"^^xsd:anyURI ] ;
fhir:value [ fhir:v "123456789012345678" ]         ]       ] ;
fhir:policyRule [
        ( fhir:coding [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:code [ fhir:v "urn:e-health-suisse:2015:policies:access-level:restricted" ]         ] )       ] ;
fhir:provision [
fhir:period [
fhir:start [ fhir:v "2022-02-01"^^xsd:date ] ;
fhir:end [ fhir:v "2022-02-15"^^xsd:date ]         ] ;
        ( fhir:actor [
fhir:role [
            ( fhir:coding [
fhir:system [ fhir:v "urn:oid:2.16.756.5.30.1.127.3.10.6"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HCP" ]             ] )           ] ;
fhir:reference [
fhir:identifier [
fhir:type [
                ( fhir:coding [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:code [ fhir:v "urn:oasis:names:tc:xspa:1.0:subject:organization-id" ]                 ] )               ] ;
fhir:value [ fhir:v "urn:oid:1.2.3.4.5" ]             ]           ]         ] ) ;
        ( fhir:purpose [
fhir:system [ fhir:v "urn:oid:2.16.756.5.30.1.127.3.10.5"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NORM" ]         ] )       ]     ] ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Consent?identifier=urn:uuid:c23c862a-b297-43c7-875b-d933982c9756"^^xsd:anyURI ]     ]
  ] [
    ( fhir:resource [
a fhir:Consent ;
fhir:id [ fhir:v "Template303Consent" ] ;
fhir:meta [
        ( fhir:profile [
fhir:v "http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmConsent"^^xsd:anyURI ;
fhir:link <http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmConsent>         ] )       ] ;
fhir:text [
fhir:status [ fhir:v "empty" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Template 303 - Full access for a representative</p></div>"       ] ;
      ( fhir:identifier [
fhir:type [
          ( fhir:coding [
fhir:system [ fhir:v "http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "policySetId" ]           ] )         ] ;
fhir:value [ fhir:v "urn:uuid:f663289d-4cc4-41d7-a01d-213e18e1f722" ]       ] [
fhir:type [
          ( fhir:coding [
fhir:system [ fhir:v "http://fhir.ch/ig/ch-epr-ppqm/CodeSystem/PpqmConsentIdentifierType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "templateId" ]           ] )         ] ;
fhir:value [ fhir:v "303" ]       ] ) ;
fhir:status [ fhir:v "active" ] ;
fhir:scope [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/consentscope"^^xsd:anyURI ] ;
fhir:code [ fhir:v "patient-privacy" ]         ] )       ] ;
      ( fhir:category [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "INFA" ]         ] )       ] ) ;
fhir:patient [
fhir:identifier [
fhir:system [ fhir:v "urn:oid:2.16.756.5.30.1.127.3.10.3"^^xsd:anyURI ] ;
fhir:value [ fhir:v "123456789012345678" ]         ]       ] ;
fhir:policyRule [
        ( fhir:coding [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:code [ fhir:v "urn:e-health-suisse:2015:policies:access-level:full" ]         ] )       ] ;
fhir:provision [
        ( fhir:actor [
fhir:role [
            ( fhir:coding [
fhir:system [ fhir:v "urn:oid:2.16.756.5.30.1.127.3.10.6"^^xsd:anyURI ] ;
fhir:code [ fhir:v "REP" ]             ] )           ] ;
fhir:reference [
fhir:identifier [
fhir:type [
                ( fhir:coding [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:code [ fhir:v "urn:e-health-suisse:representative-id" ]                 ] )               ] ;
fhir:value [ fhir:v "representative12345" ]             ]           ]         ] )       ]     ] ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Consent?identifier=urn:uuid:f663289d-4cc4-41d7-a01d-213e18e1f722"^^xsd:anyURI ]     ]
  ] ) . #