PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.core@3.2.0
    http://hl7.org/fhir/StructureDefinition/Composition
description: 'A set of healthcare-related information that is assembled together into a single logical document 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. While a Composition defines the structure, it does not actually contain the content: rather the full content of a document is contained in a Bundle, of which the Composition is the first resource contained.'
package_name: hl7.fhir.core
derivation: specialization
name: Composition
type: Composition
elements:
  date: {short: Composition editing time, type: dateTime, isSummary: true, index: 6}
  encounter:
    short: Context of the Composition
    refers: ['http://hl7.org/fhir/StructureDefinition/Encounter']
    type: Reference
    isSummary: true
    index: 5
  section:
    constraint:
      cmp-1: {human: 'A section must contain at least one of text, entries, or sub-sections', severity: error, expression: text.exists() or entry.exists() or section.exists()}
      cmp-2: {human: A section can only have an emptyReason if it is empty, severity: error, expression: emptyReason.empty() or entry.empty()}
    short: Composition is broken into sections
    type: BackboneElement
    array: true
    index: 25
    elements:
      title: {short: Label for section (e.g. for ToC), type: string, index: 26}
      code: {short: Classification of section (recommended), type: CodeableConcept, index: 27}
      text: {short: 'Text summary of the section, for human interpretation', type: Narrative, index: 28}
      mode: {isModifier: true, short: working | snapshot | changes, type: code, isSummary: true, index: 29}
      orderedBy: {short: Order of section entries, type: CodeableConcept, index: 30}
      entry:
        short: A reference to data that supports this section
        refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
        type: Reference
        array: true
        index: 31
      emptyReason: {short: Why the section is empty, type: CodeableConcept, index: 32}
      section:
        elementReference: ['http://hl7.org/fhir/StructureDefinition/Composition', elements, section]
        short: Nested Section
        array: true
        index: 33
  attester:
    short: Attests to accuracy of composition
    type: BackboneElement
    array: true
    isSummary: true
    index: 10
    elements:
      mode: {min: 1, short: personal | professional | legal | official, type: code, array: true, isSummary: true, index: 11}
      time: {short: When the composition was attested, type: dateTime, isSummary: true, index: 12}
      party:
        short: Who attested the composition
        refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole']
        type: Reference
        isSummary: true
        index: 13
    required: [mode]
  type: {short: Kind of composition (LOINC if possible), type: CodeableConcept, isSummary: true, index: 2}
  title: {short: Human Readable name/title, type: string, isSummary: true, index: 8}
  author:
    min: 1
    short: Who and/or what authored the composition
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    type: Reference
    array: true
    isSummary: true
    index: 7
  event:
    short: The clinical service(s) being documented
    type: BackboneElement
    array: true
    isSummary: true
    index: 21
    elements:
      code: {short: Code(s) that apply to the event being documented, type: CodeableConcept, array: true, isSummary: true, index: 22}
      period: {short: The period covered by the documentation, type: Period, isSummary: true, index: 23}
      detail:
        short: The event(s) being documented
        refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
        type: Reference
        array: true
        isSummary: true
        index: 24
  custodian:
    short: Organization which maintains the composition
    refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
    type: Reference
    isSummary: true
    index: 14
  status: {isModifier: true, short: preliminary | final | amended | entered-in-error, type: code, isSummary: true, index: 1}
  class: {short: Categorization of Composition, type: CodeableConcept, isSummary: true, index: 3}
  identifier: {short: Logical identifier of composition (version-independent), type: Identifier, isSummary: true, index: 0}
  relatesTo:
    short: Relationships to other compositions/documents
    type: BackboneElement
    array: true
    isSummary: true
    index: 15
    elements:
      code: {short: replaces | transforms | signs | appends, type: code, isSummary: true, index: 16}
      target:
        short: Target of the relationship
        choices: [targetIdentifier, targetReference]
        isSummary: true
        index: 18
      targetIdentifier: {short: Target of the relationship, type: Identifier, choiceOf: target, isSummary: true, index: 19}
      targetReference:
        short: Target of the relationship
        refers: ['http://hl7.org/fhir/StructureDefinition/Composition']
        type: Reference
        choiceOf: target
        isSummary: true
        index: 20
    required: [targetReference, target, targetIdentifier, code]
  subject:
    short: Who and/or what the composition is about
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    type: Reference
    isSummary: true
    index: 4
  confidentiality: {isModifier: true, short: As defined by affinity domain, type: code, isSummary: true, index: 9}
package_version: 3.2.0
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/Composition
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: null
required: [author, status, title, type, date]