PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-epr-fhir@4.0.1
    http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate302
description: EPR policy set based on template 302 -- gives a group of healthcare professionals read access to the patient's EPR, without delegation rights.
package_name: ch.fhir.ig.ch-epr-fhir
derivation: constraint
name: PpqmConsentTemplate302
type: Consent
elements:
  identifier:
    index: 0
    slicing:
      slices:
        templateId:
          match: {}
          schema:
            index: 0
            elements:
              value:
                pattern: {type: String, value: '302'}
                index: 1
  policyRule:
    elements:
      coding:
        binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epr-fhir/ValueSet/PpqmReferencedPolicySetGroupEmergency'}
        index: 2
  provision:
    elements:
      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: 3
          reference:
            elements:
              identifier:
                constraint:
                  ch-epr-ppqm-oid-format: {human: The value SHALL be an OID in URN format, source: 'http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate302', severity: error, expression: 'value.lower().matches(''^urn:oid:([0-2])((\\.0)|(\\.[1-9][0-9]*))*$'')'}
                index: 4
                elements:
                  type:
                    elements:
                      coding:
                        pattern:
                          type: Coding
                          value: {code: 'urn:oasis:names:tc:xspa:1.0:subject:organization-id', system: 'urn:ietf:rfc:3986'}
                        index: 5
              display: {index: 6}
            required: [identifier]
      purpose:
        pattern:
          type: Coding
          value: {code: NORM, system: 'urn:oid:2.16.756.5.30.1.127.3.10.5'}
        index: 7
    required: [purpose]
package_version: 4.0.1
class: profile
kind: resource
url: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate302
base: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsent
version: 4.0.1