description: The Clinical Document profile constrains Composition to specify a clinical document (matching CDA). \n\nThe base Composition is a general resource for compositions or documents about any kind of subject that might be encountered in healthcare including such things as guidelines, medicines, etc. A clinical document is focused on documents related to the provision of care process, where the subject is a patient, a group of patients, or a closely related concept. A clinical document has additional requirements around confidentiality that do not apply in the same way to other kinds of documents. package_name: hl7.fhir.r5.examples derivation: constraint name: ClinicalDocument type: Composition elements: extension: type: Extension short: Version-specific identifier for composition url: http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber index: 0 slicing: slices: versionNumber: match: {} schema: {type: Extension, short: Version-specific identifier for composition, url: 'http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber', index: 0} subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner'] index: 1 package_version: 5.0.0-draft-final extensions: versionNumber: {url: 'http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber', type: Extension, short: Version-specific identifier for composition, index: 0} class: profile kind: resource url: http://hl7.org/fhir/StructureDefinition/clinicaldocument base: http://hl7.org/fhir/StructureDefinition/Composition version: 5.0.0-draft-final