PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-epr-fhir@4.0.0-ballot
    http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate304
description: EPR policy set based on template 304 -- gives a particular healthcare professional read access to the patient's EPR, with delegation rights.
package_name: ch.fhir.ig.ch-epr-fhir
derivation: constraint
name: PpqmConsentTemplate304
type: Consent
elements:
  identifier:
    index: 0
    slicing:
      slices:
        templateId:
          match: {}
          schema:
            index: 0
            elements:
              value:
                pattern: {type: String, value: '304'}
                index: 1
  policyRule:
    elements:
      coding:
        binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-epr-fhir/ValueSet/PpqmReferencedPolicySetFullAccess'}
        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:
                type: Identifier
                index: 4
                elements:
                  type:
                    elements:
                      coding:
                        pattern:
                          type: Coding
                          value: {code: 'urn:gs1:gln', 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.0-ballot
class: profile
kind: resource
url: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsentTemplate304
base: http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/PpqmConsent
version: 4.0.0-ballot