{
"description": "This Composition profile represents an electronic initial case report (eICR).",
"_filename": "StructureDefinition-eicr-composition.json",
"package_name": "hl7.fhir.us.ecr",
"date": "2020-12-16T19:27:50+00:00",
"derivation": "constraint",
"meta": {
"source": "#MvLaiFuavGhzOqVr",
"versionId": "36",
"lastUpdated": "2020-11-30T05:20:19.862+00:00"
},
"publisher": "HL7 Public Health Work Group (http://www.hl7.org/Special/committees/pher/index.cfm)",
"fhirVersion": "4.0.1",
"jurisdiction": [ {
"text": "United States of America",
"coding": [ {
"code": "US",
"system": "urn:iso:std:iso:3166",
"display": "United States of America"
} ]
} ],
"name": "Eicr_Composition",
"mapping": [ {
"name": "eCR FHIR to CDA Mapping",
"comment": "This table maps FHIR eCR profile elements to eICR/RR CDA template elements located in the CDA eICR IG (R2 STU2) and CDA RR IG (R2 STU1).",
"identity": "eCR-CDA"
}, {
"uri": "http://hl7.org/fhir/workflow",
"name": "Workflow Pattern",
"identity": "workflow"
}, {
"uri": "http://hl7.org/v3",
"name": "RIM Mapping",
"identity": "rim"
}, {
"uri": "http://hl7.org/v3/cda",
"name": "CDA (R2)",
"identity": "cda"
}, {
"uri": "http://hl7.org/fhir/documentreference",
"name": "FHIR DocumentReference",
"identity": "fhirdocumentreference"
}, {
"uri": "http://hl7.org/fhir/fivews",
"name": "FiveWs Pattern Mapping",
"identity": "w5"
} ],
"abstract": false,
"type": "Composition",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": "Electronic Initial Case Report Composition",
"package_version": "1.1.0",
"snapshot": {
"element": [ {
"constraint": [ {
"key": "dom-2",
"human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
"xpath": "not(parent::f:contained and f:contained)",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "error",
"expression": "contained.contained.empty()"
}, {
"key": "dom-3",
"human": "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",
"xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "error",
"expression": "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()"
}, {
"key": "dom-4",
"human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
"xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "error",
"expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
}, {
"key": "dom-5",
"human": "If a resource is contained in another resource, it SHALL NOT have a security label",
"xpath": "not(exists(f:contained/*/f:meta/f:security))",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "error",
"expression": "contained.meta.security.empty()"
}, {
"key": "dom-6",
"human": "A resource should have narrative for robust management",
"xpath": "exists(f:text/h:div)",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "warning",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
"valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
} ],
"expression": "text.`div`.exists()"
} ],
"path": "Composition",
"min": 0,
"definition": "The Electronic Case Reporting Composition profile establishes the core elements, extensions, vocabularies and value sets for representing an electronic initial case report (eICR). It describes the content requirements for the initial Case Report including: \n\n- Patient demographics \n- Patient pregnancy status \n- Patient occupation and travel history \n- Provider and Facility information \n- Laboratory orders tests and results \n- Signs and Symptoms and Diagnosis \n- Medication and Immunization History \n- Flags for the existence of reportable condition trigger codes in diagnoses and ordered/resulted laboratory tests.",
"isModifier": false,
"short": "eICR Composition Profile",
"mapping": [ {
"map": "Entity. Role, or Act",
"identity": "rim"
}, {
"map": "Event",
"identity": "workflow"
}, {
"map": "Document[classCode=\"DOC\" and moodCode=\"EVN\" and isNormalAct()]",
"identity": "rim"
}, {
"map": "ClinicalDocument",
"identity": "cda"
}, {
"map": "when described by DocumentReference",
"identity": "fhirdocumentreference"
}, {
"map": "[eICR R2 STU2] 1.1.2 Initial Public Health Case Report Document (eICR) (V3)",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"max": "*",
"id": "Composition",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Composition"
},
"isSummary": false
}, {
"path": "Composition.id",
"min": 0,
"definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
"isModifier": false,
"short": "Logical id of this artifact",
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"max": "1",
"id": "Composition.id",
"comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
"base": {
"max": "1",
"min": 0,
"path": "Resource.id"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.meta",
"min": 0,
"definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
"isModifier": false,
"short": "Metadata about the resource",
"type": [ {
"code": "Meta"
} ],
"max": "1",
"id": "Composition.meta",
"base": {
"max": "1",
"min": 0,
"path": "Resource.meta"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.implicitRules",
"min": 0,
"definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
"isModifier": true,
"short": "A set of rules under which this content was created",
"type": [ {
"code": "uri"
} ],
"max": "1",
"id": "Composition.implicitRules",
"comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
"base": {
"max": "1",
"min": 0,
"path": "Resource.implicitRules"
},
"isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.language",
"min": 0,
"definition": "The base language in which the resource is written.",
"isModifier": false,
"short": "Language of the resource content",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/languages",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Language"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
} ],
"description": "A human language."
},
"max": "1",
"id": "Composition.language",
"comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
"base": {
"max": "1",
"min": 0,
"path": "Resource.language"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.text",
"min": 0,
"definition": "A human-readable narrative that contains a summary of the resource and can 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.",
"isModifier": false,
"short": "Text summary of the resource, for human interpretation",
"mapping": [ {
"map": "Act.text?",
"identity": "rim"
} ],
"type": [ {
"code": "Narrative"
} ],
"alias": [ "narrative", "html", "xhtml", "display" ],
"max": "1",
"id": "Composition.text",
"comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
"base": {
"max": "1",
"min": 0,
"path": "DomainResource.text"
},
"isSummary": false
}, {
"path": "Composition.contained",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Contained, inline Resources",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Resource"
} ],
"alias": [ "inline resources", "anonymous resources", "contained resources" ],
"max": "*",
"id": "Composition.contained",
"comment": "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. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.contained"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "Composition.extension",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.extension",
"min": 1,
"definition": "eICR Composition versionNumber. This is equivalent to ClinicalDocument.versionNumber in CDA. The id of the containing Bundle is equivalent to ClinicalDocument.id in CDA and Composition.identifier is equivalent to ClinicalDocument.setId in CDA. This is a version specific identifier for the composition, assigned when each version is created/updated.\n\nWhile each resource, including the composition itself, has its own version identifier, this is a formal identifier for the logical version of the composition as a whole. It would remain constant if the resources were moved to a new server, and all got new individual resource versions, for example.",
"isModifier": false,
"short": "eICR Composition versionNumber",
"mapping": [ {
"map": "[eICR R2 STU2] ClinicalDocument.versionNumber",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber" ]
} ],
"mustSupport": true,
"sliceName": "sliceExtensionVersionNumber",
"max": "1",
"id": "Composition.extension:sliceExtensionVersionNumber",
"condition": [ "ele-1" ],
"comment": "While each resource, including the composition itself, has its own version identifier, this is a formal identifier for the logical version of the composition as a whole. It would remain constant if the resources were moved to a new server, and all got new individual resource versions, for example.",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.extension"
}
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.extension",
"min": 0,
"definition": "When set to \"PHC1464: Manually Initiated eICR\", indicates that this document is manually initiated. When set to \"PHC2235: Alternately Initiated eICR\", indicates that this eICR document was initiated by automated process and is intended to force reporting to the responsible Public Health Agency (PHA) for the jurisdiction of care. Unlike eICRs manually initiated by a provider, which are force reported to all relevant jurisdictions, PHC2235 will be sent to, and only to, the PHA of the jurisdiction of care. If a reportable condition is found by public health decision support then the alternately initiated eICR may also be reported to the jurisdiction of residence PHA.",
"isModifier": false,
"short": "Initial Case Report Initiation Type",
"mapping": [ {
"map": "[eICR R2 STU2] ClinicalDocument/documentationOf/serviceEvent/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-initiation-type-extension" ]
} ],
"mustSupport": true,
"sliceName": "extensionEICRInitiationType",
"max": "1",
"id": "Composition.extension:extensionEICRInitiationType",
"condition": [ "ele-1" ],
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.extension"
}
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.extension",
"min": 0,
"definition": "An explanation for the manual or alternate initiation of the eICR.",
"isModifier": false,
"short": "Initial Case Report Initiation Reason",
"mapping": [ {
"map": "[eICR R2 STU2] Initial Case Report initiation Reason (V2)/value",
"comment": "Initiation Reason",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-initiation-reason-extension" ]
} ],
"mustSupport": true,
"sliceName": "extensionEICRInitiationReason",
"max": "*",
"id": "Composition.extension:extensionEICRInitiationReason",
"condition": [ "ele-1" ],
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.extension"
}
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.identifier",
"min": 1,
"definition": "eICR Composition identifier. This is equivalent to ClinicalDocument.setId in CDA. The id of the containing Bundle is equivalent to ClinicalDocument.id in CDA and Composition.sliceExtensionVersionNumber is equivalent to ClinicalDocument.versionNumber in CDA.",
"isModifier": false,
"short": "eICR Composition identifier",
"mapping": [ {
"map": "Event.identifier",
"identity": "workflow"
}, {
"map": "FiveWs.identifier",
"identity": "w5"
}, {
"map": "Document.id / Document.setId",
"identity": "rim"
}, {
"map": ".setId",
"identity": "cda"
}, {
"map": "DocumentReference.masterIdentifier",
"identity": "fhirdocumentreference"
}, {
"map": "[eICR R2 STU2] ClinicalDocument/setId",
"comment": "setId of the eICR Document",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Identifier"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.identifier",
"comment": "Similar to ClinicalDocument/setId in CDA. See discussion in resource definition for how these relate.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.identifier"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.status",
"requirements": "Need to be able to mark interim, amended, or withdrawn compositions or documents.",
"min": 1,
"definition": "The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.",
"isModifier": true,
"short": "preliminary | final | amended | entered-in-error",
"mapping": [ {
"map": "Event.status",
"identity": "workflow"
}, {
"map": "FiveWs.status",
"identity": "w5"
}, {
"map": "interim: .completionCode=\"IN\" & ./statusCode[isNormalDatatype()]=\"active\"; final: .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()]); amended: .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\"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]=\"obsolete\"",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
}, {
"map": "DocumentReference.status",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/composition-status|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionStatus"
} ],
"description": "The workflow/clinical status of the composition."
},
"max": "1",
"id": "Composition.status",
"comment": "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 \"entered-in-error\" is why this element is labeled as a modifier of other elements. \n\nSome reporting work flows require that the original narrative of a final document never be altered; instead, only new narrative can be added. The composition resource has no explicit status for explicitly noting whether this business rule is in effect. This would be handled by an extension if required.",
"base": {
"max": "1",
"min": 1,
"path": "Composition.status"
},
"isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.type",
"requirements": "Key metadata element describing the composition, used in searching/filtering.",
"min": 1,
"definition": "The type of this Composition is a Public Health Case Report",
"isModifier": false,
"short": "Public Health Case Report",
"mapping": [ {
"map": "Event.code",
"identity": "workflow"
}, {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "DocumentReference.type",
"identity": "fhirdocumentreference"
}, {
"map": "[eICR R2 STU2] ClinicalDocument/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-typecodes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "DocumentType"
} ],
"description": "Type of a composition."
},
"max": "1",
"id": "Composition.type",
"comment": "For Composition type, LOINC is ubiquitous and strongly endorsed by HL7. Most implementation guides will require a specific LOINC code, or use LOINC as an extensible binding.",
"patternCodeableConcept": {
"coding": [ {
"code": "55751-2",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 1,
"path": "Composition.type"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.category",
"requirements": "Helps humans to assess whether the composition is of interest when viewing an index of compositions or documents.",
"min": 0,
"definition": "A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type.",
"isModifier": false,
"short": "Categorization of Composition",
"mapping": [ {
"map": "Event.subject",
"identity": "workflow"
}, {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
}, {
"map": "DocumenttReference.category",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/document-classcodes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "DocumentCategory"
} ],
"description": "High-level kind of a clinical document at a macro level."
},
"max": "*",
"id": "Composition.category",
"comment": "This is a metadata field from [XDS/MHD](http://wiki.ihe.net/index.php?title=Mobile_access_to_Health_Documents_(MHD)).",
"base": {
"max": "*",
"min": 0,
"path": "Composition.category"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.subject",
"requirements": "Essential metadata for searching for the composition. Identifies who and/or what the composition/document is about.",
"min": 0,
"definition": "The subject of this Composition is the patient.",
"isModifier": false,
"short": "Patient",
"mapping": [ {
"map": "FiveWs.subject[x]",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]",
"identity": "rim"
}, {
"map": ".recordTarget",
"identity": "cda"
}, {
"map": "DocumentReference.subject",
"identity": "fhirdocumentreference"
}, {
"map": "FiveWs.subject",
"identity": "w5"
}, {
"map": "[eICR R2 STU2] ClinicalDocument/recordTarget",
"comment": "Patient",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-patient" ]
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.subject",
"comment": "For clinical documents, this is usually the patient.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.subject"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.encounter",
"requirements": "Provides context for the composition and supports searching.",
"min": 1,
"definition": "This Encounter profile represents the encounter related to the eICR event.",
"isModifier": false,
"short": "Encounter related to the eICR event",
"mapping": [ {
"map": "Event.context",
"identity": "workflow"
}, {
"map": "FiveWs.context",
"identity": "w5"
}, {
"map": "unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])",
"identity": "rim"
}, {
"map": ".componentOf.encompassingEncounter",
"identity": "cda"
}, {
"map": "DocumentReference.context.encounter",
"identity": "fhirdocumentreference"
}, {
"map": "[eICR R2 STU2] ClinicalDocument/componentOf/encompassingEncounter",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-encounter" ]
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.encounter",
"base": {
"max": "1",
"min": 0,
"path": "Composition.encounter"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.date",
"requirements": "dateTime is used for tracking, organizing versions and searching. Note that this is the time of *authoring*. When packaged in a document, [Bundle.timestamp](http://hl7.org/fhir/R4/bundle-definitions.html#Bundle.timestamp) is the date of packaging.",
"min": 1,
"definition": "The composition editing time, when the composition was last logically changed by the author.",
"isModifier": false,
"short": "Composition editing time",
"mapping": [ {
"map": "Event.occurrence[x]",
"identity": "workflow"
}, {
"map": "FiveWs.done[x]",
"identity": "w5"
}, {
"map": ".effectiveTime[type=\"TS\"]",
"identity": "rim"
}, {
"map": ".effectiveTime",
"identity": "cda"
}, {
"map": "DocumentReference.content.attachment.date, DocumentReference.created",
"identity": "fhirdocumentreference"
}, {
"map": "[eICR R2 STU2] ClinicalDocument/effectiveTime",
"comment": "Date of the Report",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "dateTime"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.date",
"comment": "The Last Modified Date on the composition may be after the date of the document was attested without being changed.",
"base": {
"max": "1",
"min": 1,
"path": "Composition.date"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.author",
"requirements": "Identifies who is responsible for the content.",
"min": 1,
"definition": "It is possible to have multiple authors - especially in the case where the default author is the organization. For public health reporting this could contain the contact details for the Infection Control Professional (ICP) specific to the condition being reported on. If the main author of the document is not a person, it is recommended to have an additional person author contact who is specific for a disease for follow-up requirements. This person could be the ICP. Where a trigger occurs outside of an encounter the author will represent the Provider and Facility for reporting purposes.",
"isModifier": false,
"short": "The author(s) of the eICR",
"mapping": [ {
"map": "Event.performer",
"identity": "workflow"
}, {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
}, {
"map": "DocumentReference.agent",
"identity": "fhirdocumentreference"
}, {
"map": "[eICR R2 STU2] ClinicalDocument/author",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-practitionerrole", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization", "http://hl7.org/fhir/StructureDefinition/Device" ]
} ],
"mustSupport": true,
"max": "*",
"id": "Composition.author",
"base": {
"max": "*",
"min": 1,
"path": "Composition.author"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.title",
"min": 1,
"definition": "Official human-readable label for the composition.",
"isModifier": false,
"short": "Human Readable name/title",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
}, {
"map": "DocumentReference.description, DocumentReference.content.attachment.title",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "Composition.title",
"comment": "For many compositions, the title is the same as the text or a display name of Composition.type (e.g. a \"consultation\" or \"progress note\"). Note that CDA does not make title mandatory, but there are no known cases where it is useful for title to be omitted, so it is mandatory here. Feedback on this requirement is welcome during the trial use period.",
"base": {
"max": "1",
"min": 1,
"path": "Composition.title"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.confidentiality",
"min": 0,
"definition": "The code specifying the level of confidentiality of the Composition.",
"isModifier": false,
"short": "As defined by affinity domain",
"mapping": [ {
"map": ".confidentialityCode",
"identity": "rim"
}, {
"map": ".confidentialityCode",
"identity": "cda"
}, {
"map": "DocumentReference.securityLabel",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification|2014-03-26",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "DocumentConfidentiality"
} ],
"description": "Codes specifying the level of confidentiality of the composition."
},
"max": "1",
"id": "Composition.confidentiality",
"comment": "The exact use of this element, and enforcement and issues related to highly sensitive documents are out of scope for the base specification, and delegated to implementation profiles (see security section). This element is labeled as a modifier because highly confidential documents must not be treated as if they are not.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.confidentiality"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.attester",
"requirements": "Identifies responsibility for the accuracy of the composition content.",
"min": 0,
"definition": "A participant who has attested to the accuracy of the composition/document.",
"isModifier": false,
"short": "Attests to accuracy of composition",
"mapping": [ {
"map": ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".authenticator/.legalAuthenticator",
"identity": "cda"
}, {
"map": "DocumentReference.authenticator",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"max": "*",
"id": "Composition.attester",
"comment": "Only list each attester once.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.attester"
},
"isSummary": false
}, {
"path": "Composition.attester.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.attester.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.attester.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.attester.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.attester.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.attester.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.attester.mode",
"requirements": "Indicates the level of authority of the attestation.",
"min": 1,
"definition": "The type of attestation the authenticator offers.",
"isModifier": false,
"short": "personal | professional | legal | official",
"mapping": [ {
"map": "unique(./modeCode)",
"identity": "rim"
}, {
"map": "implied by .authenticator/.legalAuthenticator",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionAttestationMode"
} ],
"description": "The way in which a person authenticated a composition."
},
"max": "1",
"id": "Composition.attester.mode",
"base": {
"max": "1",
"min": 1,
"path": "Composition.attester.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.attester.time",
"requirements": "Identifies when the information in the composition was deemed accurate. (Things may have changed since then.).",
"min": 0,
"definition": "When the composition was attested by the party.",
"isModifier": false,
"short": "When the composition was attested",
"mapping": [ {
"map": "./time[type=\"TS\" and isNormalDatatype()]",
"identity": "rim"
}, {
"map": ".authenticator.time",
"identity": "cda"
} ],
"type": [ {
"code": "dateTime"
} ],
"max": "1",
"id": "Composition.attester.time",
"base": {
"max": "1",
"min": 0,
"path": "Composition.attester.time"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.attester.party",
"requirements": "Identifies who has taken on the responsibility for accuracy of the composition content.",
"min": 0,
"definition": "Who attested the composition in the specified way.",
"isModifier": false,
"short": "Who attested the composition",
"mapping": [ {
"map": "FiveWs.witness",
"identity": "w5"
}, {
"map": "./role[classCode=\"ASSIGNED\" and isNormalRole]/player[determinerCode=\"INST\" and classCode=(\"DEV\", \"PSN\") and isNormalEntity()] or ./role[classCode=\"ASSIGNED\" and isNormalRole and not(player)]/scoper[determinerCode=\"INST\" and classCode=\"ORG\" and isNormalEntity()]",
"identity": "rim"
}, {
"map": ".authenticator.assignedEnttty",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "1",
"id": "Composition.attester.party",
"base": {
"max": "1",
"min": 0,
"path": "Composition.attester.party"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.custodian",
"requirements": "Identifies where to go to find the current version, where to report issues, etc.",
"min": 0,
"definition": "Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.",
"isModifier": false,
"short": "Organization which maintains the composition",
"mapping": [ {
"map": ".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]",
"identity": "rim"
}, {
"map": ".custodian.assignedCustodian",
"identity": "cda"
}, {
"map": "DocumentReference.custodian",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "1",
"id": "Composition.custodian",
"comment": "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 this is sometimes not known by the authoring system, and can be inferred by context. However, it is important that this information be known when working with a derived document, so providing a custodian is encouraged.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.custodian"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.relatesTo",
"min": 0,
"definition": "Relationships that this composition has with other compositions or documents that already exist.",
"isModifier": false,
"short": "Relationships to other compositions/documents",
"mapping": [ {
"map": ".outboundRelationship",
"identity": "rim"
}, {
"map": ".relatedDocument",
"identity": "cda"
}, {
"map": "DocumentReference.relatesTo",
"identity": "fhirdocumentreference"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "code",
"type": "value"
} ]
},
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"max": "*",
"id": "Composition.relatesTo",
"comment": "A document is a version specific composition.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.relatesTo"
},
"isSummary": false
}, {
"path": "Composition.relatesTo.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.relatesTo.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.relatesTo.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.relatesTo.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.relatesTo.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.relatesTo.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.relatesTo.code",
"min": 1,
"definition": "The type of relationship that this composition has with anther composition or document.",
"isModifier": false,
"short": "replaces | transforms | signs | appends",
"mapping": [ {
"map": ".outboundRelationship.typeCode",
"identity": "rim"
}, {
"map": ".relatedDocument.typeCode",
"identity": "cda"
}, {
"map": "DocumentReference.relatesTo.code",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "DocumentRelationshipType"
} ],
"description": "The type of relationship between documents."
},
"max": "1",
"id": "Composition.relatesTo.code",
"comment": "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document.",
"base": {
"max": "1",
"min": 1,
"path": "Composition.relatesTo.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.relatesTo.target[x]",
"min": 1,
"definition": "The target composition/document of this relationship.",
"isModifier": false,
"short": "Target of the relationship",
"mapping": [ {
"map": ".target[classCode=\"DOC\", moodCode=\"EVN\"].id",
"identity": "rim"
}, {
"map": ".relatedDocument.id",
"identity": "cda"
}, {
"map": "DocumentReference.relatesTo.target",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "Identifier"
}, {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Composition" ]
} ],
"max": "1",
"id": "Composition.relatesTo.target[x]",
"base": {
"max": "1",
"min": 1,
"path": "Composition.relatesTo.target[x]"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.relatesTo",
"min": 0,
"definition": "Document of Composition that this Composition is transformed from",
"isModifier": false,
"short": "Document or Composition that this Composition is transformed from",
"mapping": [ {
"map": ".outboundRelationship",
"identity": "rim"
}, {
"map": ".relatedDocument",
"identity": "cda"
}, {
"map": "DocumentReference.relatesTo",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"sliceName": "sliceTransformed",
"max": "1",
"id": "Composition.relatesTo:sliceTransformed",
"comment": "A document is a version specific composition.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.relatesTo"
},
"isSummary": false
}, {
"path": "Composition.relatesTo.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.relatesTo:sliceTransformed.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.relatesTo.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.relatesTo:sliceTransformed.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.relatesTo.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.relatesTo:sliceTransformed.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.relatesTo.code",
"fixedCode": "transforms",
"min": 1,
"definition": "The type of relationship that this composition has with anther composition or document.",
"isModifier": false,
"short": "replaces | transforms | signs | appends",
"mapping": [ {
"map": ".outboundRelationship.typeCode",
"identity": "rim"
}, {
"map": ".relatedDocument.typeCode",
"identity": "cda"
}, {
"map": "DocumentReference.relatesTo.code",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "DocumentRelationshipType"
} ],
"description": "The type of relationship between documents."
},
"max": "1",
"id": "Composition.relatesTo:sliceTransformed.code",
"comment": "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document.",
"base": {
"max": "1",
"min": 1,
"path": "Composition.relatesTo.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.relatesTo.target[x]",
"min": 1,
"definition": "Identifier of the Document or Composition transformed",
"isModifier": false,
"short": "Identifier of the Document or Composition transformed",
"mapping": [ {
"map": ".target[classCode=\"DOC\", moodCode=\"EVN\"].id",
"identity": "rim"
}, {
"map": ".relatedDocument.id",
"identity": "cda"
}, {
"map": "DocumentReference.relatesTo.target",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "Identifier"
} ],
"max": "1",
"id": "Composition.relatesTo:sliceTransformed.target[x]",
"base": {
"max": "1",
"min": 1,
"path": "Composition.relatesTo.target[x]"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.relatesTo",
"min": 0,
"definition": "Document or Composition that this Composition replaces",
"isModifier": false,
"short": "Document or Composition that this Composition replaces",
"mapping": [ {
"map": ".outboundRelationship",
"identity": "rim"
}, {
"map": ".relatedDocument",
"identity": "cda"
}, {
"map": "DocumentReference.relatesTo",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"sliceName": "sliceReplaced",
"max": "1",
"id": "Composition.relatesTo:sliceReplaced",
"comment": "A document is a version specific composition.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.relatesTo"
},
"isSummary": false
}, {
"path": "Composition.relatesTo.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.relatesTo:sliceReplaced.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.relatesTo.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.relatesTo:sliceReplaced.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.relatesTo.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.relatesTo:sliceReplaced.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.relatesTo.code",
"fixedCode": "replaces",
"min": 1,
"definition": "The type of relationship that this composition has with anther composition or document.",
"isModifier": false,
"short": "replaces | transforms | signs | appends",
"mapping": [ {
"map": ".outboundRelationship.typeCode",
"identity": "rim"
}, {
"map": ".relatedDocument.typeCode",
"identity": "cda"
}, {
"map": "DocumentReference.relatesTo.code",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "DocumentRelationshipType"
} ],
"description": "The type of relationship between documents."
},
"max": "1",
"id": "Composition.relatesTo:sliceReplaced.code",
"comment": "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document.",
"base": {
"max": "1",
"min": 1,
"path": "Composition.relatesTo.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.relatesTo.target[x]",
"min": 1,
"definition": "Identifier/Reference to the Document or Composition transformed",
"isModifier": false,
"short": "Identifier/Reference to the Document or Composition transformed",
"mapping": [ {
"map": ".target[classCode=\"DOC\", moodCode=\"EVN\"].id",
"identity": "rim"
}, {
"map": ".relatedDocument.id",
"identity": "cda"
}, {
"map": "DocumentReference.relatesTo.target",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "Identifier"
}, {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Composition" ]
} ],
"max": "1",
"id": "Composition.relatesTo:sliceReplaced.target[x]",
"base": {
"max": "1",
"min": 1,
"path": "Composition.relatesTo.target[x]"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.event",
"requirements": "Provides context for the composition and creates a linkage between a resource describing an event and the composition created describing the event.",
"min": 0,
"definition": "The clinical service, such as a colonoscopy or an appendectomy, being documented.",
"isModifier": false,
"short": "The clinical service(s) being documented",
"mapping": [ {
"map": "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']",
"identity": "rim"
}, {
"map": ".documentationOf.serviceEvent",
"identity": "cda"
}, {
"map": "DocumentReference.event",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"max": "*",
"id": "Composition.event",
"comment": "The event needs to be consistent with the type element, though can provide further information if desired.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.event"
},
"isSummary": true
}, {
"path": "Composition.event.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.event.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.event.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.event.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.event.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.event.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.event.code",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Code(s) that apply to the event being documented",
"mapping": [ {
"map": ".code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "DocumentReference.event.code",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "example",
"valueSet": "http://terminology.hl7.org/ValueSet/v3-ActCode",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "DocumentEventType"
} ],
"description": "This list of codes represents the main clinical acts being documented."
},
"max": "*",
"id": "Composition.event.code",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.event.code"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.event.period",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "The period covered by the documentation",
"mapping": [ {
"map": ".effectiveTime",
"identity": "rim"
}, {
"map": ".effectiveTime",
"identity": "cda"
}, {
"map": "DocumentReference.event.period",
"identity": "fhirdocumentreference"
} ],
"type": [ {
"code": "Period"
} ],
"max": "1",
"id": "Composition.event.period",
"base": {
"max": "1",
"min": 0,
"path": "Composition.event.period"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.event.detail",
"min": 0,
"definition": "The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy.",
"isModifier": false,
"short": "The event(s) being documented",
"mapping": [ {
"map": ".outboundRelationship[typeCode=\"SUBJ\"].target",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "*",
"id": "Composition.event.detail",
"base": {
"max": "*",
"min": 0,
"path": "Composition.event.detail"
},
"isSummary": true
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 0,
"definition": "The root of the sections that make up the composition.",
"isModifier": false,
"short": "Composition is broken into sections",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "code",
"type": "value"
} ]
},
"type": [ {
"code": "BackboneElement"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "*",
"id": "Composition.section",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 0,
"definition": "A code identifying the kind of content contained within the section. This must be consistent with the section title.",
"isModifier": false,
"short": "Classification of section (recommended)",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 0,
"definition": "A human-readable narrative that contains the attested content of the section, 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.",
"isModifier": false,
"short": "Text summary of the section, for human interpretation",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
} ],
"type": [ {
"code": "Narrative"
} ],
"max": "1",
"id": "Composition.section.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "*",
"id": "Composition.section.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 1,
"definition": "This section records the patient's chief complaint (the patient’s own description) and/or the reason for the patient's visit (the provider’s description of the reason for visit).",
"isModifier": false,
"short": "Chief Complaint and Reason for Visit Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Chief Complaint and Reason for Visit Section",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "sliceChiefComplaintAndReasonForVisitSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Chief Complaint and Reason for Visit code",
"isModifier": false,
"short": "Chief Complaint and Reason for Visit code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Chief Complaint and Reason for Visit Section/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "46239-0",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Chief Complaint and Reason for Visit narrative",
"isModifier": false,
"short": "Chief Complaint and Reason for Visit narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Chief Complaint and Reason for Visit Section/text",
"comment": "Chief Complaint and Reason for Visit",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "*",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 1,
"definition": "The History of Present Illness section describes the history related to the reason for the encounter. It contains the historical details leading up to and pertaining to the patient’s current complaint or reason for seeking medical care.",
"isModifier": false,
"short": "History of Present Illness Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] History of Present Illness Section",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "sliceHistoryOfPresentIllnessSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "History of Present Illness code",
"isModifier": false,
"short": "History of Present Illness code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] History of Present Illness Section/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "10164-2",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "History of Present Illness narrative",
"isModifier": false,
"short": "History of Present Illness narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] History of Present Illness Section/text",
"comment": "History of Present Illness",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "*",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 0,
"definition": "The Review of Systems Section contains a relevant collection of symptoms and functions systematically gathered by a clinician. It includes symptoms the patient is currently experiencing, some of which were not elicited during the history of present illness, as well as a potentially large number of pertinent negatives, for example, symptoms that the patient denied experiencing.",
"isModifier": false,
"short": "Review of Systems Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Review of Systems Section",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "sliceReviewOfSystemsSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceReviewOfSystemsSection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceReviewOfSystemsSection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:sliceReviewOfSystemsSection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:sliceReviewOfSystemsSection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:sliceReviewOfSystemsSection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Review of Systems code",
"isModifier": false,
"short": "Review of Systems code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Review of Systems Section/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:sliceReviewOfSystemsSection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "10187-3",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:sliceReviewOfSystemsSection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:sliceReviewOfSystemsSection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Review of Systems narrative",
"isModifier": false,
"short": "Review of Systems narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Review of Systems Section/text",
"comment": "Review of Systems",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:sliceReviewOfSystemsSection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:sliceReviewOfSystemsSection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:sliceReviewOfSystemsSection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "*",
"id": "Composition.section:sliceReviewOfSystemsSection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:sliceReviewOfSystemsSection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:sliceReviewOfSystemsSection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 1,
"definition": "This section lists and describes all the patient's current problems on the maintained problem list.",
"isModifier": false,
"short": "Problem Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Problem Section (entries required) (V3)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "sliceProblemSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceProblemSection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceProblemSection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:sliceProblemSection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:sliceProblemSection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:sliceProblemSection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Problem Section code",
"isModifier": false,
"short": "Problem Section code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Problem Section (entries required) (V3)/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:sliceProblemSection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "11450-4",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:sliceProblemSection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:sliceProblemSection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Problem Section narrative",
"isModifier": false,
"short": "Problem Section narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Problem Section (entries required) (V3)/text",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:sliceProblemSection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:sliceProblemSection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:sliceProblemSection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"mustSupport": true,
"max": "*",
"id": "Composition.section:sliceProblemSection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "The eICR Trigger Code Flag (extension) is present for an eICR Condition (diagnosis), based on a trigger code match of the diagnosis (condition.code) to the eRSD PlanDefinition Diagnosis Trigger.",
"isModifier": false,
"short": "eICR Condition entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Problem Observation (V3) + Initial Case Report Trigger Code Problem Observation (V2)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-condition" ]
} ],
"mustSupport": true,
"sliceName": "sliceEICRCondition",
"max": "*",
"id": "Composition.section:sliceProblemSection.entry:sliceEICRCondition",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"path": "Composition.section.entry.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceProblemSection.entry:sliceEICRCondition.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "Composition.section:sliceProblemSection.entry:sliceEICRCondition.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eCR to be generated.",
"isModifier": false,
"short": "eICR Trigger Code Flag",
"mapping": [ {
"map": "[eICR R2 STU2] Initial Case Report Trigger Code Problem Observation",
"comment": "Diagnosis Trigger",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"mustSupport": true,
"sliceName": "sliceTriggerCondition",
"max": "1",
"id": "Composition.section:sliceProblemSection.entry:sliceEICRCondition.extension:sliceTriggerCondition",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.reference",
"min": 0,
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"isModifier": false,
"short": "Literal reference, Relative, internal or absolute URL",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "Composition.section:sliceProblemSection.entry:sliceEICRCondition.reference",
"condition": [ "ref-1" ],
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.reference"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.type",
"min": 0,
"definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
"isModifier": false,
"short": "Type the reference refers to (e.g. \"Patient\")",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "uri"
} ],
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/resource-types",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "FHIRResourceTypeExt"
} ],
"description": "Aa resource (or, for logical models, the URI of the logical model)."
},
"max": "1",
"id": "Composition.section:sliceProblemSection.entry:sliceEICRCondition.type",
"comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.type"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.identifier",
"min": 0,
"definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"isModifier": false,
"short": "Logical reference, when literal reference is not known",
"mapping": [ {
"map": ".identifier",
"identity": "rim"
} ],
"type": [ {
"code": "Identifier"
} ],
"max": "1",
"id": "Composition.section:sliceProblemSection.entry:sliceEICRCondition.identifier",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).",
"base": {
"max": "1",
"min": 0,
"path": "Reference.identifier"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.display",
"min": 0,
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"isModifier": false,
"short": "Text alternative for the resource",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "Composition.section:sliceProblemSection.entry:sliceEICRCondition.display",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.display"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:sliceProblemSection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:sliceProblemSection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 0,
"definition": "This section contains a record of the patient’s past complaints, problems, and diagnoses. It contains data from the patient’s past up to the patient’s current complaint or reason for seeking medical care.",
"isModifier": false,
"short": "Past Medical History Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Past Medical History Section (V3)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "slicePastMedicalHistorySection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:slicePastMedicalHistorySection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:slicePastMedicalHistorySection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:slicePastMedicalHistorySection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:slicePastMedicalHistorySection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:slicePastMedicalHistorySection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Past Medical History Section code",
"isModifier": false,
"short": "Past Medical History Section code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Past Medical History Section (V3)/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:slicePastMedicalHistorySection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "11348-0",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:slicePastMedicalHistorySection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:slicePastMedicalHistorySection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Past Medical History Section narrative",
"isModifier": false,
"short": "Past Medical History Section narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Past Medical History Section (V3)/text",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:slicePastMedicalHistorySection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:slicePastMedicalHistorySection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:slicePastMedicalHistorySection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"mustSupport": true,
"max": "*",
"id": "Composition.section:slicePastMedicalHistorySection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "US Core Condition",
"isModifier": false,
"short": "US Core Condition entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" ]
} ],
"mustSupport": true,
"sliceName": "sliceUSCoreCondition",
"max": "*",
"id": "Composition.section:slicePastMedicalHistorySection.entry:sliceUSCoreCondition",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:slicePastMedicalHistorySection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:slicePastMedicalHistorySection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 1,
"definition": "The Medications Administered Section defines medications administered during the encounter.",
"isModifier": false,
"short": "Medications Administered Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Medications Administered Section (V2)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "sliceMedicationsAdministeredSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:sliceMedicationsAdministeredSection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:sliceMedicationsAdministeredSection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Medications Administered Section code",
"isModifier": false,
"short": "Medications Administered Section code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Medications Administered Section (V2)/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "29549-3",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:sliceMedicationsAdministeredSection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Medications Administered Section narrative",
"isModifier": false,
"short": "Medications Administered Section narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Medications Administered Section (V2)/text",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"mustSupport": true,
"max": "*",
"id": "Composition.section:sliceMedicationsAdministeredSection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "The eICR Trigger Code Flag (extension) is present for an MedicationAdministration, based on a trigger code match of the medication (MedicationAdministration.medicationCodeableConcept) to the eRSD PlanDefinition Medications Trigger.",
"isModifier": false,
"short": "Medication Administration entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Medication Activity (V2)/Medication Information (V2) + Medication Activity (V2)/Initial Case Report Trigger Code Medication Information",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" ]
} ],
"mustSupport": true,
"sliceName": "sliceMedicationAdministration",
"max": "*",
"id": "Composition.section:sliceMedicationsAdministeredSection.entry:sliceMedicationAdministration",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"path": "Composition.section.entry.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.entry:sliceMedicationAdministration.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "Composition.section:sliceMedicationsAdministeredSection.entry:sliceMedicationAdministration.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eICR to be generated.",
"isModifier": false,
"short": "eICR Trigger Code Flag",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"sliceName": "sliceTriggerMedicationAdministered",
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.entry:sliceMedicationAdministration.extension:sliceTriggerMedicationAdministered",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.reference",
"min": 0,
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"isModifier": false,
"short": "Literal reference, Relative, internal or absolute URL",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.entry:sliceMedicationAdministration.reference",
"condition": [ "ref-1" ],
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.reference"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.type",
"min": 0,
"definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
"isModifier": false,
"short": "Type the reference refers to (e.g. \"Patient\")",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "uri"
} ],
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/resource-types",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "FHIRResourceTypeExt"
} ],
"description": "Aa resource (or, for logical models, the URI of the logical model)."
},
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.entry:sliceMedicationAdministration.type",
"comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.type"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.identifier",
"min": 0,
"definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"isModifier": false,
"short": "Logical reference, when literal reference is not known",
"mapping": [ {
"map": ".identifier",
"identity": "rim"
} ],
"type": [ {
"code": "Identifier"
} ],
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.entry:sliceMedicationAdministration.identifier",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).",
"base": {
"max": "1",
"min": 0,
"path": "Reference.identifier"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.display",
"min": 0,
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"isModifier": false,
"short": "Text alternative for the resource",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.entry:sliceMedicationAdministration.display",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.display"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:sliceMedicationsAdministeredSection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 1,
"definition": "The Results Section contains observations of results generated by laboratories, imaging procedures, and other procedures. The scope includes observations such as hematology, chemistry, serology, virology, toxicology, microbiology, plain x-ray, ultrasound, CT, MRI, angiography, echocardiography, nuclear medicine, pathology, and procedure observations. The section often includes notable results such as abnormal values or relevant trends, and could contain all results for the period of time being documented.\n\nLaboratory results are typically generated by laboratories providing analytic services in areas such as chemistry, hematology, serology, histology, cytology, anatomic pathology, microbiology, and/or virology. These observations are based on analysis of specimens obtained from the patient and submitted to the laboratory. Imaging results are typically generated by a clinician reviewing the output of an imaging procedure, such as where a cardiologist reports the left ventricular ejection fraction based on the review of a cardiac echocardiogram.\n\nProcedure results are typically generated by a clinician to provide more granular information about component observations made during a procedure, such as where a gastroenterologist reports the size of a polyp observed during a colonoscopy.\n",
"isModifier": false,
"short": "Results Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Results Section (entries required) (V3)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "sliceResultsSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceResultsSection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceResultsSection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:sliceResultsSection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:sliceResultsSection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:sliceResultsSection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Results Section code",
"isModifier": false,
"short": "Results Section code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Results Section (entries required) (V3)/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:sliceResultsSection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "30954-2",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:sliceResultsSection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:sliceResultsSection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Results Section narrative",
"isModifier": false,
"short": "Results Section narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Results Section (entries required) (V3)/text",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:sliceResultsSection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:sliceResultsSection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:sliceResultsSection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "*",
"id": "Composition.section:sliceResultsSection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "The eICR Trigger Code Flag (extension) is present for a laboratory result, based on a trigger code match of either the lab test (observation.code) to the eRSD PlanDefinition Lab Obs Test Name Trigger or the lab test result (observation.value) to the eRSD PlanDefinition Organism Substance Trigger.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Result Observation (V3) + Initial Case Report Trigger Code Result Observation (V2)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" ]
} ],
"mustSupport": true,
"sliceName": "sliceUSCoreObservationResults",
"max": "*",
"id": "Composition.section:sliceResultsSection.entry:sliceUSCoreObservationResults",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"path": "Composition.section.entry.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceResultsSection.entry:sliceUSCoreObservationResults.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "Composition.section:sliceResultsSection.entry:sliceUSCoreObservationResults.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eCR to be generated. ",
"isModifier": false,
"short": "eICR Trigger Code Flag",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"mustSupport": true,
"sliceName": "sliceTriggerUSCoreObservationResults",
"max": "*",
"id": "Composition.section:sliceResultsSection.entry:sliceUSCoreObservationResults.extension:sliceTriggerUSCoreObservationResults",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.reference",
"min": 0,
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"isModifier": false,
"short": "Literal reference, Relative, internal or absolute URL",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "Composition.section:sliceResultsSection.entry:sliceUSCoreObservationResults.reference",
"condition": [ "ref-1" ],
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.reference"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.type",
"min": 0,
"definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
"isModifier": false,
"short": "Type the reference refers to (e.g. \"Patient\")",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "uri"
} ],
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/resource-types",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "FHIRResourceTypeExt"
} ],
"description": "Aa resource (or, for logical models, the URI of the logical model)."
},
"max": "1",
"id": "Composition.section:sliceResultsSection.entry:sliceUSCoreObservationResults.type",
"comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.type"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.identifier",
"min": 0,
"definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"isModifier": false,
"short": "Logical reference, when literal reference is not known",
"mapping": [ {
"map": ".identifier",
"identity": "rim"
} ],
"type": [ {
"code": "Identifier"
} ],
"max": "1",
"id": "Composition.section:sliceResultsSection.entry:sliceUSCoreObservationResults.identifier",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).",
"base": {
"max": "1",
"min": 0,
"path": "Reference.identifier"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.display",
"min": 0,
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"isModifier": false,
"short": "Text alternative for the resource",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "Composition.section:sliceResultsSection.entry:sliceUSCoreObservationResults.display",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.display"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:sliceResultsSection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:sliceResultsSection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 1,
"definition": "This section, contains data that define pending orders, interventions, encounters, services, and procedures for the patient. It is limited to prospective, unfulfilled, or incomplete orders and requests only. All active, incomplete, or pending orders, appointments, referrals, procedures, services, or any other pending event of clinical significance to the current care of the patient should be listed. ",
"isModifier": false,
"short": "Plan of Treatment Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Plan of Treatment Section (V2)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "slicePlanOfTreatmentSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:slicePlanOfTreatmentSection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:slicePlanOfTreatmentSection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Plan of Treatment code",
"isModifier": false,
"short": "Plan of Treatment code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Plan of Treatment Section (V2)/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "18776-5",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:slicePlanOfTreatmentSection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Plan of Treatment narrative",
"isModifier": false,
"short": "Plan of Treatment narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Plan of Treatment Section (V2)/text",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"mustSupport": true,
"max": "*",
"id": "Composition.section:slicePlanOfTreatmentSection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "The eICR Trigger Code Flag (extension) is present for a laboratory test order, based on a trigger code match of the lab test (observation.code) to the eRSD PlanDefinition Lab Obs Test Name Trigger or the lab test result (observation.value) to the eRSD PlanDefinition Organism Substance Trigger.",
"isModifier": false,
"short": "eICR Service Request entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Planned Observation (V2) + Initial Case Report Trigger Code Lab Test Order (V2)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-servicerequest" ]
} ],
"mustSupport": true,
"sliceName": "sliceEICRServiceRequest",
"max": "*",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceEICRServiceRequest",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"path": "Composition.section.entry.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceEICRServiceRequest.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceEICRServiceRequest.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eCR to be generated.",
"isModifier": false,
"short": "eICR Trigger Code Flag",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"mustSupport": true,
"sliceName": "sliceTriggerEICRServiceRequest",
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceEICRServiceRequest.extension:sliceTriggerEICRServiceRequest",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.reference",
"min": 0,
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"isModifier": false,
"short": "Literal reference, Relative, internal or absolute URL",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceEICRServiceRequest.reference",
"condition": [ "ref-1" ],
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.reference"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.type",
"min": 0,
"definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
"isModifier": false,
"short": "Type the reference refers to (e.g. \"Patient\")",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "uri"
} ],
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/resource-types",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "FHIRResourceTypeExt"
} ],
"description": "Aa resource (or, for logical models, the URI of the logical model)."
},
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceEICRServiceRequest.type",
"comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.type"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.identifier",
"min": 0,
"definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"isModifier": false,
"short": "Logical reference, when literal reference is not known",
"mapping": [ {
"map": ".identifier",
"identity": "rim"
} ],
"type": [ {
"code": "Identifier"
} ],
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceEICRServiceRequest.identifier",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).",
"base": {
"max": "1",
"min": 0,
"path": "Reference.identifier"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.display",
"min": 0,
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"isModifier": false,
"short": "Text alternative for the resource",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceEICRServiceRequest.display",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.display"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "The eICR Trigger Code Flag (extension) is present for a MedicationRequest, based on a trigger code match of the medication (MedicationRequest.medicationCodeableConcept) to the eRSD PlanDefinition Medications Trigger.",
"isModifier": false,
"short": "US Core Medication Request entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Planned Medication Activity (V2)/Medication Information (V2) + Planned Medication Activity (V2)/Initial Case Report Trigger Code Medication Information",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" ]
} ],
"mustSupport": true,
"sliceName": "sliceUSCoreMedicationRequest",
"max": "*",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceUSCoreMedicationRequest",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"path": "Composition.section.entry.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceUSCoreMedicationRequest.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceUSCoreMedicationRequest.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eCR to be generated.",
"isModifier": false,
"short": "eICR Trigger Code Flag",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"mustSupport": true,
"sliceName": "sliceTriggerUSCoreMedicationRequest",
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceUSCoreMedicationRequest.extension:sliceTriggerUSCoreMedicationRequest",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.reference",
"min": 0,
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"isModifier": false,
"short": "Literal reference, Relative, internal or absolute URL",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceUSCoreMedicationRequest.reference",
"condition": [ "ref-1" ],
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.reference"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.type",
"min": 0,
"definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
"isModifier": false,
"short": "Type the reference refers to (e.g. \"Patient\")",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "uri"
} ],
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/resource-types",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "FHIRResourceTypeExt"
} ],
"description": "Aa resource (or, for logical models, the URI of the logical model)."
},
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceUSCoreMedicationRequest.type",
"comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.type"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.identifier",
"min": 0,
"definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"isModifier": false,
"short": "Logical reference, when literal reference is not known",
"mapping": [ {
"map": ".identifier",
"identity": "rim"
} ],
"type": [ {
"code": "Identifier"
} ],
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceUSCoreMedicationRequest.identifier",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).",
"base": {
"max": "1",
"min": 0,
"path": "Reference.identifier"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.display",
"min": 0,
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"isModifier": false,
"short": "Text alternative for the resource",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceUSCoreMedicationRequest.display",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.display"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:slicePlanOfTreatmentSection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 0,
"definition": "The Immunizations Section defines a patient's current immunization status and pertinent immunization history. The primary use case for the Immunization Section is to enable communication of a patient's immunization status. The section should include current immunization status, and may contain the entire immunization history that is relevant to the period of time being summarized.",
"isModifier": false,
"short": "Immunizations Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Immunizations Section (entries required) (V3)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "sliceImmunizationsSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceImmunizationsSection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceImmunizationsSection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:sliceImmunizationsSection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:sliceImmunizationsSection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:sliceImmunizationsSection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Immunizations code",
"isModifier": false,
"short": "Immunizations code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Immunizations Section (entries required) (V3)/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:sliceImmunizationsSection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "11369-6",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:sliceImmunizationsSection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:sliceImmunizationsSection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Immunizations narrative",
"isModifier": false,
"short": "Immunizations narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Immunizations Section (entries required) (V3)/text",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:sliceImmunizationsSection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:sliceImmunizationsSection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:sliceImmunizationsSection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"mustSupport": true,
"max": "*",
"id": "Composition.section:sliceImmunizationsSection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "The eICR Trigger Code Flag (extension) is present for an Immunization, based on a trigger code match of the vaccine (Immunization.vaccineCode) to the eRSD PlanDefinition Immunizations Trigger.",
"isModifier": false,
"short": "Immunization entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Immunization Activity (V3)/Immunization Medication Information (V2) + Immunization Activity (V3)/Initial Case Report Trigger Code Immunization Medication Information",
"comment": "Immunization Status",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" ]
} ],
"mustSupport": true,
"sliceName": "sliceUSCoreImmunization",
"max": "*",
"id": "Composition.section:sliceImmunizationsSection.entry:sliceUSCoreImmunization",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"path": "Composition.section.entry.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceImmunizationsSection.entry:sliceUSCoreImmunization.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "Composition.section:sliceImmunizationsSection.entry:sliceUSCoreImmunization.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eCR to be generated.",
"isModifier": false,
"short": "eICR Trigger Code Flag",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"sliceName": "sliceTriggerImmunization",
"max": "*",
"id": "Composition.section:sliceImmunizationsSection.entry:sliceUSCoreImmunization.extension:sliceTriggerImmunization",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.reference",
"min": 0,
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"isModifier": false,
"short": "Literal reference, Relative, internal or absolute URL",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "Composition.section:sliceImmunizationsSection.entry:sliceUSCoreImmunization.reference",
"condition": [ "ref-1" ],
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.reference"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.type",
"min": 0,
"definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
"isModifier": false,
"short": "Type the reference refers to (e.g. \"Patient\")",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "uri"
} ],
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/resource-types",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "FHIRResourceTypeExt"
} ],
"description": "Aa resource (or, for logical models, the URI of the logical model)."
},
"max": "1",
"id": "Composition.section:sliceImmunizationsSection.entry:sliceUSCoreImmunization.type",
"comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.type"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.identifier",
"min": 0,
"definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"isModifier": false,
"short": "Logical reference, when literal reference is not known",
"mapping": [ {
"map": ".identifier",
"identity": "rim"
} ],
"type": [ {
"code": "Identifier"
} ],
"max": "1",
"id": "Composition.section:sliceImmunizationsSection.entry:sliceUSCoreImmunization.identifier",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).",
"base": {
"max": "1",
"min": 0,
"path": "Reference.identifier"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.display",
"min": 0,
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"isModifier": false,
"short": "Text alternative for the resource",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "Composition.section:sliceImmunizationsSection.entry:sliceUSCoreImmunization.display",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.display"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:sliceImmunizationsSection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:sliceImmunizationsSection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 0,
"definition": "This section describes all interventional, surgical, diagnostic, or therapeutic procedures or treatments pertinent to the patient historically at the time the document is generated. The section should include notable procedures, but can contain all procedures for the period of time being summarized.",
"isModifier": false,
"short": "This section describes all interventional, surgical, diagnostic, or therapeutic procedures or treatments pertinent to the patient historically at the time the document is generated.",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
}, {
"map": "[eICR R2 STU3] Procedures Section (entries required) (V2)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "sliceProceduresSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceProceduresSection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceProceduresSection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:sliceProceduresSection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:sliceProceduresSection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:sliceProceduresSection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Procedures Section code",
"isModifier": false,
"short": "Procedures Section code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "[eICR R2 STU3] Procedures Section (entries required) (V2)/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:sliceProceduresSection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "47519-4",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:sliceProceduresSection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:sliceProceduresSection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Procedures Section narrative",
"isModifier": false,
"short": "Procedures Section narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
}, {
"map": "[eICR R2 STU3] Procedures Section (entries required) (V2)/text",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:sliceProceduresSection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:sliceProceduresSection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:sliceProceduresSection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"mustSupport": true,
"max": "*",
"id": "Composition.section:sliceProceduresSection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "The eICR Trigger Code Flag (extension) is present for a procedure, based on a trigger code match of the procedure (procedure.code) to the eRSD PlanDefinition Procedure Trigger.",
"isModifier": false,
"short": "US Public Health Procedure entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Procedure Activity Act (V2) + Procedure Activity Observation (V2) + Procedure Activity Procedure (V2) + Initial Case Report Trigger Code Procedure Activity Act + Initial Case Report Trigger Code Procedure Activity Observation + Initial Case Report Trigger Code Procedure Activity Procedure",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-emergency-outbreak-information" ]
} ],
"mustSupport": true,
"sliceName": "sliceUSPublicHealthProcedure",
"max": "*",
"id": "Composition.section:sliceProceduresSection.entry:sliceUSPublicHealthProcedure",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"path": "Composition.section.entry.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceProceduresSection.entry:sliceUSPublicHealthProcedure.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "Composition.section:sliceProceduresSection.entry:sliceUSPublicHealthProcedure.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.entry.extension",
"min": 0,
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eCR to be generated.",
"isModifier": false,
"short": "eICR Trigger Code Flag",
"mapping": [ {
"map": "[eICR R2 STU3] Initial Case Report Trigger Code Procedure Activity Act + Initial Case Report Trigger Code Procedure Activity Observation + Initial Case Report Trigger Code Procedure Activity Procedure",
"comment": "Procedure Trigger",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"mustSupport": true,
"sliceName": "sliceTriggerProcedure",
"max": "1",
"id": "Composition.section:sliceProceduresSection.entry:sliceUSPublicHealthProcedure.extension:sliceTriggerProcedure",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.reference",
"min": 0,
"definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
"isModifier": false,
"short": "Literal reference, Relative, internal or absolute URL",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "Composition.section:sliceProceduresSection.entry:sliceUSPublicHealthProcedure.reference",
"condition": [ "ref-1" ],
"comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.reference"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.type",
"min": 0,
"definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
"isModifier": false,
"short": "Type the reference refers to (e.g. \"Patient\")",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "uri"
} ],
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/resource-types",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "FHIRResourceTypeExt"
} ],
"description": "Aa resource (or, for logical models, the URI of the logical model)."
},
"max": "1",
"id": "Composition.section:sliceProceduresSection.entry:sliceUSPublicHealthProcedure.type",
"comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.type"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.identifier",
"min": 0,
"definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
"isModifier": false,
"short": "Logical reference, when literal reference is not known",
"mapping": [ {
"map": ".identifier",
"identity": "rim"
} ],
"type": [ {
"code": "Identifier"
} ],
"max": "1",
"id": "Composition.section:sliceProceduresSection.entry:sliceUSPublicHealthProcedure.identifier",
"comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).",
"base": {
"max": "1",
"min": 0,
"path": "Reference.identifier"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry.display",
"min": 0,
"definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
"isModifier": false,
"short": "Text alternative for the resource",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "Composition.section:sliceProceduresSection.entry:sliceUSPublicHealthProcedure.display",
"comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.",
"base": {
"max": "1",
"min": 0,
"path": "Reference.display"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:sliceProceduresSection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:sliceProceduresSection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 0,
"definition": "The Vital Signs Section contains relevant vital signs for the eICR. The section should include notable vital signs such as the most recent, maximum and/or minimum, baseline, or relevant trends. Vital signs are represented in the same way as other results, but are aggregated into their own section to follow clinical conventions.",
"isModifier": false,
"short": "Vital Signs Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Vital Signs Section (entries required) (V3)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "sliceVitalSignsSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceVitalSignsSection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceVitalSignsSection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:sliceVitalSignsSection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:sliceVitalSignsSection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:sliceVitalSignsSection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Vital Signs code",
"isModifier": false,
"short": "Vital Signs code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Vital Signs Section (entries required) (V3)/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:sliceVitalSignsSection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "8716-3",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:sliceVitalSignsSection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:sliceVitalSignsSection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Vital Signs narrative",
"isModifier": false,
"short": "Vital Signs narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Vital Signs Section (entries required) (V3)/text",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:sliceVitalSignsSection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:sliceVitalSignsSection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:sliceVitalSignsSection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"mustSupport": true,
"max": "*",
"id": "Composition.section:sliceVitalSignsSection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Vital Signs Organizer (V3)/Vital Sign Observation (V2)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/vitalsigns" ]
} ],
"mustSupport": true,
"sliceName": "sliceVitalSigns",
"max": "*",
"id": "Composition.section:sliceVitalSignsSection.entry:sliceVitalSigns",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:sliceVitalSignsSection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:sliceVitalSignsSection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 1,
"definition": "This section contains social history data that influence a patient’s physical, psychological or emotional health such as occupation, home environment, travel history, and disability status.",
"isModifier": false,
"short": "Social History Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Social History Section (V3)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "sliceSocialHistorySection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceSocialHistorySection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceSocialHistorySection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:sliceSocialHistorySection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:sliceSocialHistorySection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:sliceSocialHistorySection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Social History Section code",
"isModifier": false,
"short": "Social History Section code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Social History Section (V3)/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:sliceSocialHistorySection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "29762-2",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:sliceSocialHistorySection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:sliceSocialHistorySection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Social History Section narrative",
"isModifier": false,
"short": "Social History Section narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Social History Section (V3)/text",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:sliceSocialHistorySection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:sliceSocialHistorySection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:sliceSocialHistorySection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"mustSupport": true,
"max": "*",
"id": "Composition.section:sliceSocialHistorySection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "If the patient is homeless, complete as much address information as possible (city, zip, county, etc.) and use the Characteristics of Home Environment profile to indicate that the patient is homeless.",
"isModifier": false,
"short": "Characteristics of Home Environment",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/characteristics-of-home-environment" ]
} ],
"mustSupport": true,
"sliceName": "sliceCharacteristicsOfHomeEnvironment",
"max": "*",
"id": "Composition.section:sliceSocialHistorySection.entry:sliceCharacteristicsOfHomeEnvironment",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "ODH Past or Present Job entry",
"isModifier": false,
"short": "ODH Past or Present Job entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Past or Present Occupation Observation",
"comment": "Current Occupation, Current Industry, Current Job Title, Current Employer Name, Current Employer Phone, Current Employer Address",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/odh/StructureDefinition/odh-PastOrPresentJob" ]
} ],
"sliceName": "sliceODHPastOrPresentJob",
"max": "*",
"id": "Composition.section:sliceSocialHistorySection.entry:sliceODHPastOrPresentJob",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "ODH Usual Work entry",
"isModifier": false,
"short": "ODH Usual Work entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Usual Occupation Observation",
"comment": "Usual Occupation, Usual Industry, Occupational Exposure",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/odh/StructureDefinition/odh-UsualWork" ]
} ],
"sliceName": "sliceODHUsualWork",
"max": "*",
"id": "Composition.section:sliceSocialHistorySection.entry:sliceODHUsualWork",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "ODH Travel History entry",
"isModifier": false,
"short": "Travel History entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Travel History",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/travel-history-observation" ]
} ],
"mustSupport": true,
"sliceName": "sliceTravelHistory",
"max": "*",
"id": "Composition.section:sliceSocialHistorySection.entry:sliceTravelHistory",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "Disability status entry",
"isModifier": false,
"short": "Disability Status entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/disability-status" ]
} ],
"mustSupport": true,
"sliceName": "sliceDisabilityStatus",
"max": "*",
"id": "Composition.section:sliceSocialHistorySection.entry:sliceDisabilityStatus",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "Exposure Information entry",
"isModifier": false,
"short": "Exposure Information entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-exposure-contact-information" ]
} ],
"sliceName": "sliceExposureContactInformation",
"max": "*",
"id": "Composition.section:sliceSocialHistorySection.entry:sliceExposureContactInformation",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:sliceSocialHistorySection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:sliceSocialHistorySection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 0,
"definition": "The Pregnancy Section contains a patient's current and past pregnancy history information.",
"isModifier": false,
"short": "Pregnancy Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Pregnancy Section",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "slicePregnancySection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:slicePregnancySection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:slicePregnancySection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:slicePregnancySection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:slicePregnancySection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:slicePregnancySection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Pregnancy summary Document code",
"isModifier": false,
"short": "Pregnancy summary Document code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Pregnancy Section/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:slicePregnancySection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "90767-5",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:slicePregnancySection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:slicePregnancySection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Pregnancy summary Document narrative",
"isModifier": false,
"short": "Pregnancy summary Document narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Pregnancy Section/text",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:slicePregnancySection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:slicePregnancySection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:slicePregnancySection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "*",
"id": "Composition.section:slicePregnancySection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 1,
"definition": "Pregnancy Status Observation entry",
"isModifier": false,
"short": "Pregnancy Status Observation entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Pregnancy Status Observation (SUPPLEMENTAL PREGNANCY)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/pregnancy-status-observation" ]
} ],
"sliceName": "slicePregnancyStatusObservation",
"max": "*",
"id": "Composition.section:slicePregnancySection.entry:slicePregnancyStatusObservation",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "Pregnancy Outcome entry",
"isModifier": false,
"short": "Pregnancy Outcome entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/pregnancy-outcome-observation" ]
} ],
"mustSupport": true,
"sliceName": "slicePregnancyOutcome",
"max": "*",
"id": "Composition.section:slicePregnancySection.entry:slicePregnancyOutcome",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "Last Menstrual Period entry",
"isModifier": false,
"short": "Last Menstrual Period entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Last Menstrual Period (V2)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-last-menstrual-period" ]
} ],
"sliceName": "sliceLastMenstrualPeriod",
"max": "*",
"id": "Composition.section:slicePregnancySection.entry:sliceLastMenstrualPeriod",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "Postpartum Status entry",
"isModifier": false,
"short": "Postpartum Status entry",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
}, {
"map": "[eICR R2 STU2] Postpartum Status",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/postpartum-status" ]
} ],
"sliceName": "slicePostpartumStatus",
"max": "*",
"id": "Composition.section:slicePregnancySection.entry:slicePostpartumStatus",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:slicePregnancySection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:slicePregnancySection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 0,
"definition": "The Reportability Response Information Section contains information from a Reportability Response that was generated in response to this eICR.",
"isModifier": false,
"short": "Reportability Response Information Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "sliceReportabilityResponseInformationSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceReportabilityResponseInformationSection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceReportabilityResponseInformationSection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:sliceReportabilityResponseInformationSection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:sliceReportabilityResponseInformationSection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:sliceReportabilityResponseInformationSection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Reportability response report Document Public health",
"isModifier": false,
"short": "Reportability response report Document Public health",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:sliceReportabilityResponseInformationSection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "88085-6",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:sliceReportabilityResponseInformationSection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:sliceReportabilityResponseInformationSection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Reportability Response Information Section narrative",
"isModifier": false,
"short": "Reportability Response Information Section narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:sliceReportabilityResponseInformationSection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:sliceReportabilityResponseInformationSection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:sliceReportabilityResponseInformationSection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "*",
"id": "Composition.section:sliceReportabilityResponseInformationSection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/rr-relevant-reportable-condition-plandefinition" ]
} ],
"mustSupport": true,
"sliceName": "sliceReportabilityResponsePlanDefinition",
"max": "*",
"id": "Composition.section:sliceReportabilityResponseInformationSection.entry:sliceReportabilityResponsePlanDefinition",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:sliceReportabilityResponseInformationSection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:sliceReportabilityResponseInformationSection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
}, {
"constraint": [ {
"key": "cmp-1",
"human": "A section must contain at least one of text, entries, or sub-sections",
"xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "text.exists() or entry.exists() or section.exists()"
}, {
"key": "cmp-2",
"human": "A section can only have an emptyReason if it is empty",
"xpath": "not(exists(f:emptyReason) and exists(f:entry))",
"source": "http://hl7.org/fhir/StructureDefinition/Composition",
"severity": "error",
"expression": "emptyReason.empty() or entry.empty()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section",
"min": 0,
"definition": "This section represents information that is required during a public health emergency/outbreak.",
"isModifier": false,
"short": "Emergency Outbreak Information Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.structuredBody.component.section",
"identity": "cda"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": true,
"sliceName": "sliceEmergencyOutbreakInformationSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section"
},
"isSummary": false
}, {
"path": "Composition.section.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.extension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Composition.section.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.modifierExtension",
"comment": "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 level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.title",
"requirements": "Section headings are often standardized for different types of documents. They give guidance to humans on how the document is organized.",
"min": 0,
"definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
"isModifier": false,
"short": "Label for section (e.g. for ToC)",
"mapping": [ {
"map": "./title",
"identity": "rim"
}, {
"map": ".title",
"identity": "cda"
} ],
"type": [ {
"code": "string"
} ],
"alias": [ "header", "label", "caption" ],
"max": "1",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.title",
"comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title, or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.code",
"requirements": "Provides computable standardized labels to topics within the document.",
"min": 1,
"definition": "Emergency Outbreak Information Section code",
"isModifier": false,
"short": "Emergency Outbreak Information Section code",
"mapping": [ {
"map": "./code",
"identity": "rim"
}, {
"map": ".code",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "CompositionSectionType"
} ],
"description": "Classification of a section of a composition/document."
},
"max": "1",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.code",
"comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
"patternCodeableConcept": {
"coding": [ {
"code": "83910-0",
"system": "http://loinc.org"
} ]
},
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.code"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.author",
"requirements": "Identifies who is responsible for the content.",
"min": 0,
"definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
"isModifier": false,
"short": "Who and/or what authored the section",
"mapping": [ {
"map": "FiveWs.author",
"identity": "w5"
}, {
"map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
"identity": "rim"
}, {
"map": ".author.assignedAuthor",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
} ],
"max": "*",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.author",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.author"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.focus",
"min": 0,
"definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
"isModifier": false,
"short": "Who/what the section is about, when it is not about the subject of composition",
"mapping": [ {
"map": ".subject? (CDA did not differentiate between subject and focus)",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "1",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.focus",
"comment": "Typically, sections in a doument are about the subject of the document, whether that is a patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.focus"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.text",
"min": 1,
"definition": "Emergency Outbreak Information Section narrative",
"isModifier": false,
"short": "Emergency Outbreak Information Section narrative",
"mapping": [ {
"map": ".text",
"identity": "rim"
}, {
"map": ".text",
"identity": "cda"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"max": "1",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.text",
"condition": [ "cmp-1" ],
"comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.text"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.mode",
"requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
"min": 0,
"definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
"isModifier": false,
"short": "working | snapshot | changes",
"mapping": [ {
"map": "FiveWs.class",
"identity": "w5"
}, {
"map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionMode"
} ],
"description": "The processing mode that applies to this section."
},
"max": "1",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.mode",
"comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.mode"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.orderedBy",
"requirements": "Important for presentation and rendering. Lists may be sorted to place more important information first or to group related entries.",
"min": 0,
"definition": "Specifies the order applied to the items in the section entries.",
"isModifier": false,
"short": "Order of section entries",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-order",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEntryOrder"
} ],
"description": "What order applies to the items in the entry."
},
"max": "1",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.orderedBy",
"comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.orderedBy"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
} ],
"max": "*",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.entry",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.entry",
"min": 0,
"definition": "A reference to the actual resource from which the narrative in the section is derived.",
"isModifier": false,
"short": "A reference to data that supports this section",
"mapping": [ {
"map": ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]",
"identity": "rim"
}, {
"map": ".entry",
"identity": "cda"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-emergency-outbreak-information" ]
} ],
"mustSupport": true,
"sliceName": "sliceObservationEmergencyOutbreakInformation",
"max": "*",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.entry:sliceObservationEmergencyOutbreakInformation",
"condition": [ "cmp-2" ],
"comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.entry"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.emptyReason",
"requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
"min": 0,
"definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
"isModifier": false,
"short": "Why the section is empty",
"mapping": [ {
"map": ".inboundRelationship[typeCode=SUBJ,code,
"identity": "rim"
}, {
"map": "n/a",
"identity": "cda"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SectionEmptyReason"
} ],
"description": "If a section is empty, why it is empty."
},
"max": "1",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.emptyReason",
"condition": [ "cmp-2" ],
"comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
"base": {
"max": "1",
"min": 0,
"path": "Composition.section.emptyReason"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Composition.section.section",
"min": 0,
"definition": "A nested sub-section within this section.",
"isModifier": false,
"short": "Nested Section",
"mapping": [ {
"map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
"identity": "rim"
}, {
"map": ".component.section",
"identity": "cda"
} ],
"contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"max": "*",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.section",
"condition": [ "cmp-1" ],
"comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
"base": {
"max": "*",
"min": 0,
"path": "Composition.section.section"
},
"isSummary": false
} ]
},
"status": "active",
"id": "0e0fa75e-f138-44f6-adff-3f211bbd58bc",
"kind": "resource",
"url": "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-composition",
"version": "1.1.0",
"differential": {
"element": [ {
"id": "Composition",
"path": "Composition",
"short": "eICR Composition Profile",
"mapping": [ {
"map": "[eICR R2 STU2] 1.1.2 Initial Public Health Case Report Document (eICR) (V3)",
"identity": "eCR-CDA"
} ],
"definition": "The Electronic Case Reporting Composition profile establishes the core elements, extensions, vocabularies and value sets for representing an electronic initial case report (eICR). It describes the content requirements for the initial Case Report including: \n\n- Patient demographics \n- Patient pregnancy status \n- Patient occupation and travel history \n- Provider and Facility information \n- Laboratory orders tests and results \n- Signs and Symptoms and Diagnosis \n- Medication and Immunization History \n- Flags for the existence of reportable condition trigger codes in diagnoses and ordered/resulted laboratory tests.",
"isModifier": false,
"mustSupport": true
}, {
"id": "Composition.extension",
"path": "Composition.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"path": "Composition.extension",
"min": 1,
"definition": "eICR Composition versionNumber. This is equivalent to ClinicalDocument.versionNumber in CDA. The id of the containing Bundle is equivalent to ClinicalDocument.id in CDA and Composition.identifier is equivalent to ClinicalDocument.setId in CDA. This is a version specific identifier for the composition, assigned when each version is created/updated.\n\nWhile each resource, including the composition itself, has its own version identifier, this is a formal identifier for the logical version of the composition as a whole. It would remain constant if the resources were moved to a new server, and all got new individual resource versions, for example.",
"short": "eICR Composition versionNumber",
"mapping": [ {
"map": "[eICR R2 STU2] ClinicalDocument.versionNumber",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber" ]
} ],
"mustSupport": true,
"sliceName": "sliceExtensionVersionNumber",
"max": "1",
"id": "Composition.extension:sliceExtensionVersionNumber"
}, {
"path": "Composition.extension",
"min": 0,
"definition": "When set to \"PHC1464: Manually Initiated eICR\", indicates that this document is manually initiated. When set to \"PHC2235: Alternately Initiated eICR\", indicates that this eICR document was initiated by automated process and is intended to force reporting to the responsible Public Health Agency (PHA) for the jurisdiction of care. Unlike eICRs manually initiated by a provider, which are force reported to all relevant jurisdictions, PHC2235 will be sent to, and only to, the PHA of the jurisdiction of care. If a reportable condition is found by public health decision support then the alternately initiated eICR may also be reported to the jurisdiction of residence PHA.",
"short": "Initial Case Report Initiation Type",
"mapping": [ {
"map": "[eICR R2 STU2] ClinicalDocument/documentationOf/serviceEvent/code",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-initiation-type-extension" ]
} ],
"mustSupport": true,
"sliceName": "extensionEICRInitiationType",
"max": "1",
"id": "Composition.extension:extensionEICRInitiationType"
}, {
"path": "Composition.extension",
"min": 0,
"definition": "An explanation for the manual or alternate initiation of the eICR.",
"short": "Initial Case Report Initiation Reason",
"mapping": [ {
"map": "[eICR R2 STU2] Initial Case Report initiation Reason (V2)/value",
"comment": "Initiation Reason",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-initiation-reason-extension" ]
} ],
"mustSupport": true,
"sliceName": "extensionEICRInitiationReason",
"max": "*",
"id": "Composition.extension:extensionEICRInitiationReason"
}, {
"id": "Composition.identifier",
"max": "1",
"min": 1,
"path": "Composition.identifier",
"short": "eICR Composition identifier",
"mapping": [ {
"map": "[eICR R2 STU2] ClinicalDocument/setId",
"comment": "setId of the eICR Document",
"identity": "eCR-CDA"
} ],
"definition": "eICR Composition identifier. This is equivalent to ClinicalDocument.setId in CDA. The id of the containing Bundle is equivalent to ClinicalDocument.id in CDA and Composition.sliceExtensionVersionNumber is equivalent to ClinicalDocument.versionNumber in CDA.",
"mustSupport": true
}, {
"id": "Composition.type",
"path": "Composition.type",
"short": "Public Health Case Report",
"mapping": [ {
"map": "[eICR R2 STU2] ClinicalDocument/code",
"identity": "eCR-CDA"
} ],
"definition": "The type of this Composition is a Public Health Case Report",
"mustSupport": true,
"patternCodeableConcept": {
"coding": [ {
"code": "55751-2",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.subject",
"path": "Composition.subject",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-patient" ]
} ],
"short": "Patient",
"mapping": [ {
"map": "[eICR R2 STU2] ClinicalDocument/recordTarget",
"comment": "Patient",
"identity": "eCR-CDA"
} ],
"definition": "The subject of this Composition is the patient.",
"isModifier": false,
"mustSupport": true
}, {
"path": "Composition.encounter",
"min": 1,
"definition": "This Encounter profile represents the encounter related to the eICR event.",
"isModifier": false,
"short": "Encounter related to the eICR event",
"mapping": [ {
"map": "[eICR R2 STU2] ClinicalDocument/componentOf/encompassingEncounter",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-encounter" ]
} ],
"mustSupport": true,
"id": "Composition.encounter"
}, {
"id": "Composition.date",
"path": "Composition.date",
"mapping": [ {
"map": "[eICR R2 STU2] ClinicalDocument/effectiveTime",
"comment": "Date of the Report",
"identity": "eCR-CDA"
} ],
"isModifier": false,
"mustSupport": true
}, {
"path": "Composition.author",
"definition": "It is possible to have multiple authors - especially in the case where the default author is the organization. For public health reporting this could contain the contact details for the Infection Control Professional (ICP) specific to the condition being reported on. If the main author of the document is not a person, it is recommended to have an additional person author contact who is specific for a disease for follow-up requirements. This person could be the ICP. Where a trigger occurs outside of an encounter the author will represent the Provider and Facility for reporting purposes.",
"isModifier": false,
"short": "The author(s) of the eICR",
"mapping": [ {
"map": "[eICR R2 STU2] ClinicalDocument/author",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-practitionerrole", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-organization", "http://hl7.org/fhir/StructureDefinition/Device" ]
} ],
"mustSupport": true,
"max": "*",
"id": "Composition.author"
}, {
"id": "Composition.relatesTo",
"path": "Composition.relatesTo",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "code",
"type": "value"
} ]
},
"mustSupport": true
}, {
"id": "Composition.relatesTo:sliceTransformed",
"max": "1",
"min": 0,
"path": "Composition.relatesTo",
"short": "Document or Composition that this Composition is transformed from",
"sliceName": "sliceTransformed",
"definition": "Document of Composition that this Composition is transformed from"
}, {
"id": "Composition.relatesTo:sliceTransformed.code",
"path": "Composition.relatesTo.code",
"fixedCode": "transforms"
}, {
"id": "Composition.relatesTo:sliceTransformed.target[x]",
"path": "Composition.relatesTo.target[x]",
"type": [ {
"code": "Identifier"
} ],
"short": "Identifier of the Document or Composition transformed",
"definition": "Identifier of the Document or Composition transformed"
}, {
"id": "Composition.relatesTo:sliceReplaced",
"max": "1",
"min": 0,
"path": "Composition.relatesTo",
"short": "Document or Composition that this Composition replaces",
"sliceName": "sliceReplaced",
"definition": "Document or Composition that this Composition replaces"
}, {
"id": "Composition.relatesTo:sliceReplaced.code",
"path": "Composition.relatesTo.code",
"fixedCode": "replaces"
}, {
"id": "Composition.relatesTo:sliceReplaced.target[x]",
"path": "Composition.relatesTo.target[x]",
"short": "Identifier/Reference to the Document or Composition transformed",
"definition": "Identifier/Reference to the Document or Composition transformed"
}, {
"id": "Composition.section",
"path": "Composition.section",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "code",
"type": "value"
} ]
},
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ]
}, {
"path": "Composition.section",
"min": 1,
"definition": "This section records the patient's chief complaint (the patient’s own description) and/or the reason for the patient's visit (the provider’s description of the reason for visit).",
"isModifier": false,
"short": "Chief Complaint and Reason for Visit Section",
"mapping": [ {
"map": "[eICR R2 STU2] Chief Complaint and Reason for Visit Section",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"sliceName": "sliceChiefComplaintAndReasonForVisitSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection"
}, {
"path": "Composition.section.code",
"min": 1,
"definition": "Chief Complaint and Reason for Visit code",
"isModifier": false,
"short": "Chief Complaint and Reason for Visit code",
"mapping": [ {
"map": "[eICR R2 STU2] Chief Complaint and Reason for Visit Section/code",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.code",
"patternCodeableConcept": {
"coding": [ {
"code": "46239-0",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:sliceChiefComplaintAndReasonForVisitSection.text",
"min": 1,
"path": "Composition.section.text",
"short": "Chief Complaint and Reason for Visit narrative",
"mapping": [ {
"map": "[eICR R2 STU2] Chief Complaint and Reason for Visit Section/text",
"comment": "Chief Complaint and Reason for Visit",
"identity": "eCR-CDA"
} ],
"definition": "Chief Complaint and Reason for Visit narrative",
"mustSupport": true
}, {
"path": "Composition.section",
"min": 1,
"definition": "The History of Present Illness section describes the history related to the reason for the encounter. It contains the historical details leading up to and pertaining to the patient’s current complaint or reason for seeking medical care.",
"isModifier": false,
"short": "History of Present Illness Section",
"mapping": [ {
"map": "[eICR R2 STU2] History of Present Illness Section",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"sliceName": "sliceHistoryOfPresentIllnessSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceHistoryOfPresentIllnessSection"
}, {
"path": "Composition.section.code",
"min": 1,
"definition": "History of Present Illness code",
"isModifier": false,
"short": "History of Present Illness code",
"mapping": [ {
"map": "[eICR R2 STU2] History of Present Illness Section/code",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.code",
"patternCodeableConcept": {
"coding": [ {
"code": "10164-2",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:sliceHistoryOfPresentIllnessSection.text",
"min": 1,
"path": "Composition.section.text",
"short": "History of Present Illness narrative",
"mapping": [ {
"map": "[eICR R2 STU2] History of Present Illness Section/text",
"comment": "History of Present Illness",
"identity": "eCR-CDA"
} ],
"definition": "History of Present Illness narrative",
"mustSupport": true
}, {
"path": "Composition.section",
"min": 0,
"definition": "The Review of Systems Section contains a relevant collection of symptoms and functions systematically gathered by a clinician. It includes symptoms the patient is currently experiencing, some of which were not elicited during the history of present illness, as well as a potentially large number of pertinent negatives, for example, symptoms that the patient denied experiencing.",
"isModifier": false,
"short": "Review of Systems Section",
"mapping": [ {
"map": "[eICR R2 STU2] Review of Systems Section",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"sliceName": "sliceReviewOfSystemsSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceReviewOfSystemsSection"
}, {
"path": "Composition.section.code",
"min": 1,
"definition": "Review of Systems code",
"isModifier": false,
"short": "Review of Systems code",
"mapping": [ {
"map": "[eICR R2 STU2] Review of Systems Section/code",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"id": "Composition.section:sliceReviewOfSystemsSection.code",
"patternCodeableConcept": {
"coding": [ {
"code": "10187-3",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:sliceReviewOfSystemsSection.text",
"min": 1,
"path": "Composition.section.text",
"short": "Review of Systems narrative",
"mapping": [ {
"map": "[eICR R2 STU2] Review of Systems Section/text",
"comment": "Review of Systems",
"identity": "eCR-CDA"
} ],
"definition": "Review of Systems narrative",
"mustSupport": true
}, {
"path": "Composition.section",
"min": 1,
"definition": "This section lists and describes all the patient's current problems on the maintained problem list.",
"isModifier": false,
"short": "Problem Section",
"mapping": [ {
"map": "[eICR R2 STU2] Problem Section (entries required) (V3)",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"sliceName": "sliceProblemSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceProblemSection"
}, {
"path": "Composition.section.code",
"min": 1,
"definition": "Problem Section code",
"isModifier": false,
"short": "Problem Section code",
"mapping": [ {
"map": "[eICR R2 STU2] Problem Section (entries required) (V3)/code",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"id": "Composition.section:sliceProblemSection.code",
"patternCodeableConcept": {
"coding": [ {
"code": "11450-4",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:sliceProblemSection.text",
"min": 1,
"path": "Composition.section.text",
"short": "Problem Section narrative",
"mapping": [ {
"map": "[eICR R2 STU2] Problem Section (entries required) (V3)/text",
"identity": "eCR-CDA"
} ],
"definition": "Problem Section narrative",
"mustSupport": true
}, {
"id": "Composition.section:sliceProblemSection.entry",
"path": "Composition.section.entry",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"mustSupport": true
}, {
"path": "Composition.section.entry",
"definition": "The eICR Trigger Code Flag (extension) is present for an eICR Condition (diagnosis), based on a trigger code match of the diagnosis (condition.code) to the eRSD PlanDefinition Diagnosis Trigger.",
"isModifier": false,
"short": "eICR Condition entry",
"mapping": [ {
"map": "[eICR R2 STU2] Problem Observation (V3) + Initial Case Report Trigger Code Problem Observation (V2)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-condition" ]
} ],
"mustSupport": true,
"sliceName": "sliceEICRCondition",
"id": "Composition.section:sliceProblemSection.entry:sliceEICRCondition"
}, {
"id": "Composition.section:sliceProblemSection.entry:sliceEICRCondition.extension",
"path": "Composition.section.entry.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"path": "Composition.section.entry.extension",
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eCR to be generated.",
"short": "eICR Trigger Code Flag",
"mapping": [ {
"map": "[eICR R2 STU2] Initial Case Report Trigger Code Problem Observation",
"comment": "Diagnosis Trigger",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"mustSupport": true,
"sliceName": "sliceTriggerCondition",
"max": "1",
"id": "Composition.section:sliceProblemSection.entry:sliceEICRCondition.extension:sliceTriggerCondition"
}, {
"path": "Composition.section",
"min": 0,
"definition": "This section contains a record of the patient’s past complaints, problems, and diagnoses. It contains data from the patient’s past up to the patient’s current complaint or reason for seeking medical care.",
"isModifier": false,
"short": "Past Medical History Section",
"mapping": [ {
"map": "[eICR R2 STU2] Past Medical History Section (V3)",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"sliceName": "slicePastMedicalHistorySection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:slicePastMedicalHistorySection"
}, {
"path": "Composition.section.code",
"min": 1,
"definition": "Past Medical History Section code",
"isModifier": false,
"short": "Past Medical History Section code",
"mapping": [ {
"map": "[eICR R2 STU2] Past Medical History Section (V3)/code",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"id": "Composition.section:slicePastMedicalHistorySection.code",
"patternCodeableConcept": {
"coding": [ {
"code": "11348-0",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:slicePastMedicalHistorySection.text",
"min": 1,
"path": "Composition.section.text",
"short": "Past Medical History Section narrative",
"mapping": [ {
"map": "[eICR R2 STU2] Past Medical History Section (V3)/text",
"identity": "eCR-CDA"
} ],
"definition": "Past Medical History Section narrative",
"mustSupport": true
}, {
"id": "Composition.section:slicePastMedicalHistorySection.entry",
"path": "Composition.section.entry",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"mustSupport": true
}, {
"id": "Composition.section:slicePastMedicalHistorySection.entry:sliceUSCoreCondition",
"path": "Composition.section.entry",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" ]
} ],
"short": "US Core Condition entry",
"sliceName": "sliceUSCoreCondition",
"definition": "US Core Condition",
"isModifier": false,
"mustSupport": true
}, {
"path": "Composition.section",
"min": 1,
"definition": "The Medications Administered Section defines medications administered during the encounter.",
"isModifier": false,
"short": "Medications Administered Section",
"mapping": [ {
"map": "[eICR R2 STU2] Medications Administered Section (V2)",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"sliceName": "sliceMedicationsAdministeredSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceMedicationsAdministeredSection"
}, {
"path": "Composition.section.code",
"min": 1,
"definition": "Medications Administered Section code",
"isModifier": false,
"short": "Medications Administered Section code",
"mapping": [ {
"map": "[eICR R2 STU2] Medications Administered Section (V2)/code",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"id": "Composition.section:sliceMedicationsAdministeredSection.code",
"patternCodeableConcept": {
"coding": [ {
"code": "29549-3",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:sliceMedicationsAdministeredSection.text",
"min": 1,
"path": "Composition.section.text",
"short": "Medications Administered Section narrative",
"mapping": [ {
"map": "[eICR R2 STU2] Medications Administered Section (V2)/text",
"identity": "eCR-CDA"
} ],
"definition": "Medications Administered Section narrative",
"mustSupport": true
}, {
"id": "Composition.section:sliceMedicationsAdministeredSection.entry",
"path": "Composition.section.entry",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"mustSupport": true
}, {
"path": "Composition.section.entry",
"definition": "The eICR Trigger Code Flag (extension) is present for an MedicationAdministration, based on a trigger code match of the medication (MedicationAdministration.medicationCodeableConcept) to the eRSD PlanDefinition Medications Trigger.",
"isModifier": false,
"short": "Medication Administration entry",
"mapping": [ {
"map": "[eICR R2 STU2] Medication Activity (V2)/Medication Information (V2) + Medication Activity (V2)/Initial Case Report Trigger Code Medication Information",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" ]
} ],
"mustSupport": true,
"sliceName": "sliceMedicationAdministration",
"id": "Composition.section:sliceMedicationsAdministeredSection.entry:sliceMedicationAdministration"
}, {
"id": "Composition.section:sliceMedicationsAdministeredSection.entry:sliceMedicationAdministration.extension",
"path": "Composition.section.entry.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "Composition.section:sliceMedicationsAdministeredSection.entry:sliceMedicationAdministration.extension:sliceTriggerMedicationAdministered",
"max": "1",
"path": "Composition.section.entry.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"short": "eICR Trigger Code Flag",
"sliceName": "sliceTriggerMedicationAdministered",
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eICR to be generated."
}, {
"path": "Composition.section",
"min": 1,
"definition": "The Results Section contains observations of results generated by laboratories, imaging procedures, and other procedures. The scope includes observations such as hematology, chemistry, serology, virology, toxicology, microbiology, plain x-ray, ultrasound, CT, MRI, angiography, echocardiography, nuclear medicine, pathology, and procedure observations. The section often includes notable results such as abnormal values or relevant trends, and could contain all results for the period of time being documented.\n\nLaboratory results are typically generated by laboratories providing analytic services in areas such as chemistry, hematology, serology, histology, cytology, anatomic pathology, microbiology, and/or virology. These observations are based on analysis of specimens obtained from the patient and submitted to the laboratory. Imaging results are typically generated by a clinician reviewing the output of an imaging procedure, such as where a cardiologist reports the left ventricular ejection fraction based on the review of a cardiac echocardiogram.\n\nProcedure results are typically generated by a clinician to provide more granular information about component observations made during a procedure, such as where a gastroenterologist reports the size of a polyp observed during a colonoscopy.\n",
"isModifier": false,
"short": "Results Section",
"mapping": [ {
"map": "[eICR R2 STU2] Results Section (entries required) (V3)",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"sliceName": "sliceResultsSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceResultsSection"
}, {
"path": "Composition.section.code",
"min": 1,
"definition": "Results Section code",
"isModifier": false,
"short": "Results Section code",
"mapping": [ {
"map": "[eICR R2 STU2] Results Section (entries required) (V3)/code",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"id": "Composition.section:sliceResultsSection.code",
"patternCodeableConcept": {
"coding": [ {
"code": "30954-2",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:sliceResultsSection.text",
"min": 1,
"path": "Composition.section.text",
"short": "Results Section narrative",
"mapping": [ {
"map": "[eICR R2 STU2] Results Section (entries required) (V3)/text",
"identity": "eCR-CDA"
} ],
"definition": "Results Section narrative",
"mustSupport": true
}, {
"id": "Composition.section:sliceResultsSection.entry",
"path": "Composition.section.entry",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
}
}, {
"id": "Composition.section:sliceResultsSection.entry:sliceUSCoreObservationResults",
"path": "Composition.section.entry",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" ]
} ],
"mapping": [ {
"map": "[eICR R2 STU2] Result Observation (V3) + Initial Case Report Trigger Code Result Observation (V2)",
"identity": "eCR-CDA"
} ],
"sliceName": "sliceUSCoreObservationResults",
"definition": "The eICR Trigger Code Flag (extension) is present for a laboratory result, based on a trigger code match of either the lab test (observation.code) to the eRSD PlanDefinition Lab Obs Test Name Trigger or the lab test result (observation.value) to the eRSD PlanDefinition Organism Substance Trigger.",
"isModifier": false,
"mustSupport": true
}, {
"id": "Composition.section:sliceResultsSection.entry:sliceUSCoreObservationResults.extension",
"path": "Composition.section.entry.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "Composition.section:sliceResultsSection.entry:sliceUSCoreObservationResults.extension:sliceTriggerUSCoreObservationResults",
"max": "*",
"path": "Composition.section.entry.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"short": "eICR Trigger Code Flag",
"sliceName": "sliceTriggerUSCoreObservationResults",
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eCR to be generated. ",
"mustSupport": true
}, {
"path": "Composition.section",
"min": 1,
"definition": "This section, contains data that define pending orders, interventions, encounters, services, and procedures for the patient. It is limited to prospective, unfulfilled, or incomplete orders and requests only. All active, incomplete, or pending orders, appointments, referrals, procedures, services, or any other pending event of clinical significance to the current care of the patient should be listed. ",
"isModifier": false,
"short": "Plan of Treatment Section",
"mapping": [ {
"map": "[eICR R2 STU2] Plan of Treatment Section (V2)",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"sliceName": "slicePlanOfTreatmentSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:slicePlanOfTreatmentSection"
}, {
"path": "Composition.section.code",
"min": 1,
"definition": "Plan of Treatment code",
"isModifier": false,
"short": "Plan of Treatment code",
"mapping": [ {
"map": "[eICR R2 STU2] Plan of Treatment Section (V2)/code",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"id": "Composition.section:slicePlanOfTreatmentSection.code",
"patternCodeableConcept": {
"coding": [ {
"code": "18776-5",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:slicePlanOfTreatmentSection.text",
"min": 1,
"path": "Composition.section.text",
"short": "Plan of Treatment narrative",
"mapping": [ {
"map": "[eICR R2 STU2] Plan of Treatment Section (V2)/text",
"identity": "eCR-CDA"
} ],
"definition": "Plan of Treatment narrative",
"mustSupport": true
}, {
"id": "Composition.section:slicePlanOfTreatmentSection.entry",
"path": "Composition.section.entry",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"mustSupport": true
}, {
"path": "Composition.section.entry",
"definition": "The eICR Trigger Code Flag (extension) is present for a laboratory test order, based on a trigger code match of the lab test (observation.code) to the eRSD PlanDefinition Lab Obs Test Name Trigger or the lab test result (observation.value) to the eRSD PlanDefinition Organism Substance Trigger.",
"isModifier": false,
"short": "eICR Service Request entry",
"mapping": [ {
"map": "[eICR R2 STU2] Planned Observation (V2) + Initial Case Report Trigger Code Lab Test Order (V2)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-servicerequest" ]
} ],
"mustSupport": true,
"sliceName": "sliceEICRServiceRequest",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceEICRServiceRequest"
}, {
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceEICRServiceRequest.extension",
"path": "Composition.section.entry.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceEICRServiceRequest.extension:sliceTriggerEICRServiceRequest",
"max": "1",
"path": "Composition.section.entry.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"short": "eICR Trigger Code Flag",
"sliceName": "sliceTriggerEICRServiceRequest",
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eCR to be generated.",
"mustSupport": true
}, {
"path": "Composition.section.entry",
"definition": "The eICR Trigger Code Flag (extension) is present for a MedicationRequest, based on a trigger code match of the medication (MedicationRequest.medicationCodeableConcept) to the eRSD PlanDefinition Medications Trigger.",
"isModifier": false,
"short": "US Core Medication Request entry",
"mapping": [ {
"map": "[eICR R2 STU2] Planned Medication Activity (V2)/Medication Information (V2) + Planned Medication Activity (V2)/Initial Case Report Trigger Code Medication Information",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" ]
} ],
"mustSupport": true,
"sliceName": "sliceUSCoreMedicationRequest",
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceUSCoreMedicationRequest"
}, {
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceUSCoreMedicationRequest.extension",
"path": "Composition.section.entry.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "Composition.section:slicePlanOfTreatmentSection.entry:sliceUSCoreMedicationRequest.extension:sliceTriggerUSCoreMedicationRequest",
"max": "1",
"path": "Composition.section.entry.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"short": "eICR Trigger Code Flag",
"sliceName": "sliceTriggerUSCoreMedicationRequest",
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eCR to be generated.",
"mustSupport": true
}, {
"path": "Composition.section",
"definition": "The Immunizations Section defines a patient's current immunization status and pertinent immunization history. The primary use case for the Immunization Section is to enable communication of a patient's immunization status. The section should include current immunization status, and may contain the entire immunization history that is relevant to the period of time being summarized.",
"isModifier": false,
"short": "Immunizations Section",
"mapping": [ {
"map": "[eICR R2 STU2] Immunizations Section (entries required) (V3)",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"sliceName": "sliceImmunizationsSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceImmunizationsSection"
}, {
"path": "Composition.section.code",
"min": 1,
"definition": "Immunizations code",
"isModifier": false,
"short": "Immunizations code",
"mapping": [ {
"map": "[eICR R2 STU2] Immunizations Section (entries required) (V3)/code",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"id": "Composition.section:sliceImmunizationsSection.code",
"patternCodeableConcept": {
"coding": [ {
"code": "11369-6",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:sliceImmunizationsSection.text",
"min": 1,
"path": "Composition.section.text",
"short": "Immunizations narrative",
"mapping": [ {
"map": "[eICR R2 STU2] Immunizations Section (entries required) (V3)/text",
"identity": "eCR-CDA"
} ],
"definition": "Immunizations narrative",
"mustSupport": true
}, {
"id": "Composition.section:sliceImmunizationsSection.entry",
"path": "Composition.section.entry",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"mustSupport": true
}, {
"path": "Composition.section.entry",
"definition": "The eICR Trigger Code Flag (extension) is present for an Immunization, based on a trigger code match of the vaccine (Immunization.vaccineCode) to the eRSD PlanDefinition Immunizations Trigger.",
"isModifier": false,
"short": "Immunization entry",
"mapping": [ {
"map": "[eICR R2 STU2] Immunization Activity (V3)/Immunization Medication Information (V2) + Immunization Activity (V3)/Initial Case Report Trigger Code Immunization Medication Information",
"comment": "Immunization Status",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" ]
} ],
"mustSupport": true,
"sliceName": "sliceUSCoreImmunization",
"id": "Composition.section:sliceImmunizationsSection.entry:sliceUSCoreImmunization"
}, {
"id": "Composition.section:sliceImmunizationsSection.entry:sliceUSCoreImmunization.extension",
"path": "Composition.section.entry.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "Composition.section:sliceImmunizationsSection.entry:sliceUSCoreImmunization.extension:sliceTriggerImmunization",
"path": "Composition.section.entry.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"short": "eICR Trigger Code Flag",
"sliceName": "sliceTriggerImmunization",
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eCR to be generated."
}, {
"path": "Composition.section",
"min": 0,
"definition": "This section describes all interventional, surgical, diagnostic, or therapeutic procedures or treatments pertinent to the patient historically at the time the document is generated. The section should include notable procedures, but can contain all procedures for the period of time being summarized.",
"isModifier": false,
"short": "This section describes all interventional, surgical, diagnostic, or therapeutic procedures or treatments pertinent to the patient historically at the time the document is generated.",
"mapping": [ {
"map": "[eICR R2 STU3] Procedures Section (entries required) (V2)",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"sliceName": "sliceProceduresSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceProceduresSection"
}, {
"path": "Composition.section.code",
"min": 1,
"definition": "Procedures Section code",
"isModifier": false,
"short": "Procedures Section code",
"mapping": [ {
"map": "[eICR R2 STU3] Procedures Section (entries required) (V2)/code",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"id": "Composition.section:sliceProceduresSection.code",
"patternCodeableConcept": {
"coding": [ {
"code": "47519-4",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:sliceProceduresSection.text",
"min": 1,
"path": "Composition.section.text",
"short": "Procedures Section narrative",
"mapping": [ {
"map": "[eICR R2 STU3] Procedures Section (entries required) (V2)/text",
"identity": "eCR-CDA"
} ],
"definition": "Procedures Section narrative",
"mustSupport": true
}, {
"id": "Composition.section:sliceProceduresSection.entry",
"path": "Composition.section.entry",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"mustSupport": true
}, {
"path": "Composition.section.entry",
"definition": "The eICR Trigger Code Flag (extension) is present for a procedure, based on a trigger code match of the procedure (procedure.code) to the eRSD PlanDefinition Procedure Trigger.",
"isModifier": false,
"short": "US Public Health Procedure entry",
"mapping": [ {
"map": "[eICR R2 STU2] Procedure Activity Act (V2) + Procedure Activity Observation (V2) + Procedure Activity Procedure (V2) + Initial Case Report Trigger Code Procedure Activity Act + Initial Case Report Trigger Code Procedure Activity Observation + Initial Case Report Trigger Code Procedure Activity Procedure",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-emergency-outbreak-information" ]
} ],
"mustSupport": true,
"sliceName": "sliceUSPublicHealthProcedure",
"id": "Composition.section:sliceProceduresSection.entry:sliceUSPublicHealthProcedure"
}, {
"id": "Composition.section:sliceProceduresSection.entry:sliceUSPublicHealthProcedure.extension",
"path": "Composition.section.entry.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"path": "Composition.section.entry.extension",
"definition": "A flag to indicate that the **target** reference represents a triggering event and caused the eCR to be generated.",
"short": "eICR Trigger Code Flag",
"mapping": [ {
"map": "[eICR R2 STU3] Initial Case Report Trigger Code Procedure Activity Act + Initial Case Report Trigger Code Procedure Activity Observation + Initial Case Report Trigger Code Procedure Activity Procedure",
"comment": "Procedure Trigger",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-trigger-code-flag-extension" ]
} ],
"mustSupport": true,
"sliceName": "sliceTriggerProcedure",
"max": "1",
"id": "Composition.section:sliceProceduresSection.entry:sliceUSPublicHealthProcedure.extension:sliceTriggerProcedure"
}, {
"path": "Composition.section",
"definition": "The Vital Signs Section contains relevant vital signs for the eICR. The section should include notable vital signs such as the most recent, maximum and/or minimum, baseline, or relevant trends. Vital signs are represented in the same way as other results, but are aggregated into their own section to follow clinical conventions.",
"isModifier": false,
"short": "Vital Signs Section",
"mapping": [ {
"map": "[eICR R2 STU2] Vital Signs Section (entries required) (V3)",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"sliceName": "sliceVitalSignsSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceVitalSignsSection"
}, {
"path": "Composition.section.code",
"min": 1,
"definition": "Vital Signs code",
"isModifier": false,
"short": "Vital Signs code",
"mapping": [ {
"map": "[eICR R2 STU2] Vital Signs Section (entries required) (V3)/code",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"id": "Composition.section:sliceVitalSignsSection.code",
"patternCodeableConcept": {
"coding": [ {
"code": "8716-3",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:sliceVitalSignsSection.text",
"min": 1,
"path": "Composition.section.text",
"short": "Vital Signs narrative",
"mapping": [ {
"map": "[eICR R2 STU2] Vital Signs Section (entries required) (V3)/text",
"identity": "eCR-CDA"
} ],
"definition": "Vital Signs narrative",
"mustSupport": true
}, {
"id": "Composition.section:sliceVitalSignsSection.entry",
"path": "Composition.section.entry",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"mustSupport": true
}, {
"id": "Composition.section:sliceVitalSignsSection.entry:sliceVitalSigns",
"path": "Composition.section.entry",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/vitalsigns" ]
} ],
"mapping": [ {
"map": "[eICR R2 STU2] Vital Signs Organizer (V3)/Vital Sign Observation (V2)",
"identity": "eCR-CDA"
} ],
"sliceName": "sliceVitalSigns",
"isModifier": false,
"mustSupport": true
}, {
"path": "Composition.section",
"min": 1,
"definition": "This section contains social history data that influence a patient’s physical, psychological or emotional health such as occupation, home environment, travel history, and disability status.",
"isModifier": false,
"short": "Social History Section",
"mapping": [ {
"map": "[eICR R2 STU2] Social History Section (V3)",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"sliceName": "sliceSocialHistorySection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceSocialHistorySection"
}, {
"path": "Composition.section.code",
"min": 1,
"definition": "Social History Section code",
"isModifier": false,
"short": "Social History Section code",
"mapping": [ {
"map": "[eICR R2 STU2] Social History Section (V3)/code",
"identity": "eCR-CDA"
} ],
"mustSupport": true,
"id": "Composition.section:sliceSocialHistorySection.code",
"patternCodeableConcept": {
"coding": [ {
"code": "29762-2",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:sliceSocialHistorySection.text",
"min": 1,
"path": "Composition.section.text",
"short": "Social History Section narrative",
"mapping": [ {
"map": "[eICR R2 STU2] Social History Section (V3)/text",
"identity": "eCR-CDA"
} ],
"definition": "Social History Section narrative",
"mustSupport": true
}, {
"id": "Composition.section:sliceSocialHistorySection.entry",
"path": "Composition.section.entry",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
},
"mustSupport": true
}, {
"id": "Composition.section:sliceSocialHistorySection.entry:sliceCharacteristicsOfHomeEnvironment",
"path": "Composition.section.entry",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/characteristics-of-home-environment" ]
} ],
"short": "Characteristics of Home Environment",
"sliceName": "sliceCharacteristicsOfHomeEnvironment",
"definition": "If the patient is homeless, complete as much address information as possible (city, zip, county, etc.) and use the Characteristics of Home Environment profile to indicate that the patient is homeless.",
"mustSupport": true
}, {
"id": "Composition.section:sliceSocialHistorySection.entry:sliceODHPastOrPresentJob",
"path": "Composition.section.entry",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/odh/StructureDefinition/odh-PastOrPresentJob" ]
} ],
"short": "ODH Past or Present Job entry",
"mapping": [ {
"map": "[eICR R2 STU2] Past or Present Occupation Observation",
"comment": "Current Occupation, Current Industry, Current Job Title, Current Employer Name, Current Employer Phone, Current Employer Address",
"identity": "eCR-CDA"
} ],
"sliceName": "sliceODHPastOrPresentJob",
"definition": "ODH Past or Present Job entry"
}, {
"id": "Composition.section:sliceSocialHistorySection.entry:sliceODHUsualWork",
"path": "Composition.section.entry",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/odh/StructureDefinition/odh-UsualWork" ]
} ],
"short": "ODH Usual Work entry",
"mapping": [ {
"map": "[eICR R2 STU2] Usual Occupation Observation",
"comment": "Usual Occupation, Usual Industry, Occupational Exposure",
"identity": "eCR-CDA"
} ],
"sliceName": "sliceODHUsualWork",
"definition": "ODH Usual Work entry"
}, {
"path": "Composition.section.entry",
"definition": "ODH Travel History entry",
"isModifier": false,
"short": "Travel History entry",
"mapping": [ {
"map": "[eICR R2 STU2] Travel History",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/travel-history-observation" ]
} ],
"mustSupport": true,
"sliceName": "sliceTravelHistory",
"id": "Composition.section:sliceSocialHistorySection.entry:sliceTravelHistory"
}, {
"id": "Composition.section:sliceSocialHistorySection.entry:sliceDisabilityStatus",
"path": "Composition.section.entry",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/disability-status" ]
} ],
"short": "Disability Status entry",
"sliceName": "sliceDisabilityStatus",
"definition": "Disability status entry",
"mustSupport": true
}, {
"id": "Composition.section:sliceSocialHistorySection.entry:sliceExposureContactInformation",
"path": "Composition.section.entry",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-exposure-contact-information" ]
} ],
"short": "Exposure Information entry",
"sliceName": "sliceExposureContactInformation",
"definition": "Exposure Information entry"
}, {
"id": "Composition.section:slicePregnancySection",
"max": "1",
"path": "Composition.section",
"short": "Pregnancy Section",
"mapping": [ {
"map": "[eICR R2 STU2] Pregnancy Section",
"identity": "eCR-CDA"
} ],
"sliceName": "slicePregnancySection",
"definition": "The Pregnancy Section contains a patient's current and past pregnancy history information.",
"mustSupport": true
}, {
"id": "Composition.section:slicePregnancySection.code",
"min": 1,
"path": "Composition.section.code",
"short": "Pregnancy summary Document code",
"mapping": [ {
"map": "[eICR R2 STU2] Pregnancy Section/code",
"identity": "eCR-CDA"
} ],
"definition": "Pregnancy summary Document code",
"mustSupport": true,
"patternCodeableConcept": {
"coding": [ {
"code": "90767-5",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:slicePregnancySection.text",
"max": "1",
"min": 1,
"path": "Composition.section.text",
"short": "Pregnancy summary Document narrative",
"mapping": [ {
"map": "[eICR R2 STU2] Pregnancy Section/text",
"identity": "eCR-CDA"
} ],
"definition": "Pregnancy summary Document narrative",
"mustSupport": true
}, {
"id": "Composition.section:slicePregnancySection.entry",
"path": "Composition.section.entry",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
}
}, {
"path": "Composition.section.entry",
"min": 1,
"definition": "Pregnancy Status Observation entry",
"short": "Pregnancy Status Observation entry",
"mapping": [ {
"map": "[eICR R2 STU2] Pregnancy Status Observation (SUPPLEMENTAL PREGNANCY)",
"identity": "eCR-CDA"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/pregnancy-status-observation" ]
} ],
"sliceName": "slicePregnancyStatusObservation",
"max": "*",
"id": "Composition.section:slicePregnancySection.entry:slicePregnancyStatusObservation"
}, {
"id": "Composition.section:slicePregnancySection.entry:slicePregnancyOutcome",
"path": "Composition.section.entry",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/pregnancy-outcome-observation" ]
} ],
"short": "Pregnancy Outcome entry",
"sliceName": "slicePregnancyOutcome",
"definition": "Pregnancy Outcome entry",
"mustSupport": true
}, {
"id": "Composition.section:slicePregnancySection.entry:sliceLastMenstrualPeriod",
"path": "Composition.section.entry",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-last-menstrual-period" ]
} ],
"short": "Last Menstrual Period entry",
"mapping": [ {
"map": "[eICR R2 STU2] Last Menstrual Period (V2)",
"identity": "eCR-CDA"
} ],
"sliceName": "sliceLastMenstrualPeriod",
"definition": "Last Menstrual Period entry"
}, {
"id": "Composition.section:slicePregnancySection.entry:slicePostpartumStatus",
"path": "Composition.section.entry",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/postpartum-status" ]
} ],
"short": "Postpartum Status entry",
"mapping": [ {
"map": "[eICR R2 STU2] Postpartum Status",
"identity": "eCR-CDA"
} ],
"sliceName": "slicePostpartumStatus",
"definition": "Postpartum Status entry"
}, {
"path": "Composition.section",
"min": 0,
"definition": "The Reportability Response Information Section contains information from a Reportability Response that was generated in response to this eICR.",
"isModifier": false,
"short": "Reportability Response Information Section",
"mustSupport": true,
"sliceName": "sliceReportabilityResponseInformationSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceReportabilityResponseInformationSection"
}, {
"id": "Composition.section:sliceReportabilityResponseInformationSection.code",
"min": 1,
"path": "Composition.section.code",
"short": "Reportability response report Document Public health",
"definition": "Reportability response report Document Public health",
"isModifier": false,
"mustSupport": true,
"patternCodeableConcept": {
"coding": [ {
"code": "88085-6",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:sliceReportabilityResponseInformationSection.text",
"min": 1,
"path": "Composition.section.text",
"short": "Reportability Response Information Section narrative",
"definition": "Reportability Response Information Section narrative",
"mustSupport": true
}, {
"id": "Composition.section:sliceReportabilityResponseInformationSection.entry",
"path": "Composition.section.entry",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
}
}, {
"id": "Composition.section:sliceReportabilityResponseInformationSection.entry:sliceReportabilityResponsePlanDefinition",
"path": "Composition.section.entry",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/rr-relevant-reportable-condition-plandefinition" ]
} ],
"sliceName": "sliceReportabilityResponsePlanDefinition",
"mustSupport": true
}, {
"path": "Composition.section",
"min": 0,
"definition": "This section represents information that is required during a public health emergency/outbreak.",
"isModifier": false,
"short": "Emergency Outbreak Information Section",
"mustSupport": true,
"sliceName": "sliceEmergencyOutbreakInformationSection",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "Section"
} ],
"max": "1",
"id": "Composition.section:sliceEmergencyOutbreakInformationSection"
}, {
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.code",
"min": 1,
"path": "Composition.section.code",
"short": "Emergency Outbreak Information Section code",
"definition": "Emergency Outbreak Information Section code",
"isModifier": false,
"mustSupport": true,
"patternCodeableConcept": {
"coding": [ {
"code": "83910-0",
"system": "http://loinc.org"
} ]
}
}, {
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.text",
"min": 1,
"path": "Composition.section.text",
"short": "Emergency Outbreak Information Section narrative",
"definition": "Emergency Outbreak Information Section narrative",
"mustSupport": true
}, {
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.entry",
"path": "Composition.section.entry",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "resolve()",
"type": "profile"
} ]
}
}, {
"id": "Composition.section:sliceEmergencyOutbreakInformationSection.entry:sliceObservationEmergencyOutbreakInformation",
"path": "Composition.section.entry",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-emergency-outbreak-information" ]
} ],
"sliceName": "sliceObservationEmergencyOutbreakInformation",
"mustSupport": true
} ]
},
"contact": [ {
"name": "HL7 International - Public Health",
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/pher",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition"
}