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'} type: string 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: REP, system: 'urn:oid:2.16.756.5.30.1.127.3.10.6'} type: Coding index: 3 reference: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 4 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'} type: Coding index: 6 display: {index: 7} purpose: {index: 8} package_version: 5.0.0-ballot 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: 5.0.0-ballot