description: null package_name: digi.derm derivation: constraint name: Consent type: Consent elements: category: index: 3 elements: coding: index: 4 slicing: rules: open discriminator: - {path: code, type: value} min: 1 slices: '342151000000109': match: {code: '342151000000109'} schema: _required: true index: 5 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 6 version: {index: 7} code: pattern: {type: Code, value: '342151000000109'} index: 8 display: {index: 9} userSelected: {index: 10} required: [display, system, code] '704498007': match: {code: '704498007'} schema: _required: true index: 11 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 12 version: {index: 13} code: pattern: {type: Code, value: '704498007'} index: 14 display: {index: 15} userSelected: {index: 16} required: [display, system, code] text: {index: 17} required: [coding] provision: {index: 48} date: {index: 23} controller: {index: 36} policyBasis: {index: 44} regulatoryBasis: {index: 43} sourceAttachment: {index: 37} verification: {index: 46} grantor: index: 25 elements: reference: pattern: {type: String, value: 'https://api.products.ndp.scot/storage/digital-dermatology/StructureDefinition/Patient'} index: 26 type: pattern: {type: Uri, value: Patient} index: 27 identifier: {index: 28} display: {index: 29} required: [reference, type] sourceReference: index: 38 elements: reference: pattern: {type: String, value: 'https://api.products.ndp.scot/storage/digital-dermatology/StructureDefinition/QuestionnaireResponse'} index: 39 type: pattern: {type: Uri, value: QuestionnaireResponse} index: 40 identifier: {index: 41} display: {index: 42} required: [reference, type] manager: {index: 35} status: pattern: {type: Code, value: active} index: 2 identifier: {index: 1} period: {index: 24} grantee: index: 30 elements: reference: pattern: {type: String, value: 'https://api.products.ndp.scot/storage/digital-dermatology/StructureDefinition/Patient'} index: 31 type: pattern: {type: Uri, value: Patient} index: 32 identifier: {index: 33} display: {index: 34} required: [reference, type] policyText: {index: 45} subject: index: 18 elements: reference: pattern: {type: String, value: 'https://api.products.ndp.scot/storage/digital-dermatology/StructureDefinition/Patient'} index: 19 type: pattern: {type: Uri, value: Patient} index: 20 identifier: {index: 21} display: {index: 22} required: [reference, type] decision: pattern: {type: Code, value: permit} index: 47 text: {index: 0} package_version: 0.1.0 class: profile kind: resource url: https://example.org/fhir/StructureDefinition/Consent base: http://hl7.org/fhir/StructureDefinition/Consent version: null required: [grantor, grantee, sourceReference, decision, subject, date, category]