description: null package_name: uk.nhsdigital.r4 derivation: constraint name: NHSDigital-DocumentReference type: DocumentReference elements: type: binding: {strength: extensible, valueSet: 'https://fhir.nhs.uk/ValueSet/NHSDigital-DocumentType'} index: 0 elements: coding: index: 1 elements: system: {index: 2} code: {index: 3} display: {index: 4} required: [display, system, code] required: [coding] context: elements: practiceSetting: index: 5 slicing: rules: open discriminator: - {path: coding.system, type: value} min: null slices: NHSDataDictionaryTreatmentFunction: match: coding: {system: 'https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-treatment-function'} schema: binding: {strength: required, valueSet: 'https://fhir.nhs.uk/ValueSet/NHSDataModelAndDictionary-treatment-function'} index: 6 elements: coding: elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-treatment-function'} index: 7 UKCoreCareSettingSNOMED: match: coding: {system: 'http://snomed.info/sct'} schema: binding: {strength: extensible, valueSet: 'https://fhir.nhs.uk/ValueSet/NHSDigital-CareSettingType'} index: 8 elements: coding: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 9 package_version: 2.1.7-discovery class: profile kind: resource url: https://fhir.nhs.uk/StructureDefinition/NHSDigital-DocumentReference base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-DocumentReference version: null