description: Profile to specify if the patient gave an informed consent to this order; in particulars for spitex \nand transfer to retirement home etc. package_name: ch.fhir.ig.ch derivation: constraint name: ChOrfConsent type: Consent elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: consentCode: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-consentcode', index: 1} min: 0 max: 1 consentNote: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-consentnote', index: 2} min: 0 max: 1 status: pattern: {type: Code, value: active} index: 3 scope: pattern: type: CodeableConcept value: coding: - {code: patient-privacy, system: 'http://terminology.hl7.org/CodeSystem/consentscope'} index: 4 category: pattern: type: CodeableConcept value: coding: - {code: 59284-0, system: 'http://loinc.org'} index: 5 policyRule: short: Element required due to rule 'ppc-1'. Because it is not applicable in the context of CH ORF, a data absent reason is given. index: 6 extensions: data-absent-reason: url: http://hl7.org/fhir/StructureDefinition/data-absent-reason type: Extension index: 8 elements: value: pattern: {type: Code, value: not-applicable} choices: [] index: 10 elements: extension: index: 7 slicing: slices: data-absent-reason: match: {} schema: type: Extension url: http://hl7.org/fhir/StructureDefinition/data-absent-reason index: 8 elements: value: pattern: {type: Code, value: not-applicable} choices: [] index: 10 required: [extension] package_version: orf-2.0.1 extensions: consentCode: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-consentcode', min: 0, max: 1, type: Extension, mustSupport: true, index: 1} consentNote: {url: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-consentnote', min: 0, max: 1, type: Extension, mustSupport: true, index: 2} class: profile kind: resource url: http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-consent base: http://hl7.org/fhir/StructureDefinition/Consent version: 2.0.1