description: This profile allows a record of a set of healthcare-related information that is assembled together into a single logical package that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. package_name: fhir.r4.wales derivation: constraint name: DataStandardsWalesComposition type: Composition elements: encounter: type: Reference refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Encounter'] index: 0 author: type: Reference refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Device', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-RelatedPerson'] index: 1 attester: elements: party: type: Reference refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-RelatedPerson'] index: 2 custodian: type: Reference refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization'] index: 3 relatesTo: elements: target: choices: [targetIdentifier, targetReference] index: 5 targetIdentifier: {type: Identifier, choiceOf: target, index: 6} targetReference: type: Reference choiceOf: target refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Composition'] index: 7 section: elements: author: type: Reference refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Device', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-RelatedPerson'] index: 8 package_version: 2.3.0 class: profile kind: resource url: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Composition base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition version: 0.1.0