PpqmRetrieveResponseBundle
type: Bundle
node role: treeRoot
id:
  v: PpqmRetrieveResponseBundle
meta:
  profile:
    v: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmRetrieveResponseBundle
    link: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmRetrieveResponseBundle
type:
  v: searchset
total:
  v: 3
link:
  relation:
    v: self
  url:
    v: http://example.com/ppqm/Consent
entry:
  full url:
    v: http://example.com/ppqm/Consent/PpqmConsentTemplate201Example
  resource: PpqmConsentTemplate201Example
  search:
    mode:
      v: match
    score:
      v: 1
entry:
  full url:
    v: http://example.com/ppqm/Consent/PpqmConsentTemplate202Example
  resource: PpqmConsentTemplate202Example
  search:
    mode:
      v: match
    score:
      v: 1
entry:
  full url:
    v: http://example.com/ppqm/Consent/PpqmConsentTemplate203Example
  resource: PpqmConsentTemplate203Example
  search:
    mode:
      v: match
    score:
      v: 1

PpqmConsentTemplate201Example
type: Consent
id:
  v: PpqmConsentTemplate201Example
meta:
  profile:
    v: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate201
    link: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate201
text:
  status:
    v: empty
  div: Template 201 - Full access for the patient
identifier:
  type:
    coding:
      system:
        v: http://fhir.ch/ig/ch-epr-fhir/CodeSystem/PpqmConsentIdentifierType
      code:
        v: policySetId
identifier:
  type:
    coding:
      system:
        v: http://fhir.ch/ig/ch-epr-fhir/CodeSystem/PpqmConsentIdentifierType
      code:
        v: templateId
  value:
    v: 201
status:
  v: active
scope:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/consentscope
    code:
      v: patient-privacy
category:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/v3-ActCode
    code:
      v: INFA
patient:
  identifier:
    system:
      v: urn:oid:2.16.756.5.30.1.127.3.10.3
    value:
      v: 761337610000000002
policy rule:
  coding:
    system:
      v: urn:ietf:rfc:3986
    code:
      v: urn:e-health-suisse:2015:policies:access-level:full

PpqmConsentTemplate202Example
type: Consent
id:
  v: PpqmConsentTemplate202Example
meta:
  profile:
    v: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate202
    link: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate202
text:
  status:
    v: empty
  div: Template 202 - Read access in emergency mode
identifier:
  type:
    coding:
      system:
        v: http://fhir.ch/ig/ch-epr-fhir/CodeSystem/PpqmConsentIdentifierType
      code:
        v: policySetId
identifier:
  type:
    coding:
      system:
        v: http://fhir.ch/ig/ch-epr-fhir/CodeSystem/PpqmConsentIdentifierType
      code:
        v: templateId
  value:
    v: 202
status:
  v: active
scope:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/consentscope
    code:
      v: patient-privacy
category:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/v3-ActCode
    code:
      v: INFA
patient:
  identifier:
    system:
      v: urn:oid:2.16.756.5.30.1.127.3.10.3
    value:
      v: 761337610000000002
policy rule:
  coding:
    system:
      v: urn:ietf:rfc:3986
    code:
      v: urn:e-health-suisse:2015:policies:access-level:normal
provision:
  actor:
    reference:
      display:
        v: all
  purpose:
    system:
      v: urn:oid:2.16.756.5.30.1.127.3.10.5
    code:
      v: EMER

PpqmConsentTemplate203Example
type: Consent
id:
  v: PpqmConsentTemplate203Example
meta:
  profile:
    v: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate203
    link: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate203
text:
  status:
    v: empty
  div: Template 203 - Default provide level
identifier:
  type:
    coding:
      system:
        v: http://fhir.ch/ig/ch-epr-fhir/CodeSystem/PpqmConsentIdentifierType
      code:
        v: policySetId
identifier:
  type:
    coding:
      system:
        v: http://fhir.ch/ig/ch-epr-fhir/CodeSystem/PpqmConsentIdentifierType
      code:
        v: templateId
  value:
    v: 203
status:
  v: active
scope:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/consentscope
    code:
      v: patient-privacy
category:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/v3-ActCode
    code:
      v: INFA
patient:
  identifier:
    system:
      v: urn:oid:2.16.756.5.30.1.127.3.10.3
    value:
      v: 761337610000000002
policy rule:
  coding:
    system:
      v: urn:ietf:rfc:3986
    code:
      v: urn:e-health-suisse:2015:policies:provide-level:restricted
provision:
  actor:
    reference:
      display:
        v: all
  purpose:
    system:
      v: urn:oid:2.16.756.5.30.1.127.3.10.5
    code:
      v: NORM
  purpose:
    system:
      v: urn:oid:2.16.756.5.30.1.127.3.10.5
    code:
      v: AUTO
  purpose:
    system:
      v: urn:oid:2.16.756.5.30.1.127.3.10.5
    code:
      v: DICOM_AUTO

v: urn:oid:2.16.756.5.30.1.127.3.10.6

v: PAT

coding:
  system:
    v: urn:ietf:rfc:3986
  code:
    v: urn:e-health-suisse:2015:epr-spid

v: urn:oid:2.16.756.5.30.1.127.3.10.3

v: 761337610000000002

v: urn:oid:2.16.756.5.30.1.127.3.10.6

v: HCP

v: urn:oid:2.16.756.5.30.1.127.3.10.6

v: HCP