PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-epr-fhir@4.0.1-ballot
    http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate203
description: EPR policy set based on template 203 -- defines the minimal confidentiality level of documents.  This policy set shall be created during the patient's onboarding, but can be modified later.
package_name: ch.fhir.ig.ch-epr-fhir
derivation: constraint
name: PpqmConsentTemplate203
type: Consent
elements:
  identifier:
    index: 0
    slicing:
      slices:
        templateId:
          match: {}
          schema:
            index: 0
            elements:
              value:
                pattern: {type: String, value: '203'}
                index: 1
  policyRule:
    elements:
      coding:
        binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epr-fhir/ValueSet/PpqmReferencedPolicySetDefaultProvide'}
        index: 2
  provision:
    elements:
      period: {index: 3}
      actor:
        elements:
          role:
            elements:
              coding:
                pattern:
                  type: Coding
                  value: {code: HCP, system: 'urn:oid:2.16.756.5.30.1.127.3.10.6'}
                index: 4
          reference:
            elements:
              identifier: {index: 5}
              display:
                pattern: {type: String, value: all}
                index: 6
      purpose:
        array: true
        min: 3
        max: 3
        index: 7
        slicing:
          rules: open
          description: Purpose of Use
          discriminator:
          - {path: $this, type: value}
          min: 3
          max: 3
          slices:
            norm:
              match: {code: NORM, system: 'urn:oid:2.16.756.5.30.1.127.3.10.5'}
              schema:
                pattern:
                  type: Coding
                  value: {code: NORM, system: 'urn:oid:2.16.756.5.30.1.127.3.10.5'}
                _required: true
                index: 8
              min: 1
              max: 1
            auto:
              match: {code: AUTO, system: 'urn:oid:2.16.756.5.30.1.127.3.10.5'}
              schema:
                pattern:
                  type: Coding
                  value: {code: AUTO, system: 'urn:oid:2.16.756.5.30.1.127.3.10.5'}
                _required: true
                index: 9
              min: 1
              max: 1
            dicom_auto:
              match: {code: DICOM_AUTO, system: 'urn:oid:2.16.756.5.30.1.127.3.10.5'}
              schema:
                pattern:
                  type: Coding
                  value: {code: DICOM_AUTO, system: 'urn:oid:2.16.756.5.30.1.127.3.10.5'}
                _required: true
                index: 10
              min: 1
              max: 1
package_version: 4.0.1-ballot
class: profile
kind: resource
url: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate203
base: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsent
version: 4.0.1-ballot