Skip to main content

Composition

ResourceFoundation · DocumentsTrial useMaturity 2

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. A Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition must be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition must be included as subsequent entries in the Bundle (for example Patient, Practitioner, Encounter, etc.).

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
18 of 18 parameters tested

Structure​

ElementCard.TypeDescription
identifierΣ
0..1IdentifierVersion-independent identifier for the Composition
statusRequired?!Σ
1..1codepreliminary | final | amended | entered-in-errorBinding (required): composition-status
typeRequiredΣ
1..1CodeableConceptKind of composition (LOINC if possible)Binding (preferred): doc-typecodes
categoryΣ
0..*CodeableConceptCategorization of CompositionBinding (example): document-classcodes
subjectΣ
0..1Reference(Resource)Who and/or what the composition is about
encounterΣ
0..1Reference(Encounter)Context of the Composition
dateRequiredΣ
1..1dateTimeComposition editing time
authorRequiredΣ
1..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the composition
titleRequiredΣ
1..1stringHuman Readable name/title
confidentialityΣ
0..1codeAs defined by affinity domainBinding (required): v3-ConfidentialityClassification
attester
0..*BackboneElementAttests to accuracy of composition
modeRequired
1..1codepersonal | professional | legal | officialBinding (required): composition-attestation-mode
time
0..1dateTimeWhen the composition was attested
party
0..1Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization)Who attested the composition
custodianΣ
0..1Reference(Organization)Organization which maintains the composition
relatesTo
0..*BackboneElementRelationships to other compositions/documents
codeRequired
1..1codereplaces | transforms | signs | appendsBinding (required): document-relationship-type
target[x]Required
1..1Identifier | Reference(Composition)Target of the relationship
eventΣ
0..*BackboneElementThe clinical service(s) being documented
codeΣ
0..*CodeableConceptCode(s) that apply to the event being documentedBinding (example): v3-ActCode
periodΣ
0..1PeriodThe period covered by the documentation
detailΣ
0..*Reference(Resource)The event(s) being documented
section
0..*BackboneElementComposition is broken into sections
title
0..1stringLabel for section (e.g. for ToC)
code
0..1CodeableConceptClassification of section (recommended)Binding (example): doc-section-codes
author
0..*Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Who and/or what authored the section
focus
0..1Reference(Resource)Who/what the section is about, when it is not about the subject of composition
text
0..1NarrativeText summary of the section, for human interpretation
mode
0..1codeworking | snapshot | changesBinding (required): list-mode
orderedBy
0..1CodeableConceptOrder of section entriesBinding (preferred): list-order
entry
0..*Reference(Resource)A reference to data that supports this section
emptyReason
0..1CodeableConceptWhy the section is emptyBinding (preferred): list-empty-reason
section
0..*Same as Composition.sectionNested Section

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/Composition?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
attesterreference

Who attested the composition

Composition.attester.party
authorreference

Who and/or what authored the composition

Composition.author
categorytoken

Categorization of Composition

Composition.category
confidentialitytoken

As defined by affinity domain

Composition.confidentiality
contexttoken

Code(s) that apply to the event being documented

Composition.event.code
datedate

Composition editing time

Composition.date
encounterreference

Context of the Composition

Composition.encounter
entryreference

A reference to data that supports this section

Composition.section.entry
identifiertoken

Version-independent identifier for the Composition

Composition.identifier
patientreference

Who and/or what the composition is about

Composition.subject.where(resolve() is Patient)
perioddate

The period covered by the documentation

Composition.event.period
sectiontoken

Classification of section (recommended)

Composition.section.code
statustoken

preliminary | final | amended | entered-in-error

Composition.status
subjectreference

Who and/or what the composition is about

Composition.subject
titlestring

Human Readable name/title

Composition.title
typetoken

Kind of composition (LOINC if possible)

Composition.type

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition