CH EPR PPQm (R4)
2.0.0 - draft Switzerland flag

This page is part of the CH EPR PPQm (R4) (v2.0.0: DSTU 2 Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: PPQm Feed Request Bundle for HTTP method POST -- add new 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 "PpqmFeedRequestBundleAdd"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmFeedRequestBundle"^^xsd:anyURI ;
fhir:link <http://fhir.ch/ig/ch-epr-ppqm/StructureDefinition/PpqmFeedRequestBundle>     ] )
  ] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:entry ( [
    ( fhir:resource [
a fhir:Consent ;
fhir:id [ fhir:v "Template201Consent" ] ;
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 201 - Full access for the patient</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:57ab9b0d-7d97-4d85-9e4b-02bc7c939ad9" ]       ] [
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 "201" ]       ] ) ;
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 "PAT" ]             ] )           ] ;
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:2015:epr-spid" ]                 ] )               ] ;
fhir:value [ fhir:v "123456789012345678" ]             ]           ]         ] )       ]     ] ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Consent"^^xsd:anyURI ]     ]
  ] [
    ( fhir:resource [
a fhir:Consent ;
fhir:id [ fhir:v "Template202Consent" ] ;
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 202 - Access in emergency mode</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:bf6c1fb6-2eb9-49ad-b96b-1a4ac55fc7bd" ]       ] [
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 "202" ]       ] ) ;
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:normal" ]         ] )       ] ;
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 "HCP" ]             ] )           ] ;
fhir:reference [
fhir:display [ fhir:v "all" ]           ]         ] ) ;
        ( fhir:purpose [
fhir:system [ fhir:v "urn:oid:2.16.756.5.30.1.127.3.10.5"^^xsd:anyURI ] ;
fhir:code [ fhir:v "EMER" ]         ] )       ]     ] ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Consent"^^xsd:anyURI ]     ]
  ] [
    ( fhir:resource [
a fhir:Consent ;
fhir:id [ fhir:v "Template203Consent" ] ;
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 203 - Default provide level</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:710e4211-d431-430b-a849-1d689e74e4c2" ]       ] [
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 "203" ]       ] ) ;
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:provide-level:restricted" ]         ] )       ] ;
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 "HCP" ]             ] )           ] ;
fhir:reference [
fhir:display [ fhir:v "all" ]           ]         ] ) ;
        ( 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:system [ fhir:v "urn:oid:2.16.756.5.30.1.127.3.10.5"^^xsd:anyURI ] ;
fhir:code [ fhir:v "AUTO" ]         ] [
fhir:system [ fhir:v "urn:oid:2.16.756.5.30.1.127.3.10.5"^^xsd:anyURI ] ;
fhir:code [ fhir:v "DICOM_AUTO" ]         ] )       ]     ] ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Consent"^^xsd:anyURI ]     ]
  ] ) . #