PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-epr-fhir@4.0.1-ballot-2
    http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate303
description: EPR policy set based on template 303 -- gives a representative full access to the patient's EPR.
package_name: ch.fhir.ig.ch-epr-fhir
derivation: constraint
name: PpqmConsentTemplate303
type: Consent
elements:
  identifier:
    index: 0
    slicing:
      slices:
        templateId:
          match: {}
          schema:
            index: 0
            elements:
              value:
                pattern: {type: String, value: '303'}
                index: 1
  policyRule:
    elements:
      coding:
        binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epr-fhir/ValueSet/PpqmReferencedPolicySetFullAccess'}
        index: 2
  provision:
    elements:
      period: {index: 3}
      actor:
        elements:
          role:
            elements:
              coding:
                pattern:
                  type: Coding
                  value: {code: REP, system: 'urn:oid:2.16.756.5.30.1.127.3.10.6'}
                index: 4
          reference:
            elements:
              identifier:
                constraint:
                  ch-epr-ppqm-no-space: {human: The value SHALL not contain any spaces, source: 'http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate303', severity: error, expression: value.matches('^\\S+$')}
                index: 5
                elements:
                  type:
                    elements:
                      coding:
                        pattern:
                          type: Coding
                          value: {code: 'urn:e-health-suisse:representative-id', system: 'urn:ietf:rfc:3986'}
                        index: 6
              display: {index: 7}
      purpose: {index: 8}
package_version: 4.0.1-ballot-2
class: profile
kind: resource
url: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate303
base: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsent
version: 4.0.1-ballot-2