This page is part of the Breast Radiology Report (v0.1.0: Comment Draft) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/us/breast-radiology/StructureDefinition/obf-Composition
A composition represents a set of Entries sharing common provenance, a document such as an extract from a patient record, a knowledge artifact, or a catalog definition.
This profile builds on Composition.
This profile was published on Fri Aug 02 00:00:00 EDT 2019 as a draft by Hl7 - Clinical Interoperability Council.
Summary
Mandatory: 0 element (1 nested mandatory element)
Structures
This structure refers to these other structures:
Mapping Source
This structure represents the following mapping definition:
obf.Composition maps to Composition: Language maps to language ImplicitRules maps to implicitRules Metadata.VersionId maps to meta.versionId Metadata.SourceSystem maps to meta.source Metadata.Profile maps to meta.profile Metadata.LastUpdated maps to meta.lastUpdated Metadata.SecurityLabel maps to meta.security Metadata.Tag maps to meta.tag Narrative maps to text Identifier maps to identifier Status maps to status Type maps to type Category maps to category FocalSubject maps to subject CareContext maps to encounter StatementDateTime maps to date Author maps to author Title maps to title ConfidentialityCode maps to confidentiality Attestation.AttestationMode maps to attester.mode Attestation.CreationDateTime maps to attester.time Attestation.Attester maps to attester.party ManagingOrganization maps to custodian RelatedDocument.Relationship maps to relatesTo.code RelatedDocument.TargetDocument maps to relatesTo.target[x] EventContext.Code maps to event.code EventContext.TimePeriod maps to event.period EventContext.SupportingInformation maps to event.detail Section maps to section (slice on = code; slice strategy = includes) Section.Title maps to section.title Section.Code maps to section.code Section.Author maps to section.author Section.FocalSubject maps to section.focus Section.Narrative maps to section.text Section.Type maps to section.mode Section.SortOrder maps to section.orderedBy // terrible FHIR name! Section.Resource maps to section.entry (slice on = reference.resolve(); slice on type = profile; slice strategy = includes) Section.EmptyReason maps to section.emptyReason Section.Section maps to section.section
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Composition | obf-Composition | |||
category | 0..1 | |||
subject | 1..1 | |||
encounter | Reference(US Core Encounter Profile) | |||
author | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Device Profile | US Core Patient Profile | RelatedPerson | US Core Organization Profile) | |||
attester | ||||
party | Reference(US Core Patient Profile | US Core Practitioner Profile | RelatedPerson | US Core Organization Profile | US Core PractitionerRole Profile) | |||
custodian | Reference(US Core Organization Profile) | |||
relatesTo | ||||
target[x] | ||||
targetIdentifier | Identifier | |||
targetReference | Reference(StructureDefinition-obf-Composition.html) | |||
section | ||||
author | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Device Profile | US Core Patient Profile | RelatedPerson | US Core Organization Profile) | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Composition | I | 0..* | obf-Composition | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..1 | Identifier | Version-independent identifier for the Composition |
status | ?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required) |
type | Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: FHIRDocumentTypeCodes (preferred) |
category | Σ | 0..1 | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example) |
subject | Σ | 1..1 | Reference(Resource) | Who and/or what the composition is about |
encounter | Σ | 0..1 | Reference(US Core Encounter Profile) | Context of the Composition |
date | Σ | 1..1 | dateTime | Composition editing time |
author | Σ | 1..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Device Profile | US Core Patient Profile | RelatedPerson | US Core Organization Profile) | Who and/or what authored the composition |
title | Σ | 1..1 | string | Human Readable name/title |
confidentiality | Σ | 0..1 | code | As defined by affinity domain Binding: v3.ConfidentialityClassification (2014-03-26) (required) |
attester | I | 0..* | BackboneElement | Attests to accuracy of composition |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
mode | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required) | |
time | 0..1 | dateTime | When the composition was attested | |
party | 0..1 | Reference(US Core Patient Profile | US Core Practitioner Profile | RelatedPerson | US Core Organization Profile | US Core PractitionerRole Profile) | Who attested the composition | |
custodian | Σ | 0..1 | Reference(US Core Organization Profile) | Organization which maintains the composition |
relatesTo | I | 0..* | BackboneElement | Relationships to other compositions/documents |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required) | |
target[x] | 1..1 | Target of the relationship | ||
targetIdentifier | Identifier | |||
targetReference | Reference(StructureDefinition-obf-Composition.html) | |||
event | ΣI | 0..* | BackboneElement | The clinical service(s) being documented |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | Σ | 0..* | CodeableConcept | Code(s) that apply to the event being documented Binding: v3 Code System ActCode (example) |
period | Σ | 0..1 | Period | The period covered by the documentation |
detail | Σ | 0..* | Reference(Resource) | The event(s) being documented |
section | I | 0..* | BackboneElement | Composition is broken into sections cmp-1: A section must contain at least one of text, entries, or sub-sections cmp-2: A section can only have an emptyReason if it is empty |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | 0..1 | string | Label for section (e.g. for ToC) | |
code | 0..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example) | |
author | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Device Profile | US Core Patient Profile | RelatedPerson | US Core Organization Profile) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required) | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred) | |
entry | I | 0..* | Reference(Resource) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred) |
section | I | 0..* | BackboneElement | Nested Section |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | 0..1 | string | Label for section (e.g. for ToC) | |
code | 0..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example) | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required) | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred) | |
entry | I | 0..* | Reference(Resource) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred) |
section | I | 0..* | Unknown reference to #Composition.section Nested Section | |
Documentation for this format |
Summary
Mandatory: 0 element (1 nested mandatory element)
Structures
This structure refers to these other structures:
Mapping Source
This structure represents the following mapping definition:
obf.Composition maps to Composition: Language maps to language ImplicitRules maps to implicitRules Metadata.VersionId maps to meta.versionId Metadata.SourceSystem maps to meta.source Metadata.Profile maps to meta.profile Metadata.LastUpdated maps to meta.lastUpdated Metadata.SecurityLabel maps to meta.security Metadata.Tag maps to meta.tag Narrative maps to text Identifier maps to identifier Status maps to status Type maps to type Category maps to category FocalSubject maps to subject CareContext maps to encounter StatementDateTime maps to date Author maps to author Title maps to title ConfidentialityCode maps to confidentiality Attestation.AttestationMode maps to attester.mode Attestation.CreationDateTime maps to attester.time Attestation.Attester maps to attester.party ManagingOrganization maps to custodian RelatedDocument.Relationship maps to relatesTo.code RelatedDocument.TargetDocument maps to relatesTo.target[x] EventContext.Code maps to event.code EventContext.TimePeriod maps to event.period EventContext.SupportingInformation maps to event.detail Section maps to section (slice on = code; slice strategy = includes) Section.Title maps to section.title Section.Code maps to section.code Section.Author maps to section.author Section.FocalSubject maps to section.focus Section.Narrative maps to section.text Section.Type maps to section.mode Section.SortOrder maps to section.orderedBy // terrible FHIR name! Section.Resource maps to section.entry (slice on = reference.resolve(); slice on type = profile; slice strategy = includes) Section.EmptyReason maps to section.emptyReason Section.Section maps to section.section
Differential View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Composition | obf-Composition | |||
category | 0..1 | |||
subject | 1..1 | |||
encounter | Reference(US Core Encounter Profile) | |||
author | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Device Profile | US Core Patient Profile | RelatedPerson | US Core Organization Profile) | |||
attester | ||||
party | Reference(US Core Patient Profile | US Core Practitioner Profile | RelatedPerson | US Core Organization Profile | US Core PractitionerRole Profile) | |||
custodian | Reference(US Core Organization Profile) | |||
relatesTo | ||||
target[x] | ||||
targetIdentifier | Identifier | |||
targetReference | Reference(StructureDefinition-obf-Composition.html) | |||
section | ||||
author | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Device Profile | US Core Patient Profile | RelatedPerson | US Core Organization Profile) | |||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Composition | I | 0..* | obf-Composition | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..1 | Identifier | Version-independent identifier for the Composition |
status | ?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required) |
type | Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: FHIRDocumentTypeCodes (preferred) |
category | Σ | 0..1 | CodeableConcept | Categorization of Composition Binding: DocumentClassValueSet (example) |
subject | Σ | 1..1 | Reference(Resource) | Who and/or what the composition is about |
encounter | Σ | 0..1 | Reference(US Core Encounter Profile) | Context of the Composition |
date | Σ | 1..1 | dateTime | Composition editing time |
author | Σ | 1..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Device Profile | US Core Patient Profile | RelatedPerson | US Core Organization Profile) | Who and/or what authored the composition |
title | Σ | 1..1 | string | Human Readable name/title |
confidentiality | Σ | 0..1 | code | As defined by affinity domain Binding: v3.ConfidentialityClassification (2014-03-26) (required) |
attester | I | 0..* | BackboneElement | Attests to accuracy of composition |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
mode | 1..1 | code | personal | professional | legal | official Binding: CompositionAttestationMode (required) | |
time | 0..1 | dateTime | When the composition was attested | |
party | 0..1 | Reference(US Core Patient Profile | US Core Practitioner Profile | RelatedPerson | US Core Organization Profile | US Core PractitionerRole Profile) | Who attested the composition | |
custodian | Σ | 0..1 | Reference(US Core Organization Profile) | Organization which maintains the composition |
relatesTo | I | 0..* | BackboneElement | Relationships to other compositions/documents |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required) | |
target[x] | 1..1 | Target of the relationship | ||
targetIdentifier | Identifier | |||
targetReference | Reference(StructureDefinition-obf-Composition.html) | |||
event | ΣI | 0..* | BackboneElement | The clinical service(s) being documented |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | Σ | 0..* | CodeableConcept | Code(s) that apply to the event being documented Binding: v3 Code System ActCode (example) |
period | Σ | 0..1 | Period | The period covered by the documentation |
detail | Σ | 0..* | Reference(Resource) | The event(s) being documented |
section | I | 0..* | BackboneElement | Composition is broken into sections cmp-1: A section must contain at least one of text, entries, or sub-sections cmp-2: A section can only have an emptyReason if it is empty |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | 0..1 | string | Label for section (e.g. for ToC) | |
code | 0..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example) | |
author | 0..* | Reference(US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Device Profile | US Core Patient Profile | RelatedPerson | US Core Organization Profile) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required) | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred) | |
entry | I | 0..* | Reference(Resource) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred) |
section | I | 0..* | BackboneElement | Nested Section |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title | 0..1 | string | Label for section (e.g. for ToC) | |
code | 0..1 | CodeableConcept | Classification of section (recommended) Binding: DocumentSectionCodes (example) | |
author | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section | |
focus | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition | |
text | I | 0..1 | Narrative | Text summary of the section, for human interpretation |
mode | 0..1 | code | working | snapshot | changes Binding: ListMode (required) | |
orderedBy | 0..1 | CodeableConcept | Order of section entries Binding: ListOrderCodes (preferred) | |
entry | I | 0..* | Reference(Resource) | A reference to data that supports this section |
emptyReason | I | 0..1 | CodeableConcept | Why the section is empty Binding: ListEmptyReasons (preferred) |
section | I | 0..* | Unknown reference to #Composition.section Nested Section | |
Documentation for this format |
Downloads: StructureDefinition: (XML, JSON, TTL), Schema: XML Schematron
Path | Conformance | ValueSet |
Composition.language | preferred | CommonLanguages Max Binding: AllLanguages |
Composition.status | required | CompositionStatus |
Composition.type | preferred | FHIRDocumentTypeCodes |
Composition.category | example | DocumentClassValueSet |
Composition.confidentiality | required | v3.ConfidentialityClassification |
Composition.attester.mode | required | CompositionAttestationMode |
Composition.relatesTo.code | required | DocumentRelationshipType |
Composition.event.code | example | v3.ActCode |
Composition.section.code | example | DocumentSectionCodes |
Composition.section.mode | required | ListMode |
Composition.section.orderedBy | preferred | ListOrderCodes |
Composition.section.emptyReason | preferred | ListEmptyReasons |
Composition.section.section.code | example | DocumentSectionCodes |
Composition.section.section.mode | required | ListMode |
Composition.section.section.orderedBy | preferred | ListOrderCodes |
Composition.section.section.emptyReason | preferred | ListEmptyReasons |
Id | Path | Details | Requirements |
dom-2 | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-4 | Composition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-3 | Composition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-6 | Composition | A resource should have narrative for robust management : text.div.exists() | |
dom-5 | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
ele-1 | Composition.attester | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Composition.relatesTo | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Composition.event | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Composition.section | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
cmp-1 | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() |