This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2
Profile for composition
{ "resourceType": "Profile", "text": { "status": "generated", "div": "<div><pre>\r\n<<a title=\"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.\" class=\"dict\" href=\"composition-definitions.html#Composition\"><b>Composition</b></a> xmlns="http://hl7.org/fhir"> <span style=\"float: right\"><a title=\"Documentation for this format\" href=\"formats.html\"><img alt=\"doco\" src=\"help.png\"/></a></span>\r\n <!-- from <a href=\"resources.html\">Resource</a>: <a href=\"extensibility.html\">extension</a>, <a href=\"extensibility.html#modifierExtension\">modifierExtension</a>, language, <a href=\"narrative.html#Narrative\">text</a>, and <a href=\"references.html#contained\">contained</a> -->\r\n <<a title=\"Logical Identifier for the composition, assigned when created. This identifier stays constant as the composition is changed over time.\" class=\"dict\" href=\"composition-definitions.html#Composition.identifier\"><b>identifier</b></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#Identifier\">Identifier</a></span> <span style=\"color: navy\">\r\n Logical identifier of composition (version-independent)<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></span><span style=\"color: Gray\"> --></span></identifier>\r\n <<a title=\"The composition editing time, when the composition was last logically changed by the author.\" class=\"dict\" href=\"composition-definitions.html#Composition.date\"><b>date</b></a> value="[<span style=\"color: darkgreen\"><a href=\"datatypes.html#dateTime\">dateTime</a></span>]"/><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>1..1</b></span> <span style=\"color: navy\">Composition editing time<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></span><span style=\"color: Gray\"> --></span>\r\n <<a title=\"Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition.\" class=\"dict\" href=\"composition-definitions.html#Composition.type\"><b>type</b></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>1..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#CodeableConcept\">CodeableConcept</a></span> <span style=\"color: navy\"><a style=\"color: navy\" href=\"valueset-doc-codes.html\">Kind of composition (LOINC if possible)<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></a></span><span style=\"color: Gray\"> --></span></type>\r\n <<a title=\"A categorization for the type of the composition. This may be implied by or derived from the code specified in the Composition Type.\" class=\"dict\" href=\"composition-definitions.html#Composition.class\"><b>class</b></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#CodeableConcept\">CodeableConcept</a></span> <span style=\"color: navy\"><a style=\"color: navy\" href=\"valueset-xds-typecodes.html\">Categorization of Composition<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></a></span><span style=\"color: Gray\"> --></span></class>\r\n <<a title=\"Official human-readable label for the composition.\" class=\"dict\" href=\"composition-definitions.html#Composition.title\"><b>title</b></a> value="[<span style=\"color: darkgreen\"><a href=\"datatypes.html#string\">string</a></span>]"/><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: navy\">Human Readable name/title<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></span><span style=\"color: Gray\"> --></span>\r\n <<a title=\"The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document (this element modifies the meaning of other elements)\" class=\"dict\" href=\"composition-definitions.html#Composition.status\"><span style=\"text-decoration: underline\"><b>status</b></span></a> value="[<span style=\"color: darkgreen\"><a href=\"datatypes.html#code\">code</a></span>]"/><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>1..1</b></span> <span style=\"color: navy\"><a style=\"color: navy\" href=\"composition-status.html\">preliminary | final | appended | amended | entered in error<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></a></span><span style=\"color: Gray\"> --></span>\r\n <<a title=\"The code specifying the level of confidentiality of the Composition (this element modifies the meaning of other elements)\" class=\"dict\" href=\"composition-definitions.html#Composition.confidentiality\"><span style=\"text-decoration: underline\"><b>confidentiality</b></span></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>1..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#Coding\">Coding</a></span> <a style=\"color: navy\" href=\"v3/vs/Confidentiality/index.html\">As defined by affinity domain<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></a><span style=\"color: Gray\"> --></span></confidentiality>\r\n <<a title=\"Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (I.e. machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure).\" class=\"dict\" href=\"composition-definitions.html#Composition.subject\"><b>subject</b></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>1..1</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"patient.html#Patient\">Patient</a>|<a href=\"practitioner.html#Practitioner\">Practitioner</a>|<a href=\"group.html#Group\">Group</a>|<a href=\"device.html#Device\">Device</a>|<a href=\"location.html#Location\">Location</a>)</span> <span style=\"color: navy\">\r\n Who and/or what the composition is about<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></span><span style=\"color: Gray\"> --></span></subject>\r\n <<a title=\"Identifies who is responsible for the information in the composition. (Not necessarily who typed it in.).\" class=\"dict\" href=\"composition-definitions.html#Composition.author\"><b>author</b></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>1..*</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"practitioner.html#Practitioner\">Practitioner</a>|<a href=\"device.html#Device\">Device</a>|<a href=\"patient.html#Patient\">Patient</a>|<a href=\"relatedperson.html#RelatedPerson\">RelatedPerson</a>)</span> <span style=\"color: navy\">\r\n Who and/or what authored the composition<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></span><span style=\"color: Gray\"> --></span></author>\r\n <<a title=\"A participant who has attested to the accuracy of the composition/document.\" class=\"dict\" href=\"composition-definitions.html#Composition.attester\"><b>attester</b></a>> <span style=\"color: Gray\"><!-- <span style=\"color: brown\"><b>0..*</b></span> Attests to accuracy of composition<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span> --></span>\r\n <<a title=\"The type of attestation the authenticator offers.\" class=\"dict\" href=\"composition-definitions.html#Composition.attester.mode\"><b>mode</b></a> value="[<span style=\"color: darkgreen\"><a href=\"datatypes.html#code\">code</a></span>]"/><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>1..*</b></span> <span style=\"color: navy\"><a style=\"color: navy\" href=\"composition-attestation-mode.html\">personal | professional | legal | official<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></a></span><span style=\"color: Gray\"> --></span>\r\n <<a title=\"When composition was attested by the party.\" class=\"dict\" href=\"composition-definitions.html#Composition.attester.time\"><b>time</b></a> value="[<span style=\"color: darkgreen\"><a href=\"datatypes.html#dateTime\">dateTime</a></span>]"/><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: navy\">When composition attested<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></span><span style=\"color: Gray\"> --></span>\r\n <<a title=\"Who attested the composition in the specified way.\" class=\"dict\" href=\"composition-definitions.html#Composition.attester.party\"><b>party</b></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"patient.html#Patient\">Patient</a>|<a href=\"practitioner.html#Practitioner\">Practitioner</a>|<a href=\"organization.html#Organization\">Organization</a>)</span> <span style=\"color: navy\">Who attested the composition<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></span><span style=\"color: Gray\"> --></span></party>\r\n </attester>\r\n <<a title=\"Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.\" class=\"dict\" href=\"composition-definitions.html#Composition.custodian\"><b>custodian</b></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"organization.html#Organization\">Organization</a>)</span> <span style=\"color: navy\">Org which maintains the composition<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></span><span style=\"color: Gray\"> --></span></custodian>\r\n <<a title=\"The main event/act/item, such as a colonoscopy or an appendectomy, being documented.\" class=\"dict\" href=\"composition-definitions.html#Composition.event\"><b>event</b></a>> <span style=\"color: Gray\"><!-- <span style=\"color: brown\"><b>0..1</b></span> The clinical event/act/item being documented<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span> --></span>\r\n <<a title=\"This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act.\" class=\"dict\" href=\"composition-definitions.html#Composition.event.code\"><b>code</b></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>0..*</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#CodeableConcept\">CodeableConcept</a></span> <a style=\"color: navy\" href=\"v3/ActCode/index.html\">Code(s) that apply to the event being documented<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></a><span style=\"color: Gray\"> --></span></code>\r\n <<a title=\"The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time.\" class=\"dict\" href=\"composition-definitions.html#Composition.event.period\"><b>period</b></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#Period\">Period</a></span> <span style=\"color: navy\">The period covered by the documentation<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></span><span style=\"color: Gray\"> --></span></period>\r\n <<a title=\"Full details for the event(s) the composition/documentation consents.\" class=\"dict\" href=\"composition-definitions.html#Composition.event.detail\"><b>detail</b></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>0..*</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"resourcelist.html\">Any</a>)</span> <span style=\"color: navy\">Full details for the event(s) the composition consents<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></span><span style=\"color: Gray\"> --></span></detail>\r\n </event>\r\n <<a title=\"Describes the clinical encounter or type of care this documentation is associated with.\" class=\"dict\" href=\"composition-definitions.html#Composition.encounter\"><b>encounter</b></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"encounter.html#Encounter\">Encounter</a>)</span> <span style=\"color: navy\">Context of the conposition<span title=\"This element is included in a summary view (See Search/Query)\" style=\"color: Navy\"> §</span></span><span style=\"color: Gray\"> --></span></encounter>\r\n <<a title=\"The root of the sections that make up the composition.\" class=\"dict\" href=\"composition-definitions.html#Composition.section\"><b>section</b></a>> <span style=\"color: Gray\"><!-- <span style=\"color: brown\"><b>0..*</b></span> Composition is broken into sections --></span>\r\n <<a title=\"The heading for this particular section. This will be part of the rendered content for the document.\" class=\"dict\" href=\"composition-definitions.html#Composition.section.title\"><b>title</b></a> value="[<span style=\"color: darkgreen\"><a href=\"datatypes.html#string\">string</a></span>]"/><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: navy\">Label for section</span><span style=\"color: Gray\"> --></span>\r\n <<a title=\"A code identifying the kind of content contained within the section.\" class=\"dict\" href=\"composition-definitions.html#Composition.section.code\"><b>code</b></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#CodeableConcept\">CodeableConcept</a></span> <span style=\"color: navy\"><a style=\"color: navy\" href=\"valueset-doc-section-codes.html\">Classification of section (recommended)</a></span><span style=\"color: Gray\"> --></span></code>\r\n <<a title=\"Identifies the primary subject of the section (this element modifies the meaning of other elements)\" class=\"dict\" href=\"composition-definitions.html#Composition.section.subject\"><span style=\"text-decoration: underline\"><b>subject</b></span></a>><span style=\"color: Gray\"><!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"patient.html#Patient\">Patient</a>|<a href=\"group.html#Group\">Group</a>|<a href=\"device.html#Device\">Device</a>)</span> <span style=\"color: navy\">If section different to composition</span><span style=\"color: Gray\"> --></span></subject>\r\n <<a title=\"Identifies the discrete data that provides the content for the section.\" class=\"dict\" href=\"composition-definitions.html#Composition.section.content\"><b>content</b></a>><span style=\"color: Gray\"><!--</span> <span title=\"Inv-2: A section SHALL have content or one or more sections, but not both.\" style=\"color: brown\"><b><img alt=\"??\" src=\"lock.png\"/> 0..1</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"resourcelist.html\">Any</a>)</span> <span style=\"color: navy\">The actual data for the section</span><span style=\"color: Gray\"> --></span></content>\r\n <<a title=\"A nested sub-section within this section.\" class=\"dict\" href=\"composition-definitions.html#Composition.section.section\"><b>section</b></a>><span style=\"color: Gray\"><!--</span> <span title=\"Inv-2: A section SHALL have content or one or more sections, but not both.\" style=\"color: brown\"><b><img alt=\"??\" src=\"lock.png\"/> 0..*</b></span> <span style=\"color: darkgreen\">Content as for Composition.section</span> <span style=\"color: navy\">Nested Section</span><span style=\"color: Gray\"> --></span></section>\r\n </section>\r\n</Composition>\r\n</pre></div>" }, "name": "composition", "publisher": "FHIR Project", "description": "Basic Profile. 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.", "status": "draft", "date": "2014-09-30", "requirements": "Scope and Usage A Composition is also the basic structure from which FHIR Documents - immutable bundles with attested narrative - are built. A single logical composition may be associated with a series of derived documents, each of which is a frozen copy of the composition. \r\n\r\nNote: EN 13606 uses the term \"Composition\" to refer to a single commit to an EHR system, and offers some common examples: a consultation note, a progress note, a report or a letter, an investigation report, a prescription form and a set of bedside nursing observations. These logical examples are all valid uses of a Composition resource, but it is not required that all the resources are updated in a single commit.", "mapping": [ { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM" }, { "identity": "cda", "uri": "http://hl7.org/v3/cda", "name": "CDA (R2)" } ], "structure": [ { "type": "Composition", "publish": true, "element": [ { "path": "Composition", "definition": { "short": "A set of resources composed into a single coherent clinical statement with clinical attestation", "formal": "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.", "comments": "While the focus of this specification is on patient-specific clinical statements, this resource can also apply to other healthcare-related statements such as study protocol designs, healthcare invoices and other activities that are not necessarily patient-specific or clinical.", "min": 1, "max": "1", "type": [ { "code": "Resource" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": "Document[classCode=\"DOC\" and moodCode=\"EVN\" and isNormalAct()]" }, { "identity": "cda", "map": "ClinicalDocument" } ] } }, { "path": "Composition.extension", "definition": { "short": "Additional Content defined by implementations", "formal": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "isModifier": false } }, { "path": "Composition.modifierExtension", "definition": { "short": "Extensions that cannot be ignored", "formal": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "isModifier": false } }, { "path": "Composition.text", "definition": { "short": "Text summary of the resource, for human interpretation", "formal": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.", "synonym": [ "narrative", "html", "xhtml", "display" ], "min": 0, "max": "1", "type": [ { "code": "Narrative" } ], "isModifier": false } }, { "path": "Composition.contained", "definition": { "short": "Contained, inline Resources", "formal": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", "comments": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.", "synonym": [ "inline resources", "anonymous resources", "contained resources" ], "min": 0, "max": "*", "type": [ { "code": "Resource" } ], "isModifier": false } }, { "path": "Composition.identifier", "definition": { "short": "Logical identifier of composition (version-independent)", "formal": "Logical Identifier for the composition, assigned when created. This identifier stays constant as the composition is changed over time.", "comments": "See discussion in resource definition for how these relate.", "min": 0, "max": "1", "type": [ { "code": "Identifier" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": "Document.id / Document.setId" }, { "identity": "cda", "map": ".setId" } ] } }, { "path": "Composition.date", "definition": { "short": "Composition editing time", "formal": "The composition editing time, when the composition was last logically changed by the author.", "comments": "The Last Modified Date on the composition may be after the date of the document was attested without being changed.", "min": 1, "max": "1", "type": [ { "code": "dateTime" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": ".effectiveTime[type=\"TS\"]" }, { "identity": "cda", "map": ".effectiveTime" } ] } }, { "path": "Composition.type", "definition": { "short": "Kind of composition (LOINC if possible)", "formal": "Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition.", "min": 1, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "binding": { "name": "DocumentType", "isExtensible": true, "conformance": "preferred", "referenceResource": { "reference": "http://hl7.org/fhir/vs/doc-codes" } }, "mapping": [ { "identity": "rim", "map": "./code" }, { "identity": "cda", "map": ".code" } ] } }, { "path": "Composition.class", "definition": { "short": "Categorization of Composition", "formal": "A categorization for the type of the composition. This may be implied by or derived from the code specified in the Composition Type.", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "binding": { "name": "DocumentClass", "isExtensible": true, "conformance": "example", "referenceResource": { "reference": "http://hl7.org/fhir/vs/xds-typecodes" } }, "mapping": [ { "identity": "rim", "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" }, { "identity": "cda", "map": "n/a" } ] } }, { "path": "Composition.title", "definition": { "short": "Human Readable name/title", "formal": "Official human-readable label for the composition.", "comments": "If compositions do not have a title, the text or a display name of Composition.type (e.g. a \"consultation\" or \"progress note\") can be used in it's place.", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": "./title" }, { "identity": "cda", "map": ".title" } ] } }, { "path": "Composition.status", "definition": { "short": "preliminary | final | appended | amended | entered in error", "formal": "The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.", "comments": "If a composition is marked as withdrawn, the compositions/documents in the series, or data from the composition or document series, should never be displayed to a user without being clearly marked as untrustworthy. The flag \"withdrawn\" is why this element is labeled as a modifier of other elements.", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "binding": { "name": "CompositionStatus", "isExtensible": false, "conformance": "required", "referenceResource": { "reference": "http://hl7.org/fhir/vs/composition-status" } }, "mapping": [ { "identity": "rim", "map": "interim: .completionCode=\"IN\" & ./statusCode[isNormalDatatype()]=\"active\";\n\nfinal: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and not(./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseComposition\", code) and isNormalAct()]);\n\namended: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and ./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseComposition\", code) and isNormalAct() and statusCode=\"completed\"];\n\nwithdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]=\"obsolete\"" }, { "identity": "cda", "map": "n/a" } ] } }, { "path": "Composition.confidentiality", "definition": { "short": "As defined by affinity domain", "formal": "The code specifying the level of confidentiality of the Composition.", "comments": "The exact use of this element, and enforcement and issues related to highly sensitive documents are out of scope for FHIR, and delegated to implementation profiles (see security section).", "min": 1, "max": "1", "type": [ { "code": "Coding" } ], "isModifier": true, "binding": { "name": "DocumentConfidentiality", "isExtensible": true, "conformance": "preferred", "referenceResource": { "reference": "http://hl7.org/fhir/v3/vs/Confidentiality" } }, "mapping": [ { "identity": "rim", "map": ".confidentialityCode" }, { "identity": "cda", "map": ".confidentialityCode" } ] } }, { "path": "Composition.subject", "definition": { "short": "Who and/or what the composition is about", "formal": "Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (I.e. machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure).", "comments": "For clinical documents, this is usually the patient.", "min": 1, "max": "1", "type": [ { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Patient" }, { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Practitioner" }, { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Group" }, { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Device" }, { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Location" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" }, { "identity": "cda", "map": ".recordTarget" } ] } }, { "path": "Composition.author", "definition": { "short": "Who and/or what authored the composition", "formal": "Identifies who is responsible for the information in the composition. (Not necessarily who typed it in.).", "min": 1, "max": "*", "type": [ { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Practitioner" }, { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Device" }, { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Patient" }, { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/RelatedPerson" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]" }, { "identity": "cda", "map": ".author.assignedAuthor" } ] } }, { "path": "Composition.attester", "definition": { "short": "Attests to accuracy of composition", "formal": "A participant who has attested to the accuracy of the composition/document.", "comments": "Only list each attester once.", "min": 0, "max": "*", "isModifier": false, "mapping": [ { "identity": "rim", "map": ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]" }, { "identity": "cda", "map": ".authenticator/.legalAuthenticator" } ] } }, { "path": "Composition.attester.extension", "definition": { "short": "Additional Content defined by implementations", "formal": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "isModifier": false } }, { "path": "Composition.attester.modifierExtension", "definition": { "short": "Extensions that cannot be ignored", "formal": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "isModifier": false } }, { "path": "Composition.attester.mode", "definition": { "short": "personal | professional | legal | official", "formal": "The type of attestation the authenticator offers.", "comments": "Use more than one code where a single attester has more than one mode (professional and legal are often paired).", "min": 1, "max": "*", "type": [ { "code": "code" } ], "isModifier": false, "binding": { "name": "CompositionAttestationMode", "isExtensible": false, "conformance": "required", "referenceResource": { "reference": "http://hl7.org/fhir/vs/composition-attestation-mode" } }, "mapping": [ { "identity": "rim", "map": "unique(./modeCode)" }, { "identity": "cda", "map": "implied by .authenticator/.legalAuthenticator" } ] } }, { "path": "Composition.attester.time", "definition": { "short": "When composition attested", "formal": "When composition was attested by the party.", "min": 0, "max": "1", "type": [ { "code": "dateTime" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": "./time[type=\"TS\" and isNormalDatatype()]" }, { "identity": "cda", "map": ".authenticator.time" } ] } }, { "path": "Composition.attester.party", "definition": { "short": "Who attested the composition", "formal": "Who attested the composition in the specified way.", "min": 0, "max": "1", "type": [ { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Patient" }, { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Practitioner" }, { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Organization" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": "./role[classCode=\"ASSIGNED\" and isNormalRole]/player[determinerCode=\"INST\" and classCode=(\"DEV\", \"PSN\") and isNormalEntity()]\nor\n./role[classCode=\"ASSIGNED\" and isNormalRole and not(player)]/scoper[determinerCode=\"INST\" and classCode=\"ORG\" and isNormalEntity()]" }, { "identity": "cda", "map": ".authenticator.assignedEnttty" } ] } }, { "path": "Composition.custodian", "definition": { "short": "Org which maintains the composition", "formal": "Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.", "comments": "This is useful when documents are derived from a composition - provides guidance for how to get the latest version of the document. This is optional because knowing this is sometimes not known by the authoring system, and can be inferred by context. However it's important that this information be known when working with a derived document, so providing a custodian is encouraged.", "min": 0, "max": "1", "type": [ { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Organization" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": ".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]" }, { "identity": "cda", "map": ".custodian.assignedCustodian" } ] } }, { "path": "Composition.event", "definition": { "short": "The clinical event/act/item being documented", "formal": "The main event/act/item, such as a colonoscopy or an appendectomy, being documented.", "comments": "The event needs to be consistent with the type element, though can provide further information if desired.", "min": 0, "max": "1", "isModifier": false, "mapping": [ { "identity": "rim", "map": "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']" }, { "identity": "cda", "map": ".documentationOf.serviceEvent" } ] } }, { "path": "Composition.event.extension", "definition": { "short": "Additional Content defined by implementations", "formal": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "isModifier": false } }, { "path": "Composition.event.modifierExtension", "definition": { "short": "Extensions that cannot be ignored", "formal": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "isModifier": false } }, { "path": "Composition.event.code", "definition": { "short": "Code(s) that apply to the event being documented", "formal": "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.", "comments": "An event can further specialize the act inherent in the typeCode, such as where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more eventCodes are included, they SHALL NOT conflict with the values inherent in the classCode, practiceSettingCode or typeCode, as such a conflict would create an ambiguous situation. This short list of codes is provided to be used as “key words” for certain types of queries.", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "binding": { "name": "DocumentEventType", "isExtensible": true, "conformance": "preferred", "referenceResource": { "reference": "http://hl7.org/fhir/v3/vs/ActCode" } }, "mapping": [ { "identity": "rim", "map": ".code" }, { "identity": "cda", "map": ".code" } ] } }, { "path": "Composition.event.period", "definition": { "short": "The period covered by the documentation", "formal": "The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time.", "min": 0, "max": "1", "type": [ { "code": "Period" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": ".effectiveTime" }, { "identity": "cda", "map": ".effectiveTime" } ] } }, { "path": "Composition.event.detail", "definition": { "short": "Full details for the event(s) the composition consents", "formal": "Full details for the event(s) the composition/documentation consents.", "min": 0, "max": "*", "type": [ { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Any" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": ".outboundRelationship[typeCode=\"SUBJ\"].target" }, { "identity": "cda", "map": "n/a" } ] } }, { "path": "Composition.encounter", "definition": { "short": "Context of the conposition", "formal": "Describes the clinical encounter or type of care this documentation is associated with.", "min": 0, "max": "1", "type": [ { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Encounter" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": "unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])" }, { "identity": "cda", "map": ".componentOf.encompassingEncounter" } ] } }, { "path": "Composition.section", "definition": { "short": "Composition is broken into sections", "formal": "The root of the sections that make up the composition.", "min": 0, "max": "*", "constraint": [ { "key": "2", "name": "Section Rule", "severity": "error", "human": "A section SHALL have content or one or more sections, but not both.", "xpath": "exists(f:content) != exists(f:section)" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]" }, { "identity": "cda", "map": ".component.structuredBody.component.section" } ] } }, { "path": "Composition.section.extension", "definition": { "short": "Additional Content defined by implementations", "formal": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "isModifier": false } }, { "path": "Composition.section.modifierExtension", "definition": { "short": "Extensions that cannot be ignored", "formal": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "isModifier": false } }, { "path": "Composition.section.title", "definition": { "short": "Label for section", "formal": "The heading for this particular section. This will be part of the rendered content for the document.", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": "./title" }, { "identity": "cda", "map": ".title" } ] } }, { "path": "Composition.section.code", "definition": { "short": "Classification of section (recommended)", "formal": "A code identifying the kind of content contained within the section.", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isModifier": false, "binding": { "name": "CompositionSectionType", "isExtensible": true, "conformance": "preferred", "referenceResource": { "reference": "http://hl7.org/fhir/vs/doc-section-codes" } }, "mapping": [ { "identity": "rim", "map": "./code" }, { "identity": "cda", "map": ".code" } ] } }, { "path": "Composition.section.subject", "definition": { "short": "If section different to composition", "formal": "Identifies the primary subject of the section.", "comments": "This is labeled as \"Is Modifier\" because applications SHALL be aware if the subject changes for a particular section.", "min": 0, "max": "1", "type": [ { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Patient" }, { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Group" }, { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Device" } ], "isModifier": true, "mapping": [ { "identity": "rim", "map": "unique(./participation[typeCode=\"SBJ\" and isNormalParticipation]/role[typeCode=\"PAT\"])\nor\nunique(./participation[typeCode=\"SBJ\" and isNormalParticipation]/role[typeCode=\"IDENT\"]/player[determinerCode=\"INST\" and classCode=(\"DEV\", \"ORG\") and isNormalEntity()])" }, { "identity": "cda", "map": ".subject.relatedSubject" } ] } }, { "path": "Composition.section.content", "definition": { "short": "The actual data for the section", "formal": "Identifies the discrete data that provides the content for the section.", "comments": "Because composition represent point-in-time snapshots, resource references should either be to a specific version, or made against resources on the same server with full version tracking, so that the correct versions can easily be assembled.", "min": 0, "max": "1", "type": [ { "code": "ResourceReference", "profile": "http://hl7.org/fhir/profiles/Any" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": "unique(./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode!=\"DOCSECT\" and isNormalAct])" }, { "identity": "cda", "map": "n/a" } ] } }, { "path": "Composition.section.section", "definition": { "short": "Nested Section", "formal": "A nested sub-section within this section.", "min": 0, "max": "*", "nameReference": "Composition.section", "isModifier": false, "mapping": [ { "identity": "rim", "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]" }, { "identity": "cda", "map": ".component.section" } ] } } ], "searchParam": [ { "name": "_id", "type": "token", "documentation": "The logical resource id associated with the resource (must be supported by all servers)" }, { "name": "_language", "type": "token", "documentation": "The language of the resource" }, { "name": "attester", "type": "reference", "documentation": "Who attested the composition", "xpath": "f:Composition/f:attester/f:party" }, { "name": "author", "type": "reference", "documentation": "Who and/or what authored the composition", "xpath": "f:Composition/f:author" }, { "name": "class", "type": "token", "documentation": "Categorization of Composition", "xpath": "f:Composition/f:class" }, { "name": "context", "type": "token", "documentation": "Code(s) that apply to the event being documented", "xpath": "f:Composition/f:event/f:code" }, { "name": "date", "type": "date", "documentation": "Composition editing time", "xpath": "f:Composition/f:date" }, { "name": "identifier", "type": "token", "documentation": "Logical identifier of composition (version-independent)", "xpath": "f:Composition/f:identifier" }, { "name": "section-content", "type": "reference", "documentation": "The actual data for the section", "xpath": "f:Composition/f:section/f:content" }, { "name": "section-type", "type": "token", "documentation": "Classification of section (recommended)", "xpath": "f:Composition/f:section/f:code" }, { "name": "subject", "type": "reference", "documentation": "Who and/or what the composition is about", "xpath": "f:Composition/f:subject" }, { "name": "type", "type": "token", "documentation": "Kind of composition (LOINC if possible)", "xpath": "f:Composition/f:type" } ] } ] }