description: Patient Consent to this Order package_name: ch.fhir.ig.ch-orf derivation: constraint name: ChOrfPatientConsent type: Extension elements: extension: {index: 0} url: pattern: {type: Uri, value: 'http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-patientconsent'} index: 1 value: choices: [] index: 3 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueReference: match: {} schema: short: valueReference choices: [valueReference] _required: true index: 5 min: 1 max: 1 valueReference: short: valueReference refers: ['http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-consent'] type: Reference choiceOf: value index: 6 slicing: slices: valueReference: match: {} schema: short: valueReference refers: ['http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-consent'] type: Reference _required: true choiceOf: value index: 6 min: 1 max: 1 package_version: 2.0.0-ballot extensions: {} class: extension kind: complex-type url: http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-patientconsent base: http://hl7.org/fhir/StructureDefinition/Extension version: 2.0.0-ballot required: [valueReference, value]