NCPI FHIR Implementation Guide
0.2.0 - ci-build
NCPI FHIR Implementation Guide - Local Development build (v0.2.0). See the Directory of published versions
Draft as of 2022-12-09 |
TTL representation of the ncpi-drs-document-reference resource profile.
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
a fhir:StructureDefinition;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "ncpi-drs-document-reference"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "extensions" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description & Constraints</a><span style=\"float: right\"><a href=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ncpi-drs-document-reference-definitions.html#DocumentReference\">DocumentReference</a><a name=\"DocumentReference\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/documentreference.html\">DocumentReference</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to a document</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ncpi-drs-document-reference-definitions.html#DocumentReference.content\">content</a><a name=\"DocumentReference.content\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ncpi-drs-document-reference-definitions.html#DocumentReference.content.attachment\">attachment</a><a name=\"DocumentReference.content.attachment\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-ncpi-drs-attachment.html\" title=\"Attachment\">DRSAttachment</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Content in a format defined elsewhere</span></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
]; #
fhir:DomainResource.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-category" ];
fhir:Extension.valueString [ fhir:value "Foundation.Documents" ]
], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" ];
fhir:Extension.valueCode [ fhir:value "not-classified" ]
]; #
fhir:StructureDefinition.url [ fhir:value "https://nih-ncpi.github.io/ncpi-fhir-ig/StructureDefinition/ncpi-drs-document-reference"]; #
fhir:StructureDefinition.version [ fhir:value "0.2.0"]; #
fhir:StructureDefinition.name [ fhir:value "DRSDocumentReference"]; #
fhir:StructureDefinition.title [ fhir:value "DRS Document Reference"]; #
fhir:StructureDefinition.status [ fhir:value "draft"]; #
fhir:StructureDefinition.date [ fhir:value "2022-12-09T17:30:30+00:00"^^xsd:dateTime]; #
fhir:StructureDefinition.publisher [ fhir:value "NCPI FHIR Working Group"]; #
fhir:StructureDefinition.contact [
fhir:index 0;
fhir:ContactDetail.name [ fhir:value "NCPI FHIR Working Group" ];
fhir:ContactDetail.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "url" ];
fhir:ContactPoint.value [ fhir:value "https://github.com/nih-ncpi" ] ]
], [
fhir:index 1;
fhir:ContactDetail.name [ fhir:value "Meen Chul Kim" ];
fhir:ContactDetail.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "email" ];
fhir:ContactPoint.value [ fhir:value "meenchul@d3b.center" ];
fhir:ContactPoint.use [ fhir:value "work" ] ]
]; #
fhir:StructureDefinition.description [ fhir:value "A FHIR Document Reference with an embedded DRS URI. See https://github.com/ga4gh/data-repository-service-schemas."]; #
fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"]; #
fhir:StructureDefinition.mapping [
fhir:index 0;
fhir:StructureDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/workflow" ];
fhir:StructureDefinition.mapping.name [ fhir:value "Workflow Pattern" ]
], [
fhir:index 1;
fhir:StructureDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/composition" ];
fhir:StructureDefinition.mapping.name [ fhir:value "FHIR Composition" ]
], [
fhir:index 2;
fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ]
], [
fhir:index 3;
fhir:StructureDefinition.mapping.identity [ fhir:value "cda" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3/cda" ];
fhir:StructureDefinition.mapping.name [ fhir:value "CDA (R2)" ]
], [
fhir:index 4;
fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/fivews" ];
fhir:StructureDefinition.mapping.name [ fhir:value "FiveWs Pattern Mapping" ]
], [
fhir:index 5;
fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ];
fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2 Mapping" ]
], [
fhir:index 6;
fhir:StructureDefinition.mapping.identity [ fhir:value "xds" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://ihe.net/xds" ];
fhir:StructureDefinition.mapping.name [ fhir:value "XDS metadata equivalent" ]
]; #
fhir:StructureDefinition.kind [ fhir:value "resource"]; #
fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean]; #
fhir:StructureDefinition.type [ fhir:value "DocumentReference"]; #
fhir:StructureDefinition.baseDefinition [
fhir:value "http://hl7.org/fhir/StructureDefinition/DocumentReference";
fhir:link <http://hl7.org/fhir/StructureDefinition/DocumentReference>
]; #
fhir:StructureDefinition.derivation [ fhir:value "constraint"]; #
fhir:StructureDefinition.snapshot [
fhir:StructureDefinition.snapshot.element [
fhir:index 0;
fhir:Element.id [ fhir:value "DocumentReference" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference" ];
fhir:ElementDefinition.short [ fhir:value "A reference to a document" ];
fhir:ElementDefinition.definition [ fhir:value "A reference to a document of any kind for any purpose. Provides metadata about the document so that the document can be discovered and managed. The scope of a document is any seralized object with a mime-type, so includes formal patient centric documents (CDA), cliical notes, scanned paper, and non-patient specific documents like policy text." ];
fhir:ElementDefinition.comment [ fhir:value "Usually, this is used for documents other than those defined by FHIR." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "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" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "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()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "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='#'])]))" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [
fhir:index 2;
fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [
fhir:index 3;
fhir:ElementDefinition.constraint.key [ fhir:value "dom-5" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.security.empty()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [
fhir:index 4;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ];
fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ];
fhir:Extension.valueMarkdown [ fhir:value "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." ] ];
fhir:ElementDefinition.constraint.key [ fhir:value "dom-6" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ];
fhir:ElementDefinition.constraint.human [ fhir:value "A resource should have narrative for robust management" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "text.`div`.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:text/h:div)" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "when describing a Composition" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Document[classCode=\"DOC\" and moodCode=\"EVN\"]" ] ], [
fhir:index 4;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "when describing a CDA" ] ] ], [
fhir:index 1;
fhir:Element.id [ fhir:value "DocumentReference.id" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.id" ];
fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ];
fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ];
fhir:ElementDefinition.comment [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Resource.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "id" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 2;
fhir:Element.id [ fhir:value "DocumentReference.meta" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.meta" ];
fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ];
fhir:ElementDefinition.definition [ fhir:value "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." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Meta" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 3;
fhir:Element.id [ fhir:value "DocumentReference.implicitRules" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.implicitRules" ];
fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ];
fhir:ElementDefinition.definition [ fhir:value "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." ];
fhir:ElementDefinition.comment [ fhir:value "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." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "uri" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "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" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 4;
fhir:Element.id [ fhir:value "DocumentReference.language" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.language" ];
fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ];
fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ];
fhir:ElementDefinition.comment [ fhir:value "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)." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "code" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ];
fhir:Extension.valueCanonical [
fhir:value "http://hl7.org/fhir/ValueSet/all-languages";
fhir:link <http://hl7.org/fhir/ValueSet/all-languages> ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "Language" ] ], [
fhir:index 2;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
fhir:ElementDefinition.binding.description [ fhir:value "A human language." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/languages";
fhir:link <http://hl7.org/fhir/ValueSet/languages> ] ] ], [
fhir:index 5;
fhir:Element.id [ fhir:value "DocumentReference.text" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.text" ];
fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ];
fhir:ElementDefinition.definition [ fhir:value "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." ];
fhir:ElementDefinition.comment [ fhir:value "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." ];
fhir:ElementDefinition.alias [
fhir:value "narrative";
fhir:index 0 ], [
fhir:value "html";
fhir:index 1 ], [
fhir:value "xhtml";
fhir:index 2 ], [
fhir:value "display";
fhir:index 3 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DomainResource.text" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Narrative" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ] ] ], [
fhir:index 6;
fhir:Element.id [ fhir:value "DocumentReference.contained" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.contained" ];
fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ];
fhir:ElementDefinition.definition [ fhir:value "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." ];
fhir:ElementDefinition.comment [ fhir:value "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." ];
fhir:ElementDefinition.alias [
fhir:value "inline resources";
fhir:index 0 ], [
fhir:value "anonymous resources";
fhir:index 1 ], [
fhir:value "contained resources";
fhir:index 2 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Resource" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 7;
fhir:Element.id [ fhir:value "DocumentReference.extension" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.extension" ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource. 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." ];
fhir:ElementDefinition.comment [ fhir:value "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." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 8;
fhir:Element.id [ fhir:value "DocumentReference.modifierExtension" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.modifierExtension" ];
fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
fhir:ElementDefinition.definition [ fhir:value "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)." ];
fhir:ElementDefinition.comment [ fhir:value "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." ];
fhir:ElementDefinition.requirements [ fhir:value "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)." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 9;
fhir:Element.id [ fhir:value "DocumentReference.masterIdentifier" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.masterIdentifier" ];
fhir:ElementDefinition.short [ fhir:value "Master Version Specific Identifier" ];
fhir:ElementDefinition.definition [ fhir:value "Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document." ];
fhir:ElementDefinition.comment [ fhir:value "CDA Document Id extension and root." ];
fhir:ElementDefinition.requirements [ fhir:value "The structure and format of this Id shall be consistent with the specification corresponding to the formatCode attribute. (e.g. for a DICOM standard document a 64-character numeric UID, for an HL7 CDA format a serialization of the CDA Document Id extension and root in the form \"oid^extension\", where OID is a 64 digits max, and the Id is a 16 UTF-8 char max. If the OID is coded without the extension then the '^' character shall not be included.)." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.masterIdentifier" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Identifier" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.identifier" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.identifier" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "TXA-12" ] ], [
fhir:index 4;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ], [
fhir:index 5;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.uniqueId" ] ], [
fhir:index 6;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument/id" ] ] ], [
fhir:index 10;
fhir:Element.id [ fhir:value "DocumentReference.identifier" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.identifier" ];
fhir:ElementDefinition.short [ fhir:value "Other identifiers for the document" ];
fhir:ElementDefinition.definition [ fhir:value "Other identifiers associated with the document, including version independent identifiers." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.identifier" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Identifier" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.identifier" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "TXA-16?" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".id / .setId" ] ], [
fhir:index 4;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.entryUUID" ] ] ], [
fhir:index 11;
fhir:Element.id [ fhir:value "DocumentReference.status" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.status" ];
fhir:ElementDefinition.short [ fhir:value "current | superseded | entered-in-error" ];
fhir:ElementDefinition.definition [ fhir:value "The status of this document reference." ];
fhir:ElementDefinition.comment [ fhir:value "This is the status of the DocumentReference object, which might be independent from the docStatus element.\n\nThis element is labeled as a modifier because the status contains the codes that mark the document or reference as not currently valid." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.status" ];
fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "code" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "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" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "DocumentReferenceStatus" ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
fhir:ElementDefinition.binding.description [ fhir:value "The status of the document reference." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/document-reference-status|4.0.1";
fhir:link <http://hl7.org/fhir/ValueSet/document-reference-status|4.0.1> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.status" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.status" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "TXA-19" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "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(\"ReviseDocument\", code) and isNormalAct()]); amended: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and ./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct() and statusCode=\"completed\"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]=\"obsolete\"" ] ], [
fhir:index 4;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.availabilityStatus" ] ] ], [
fhir:index 12;
fhir:Element.id [ fhir:value "DocumentReference.docStatus" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.docStatus" ];
fhir:ElementDefinition.short [ fhir:value "preliminary | final | amended | entered-in-error" ];
fhir:ElementDefinition.definition [ fhir:value "The status of the underlying document." ];
fhir:ElementDefinition.comment [ fhir:value "The document that is pointed to might be in various lifecycle states." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.docStatus" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "code" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "ReferredDocumentStatus" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
fhir:ElementDefinition.binding.description [ fhir:value "Status of the underlying document." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/composition-status|4.0.1";
fhir:link <http://hl7.org/fhir/ValueSet/composition-status|4.0.1> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.status" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.status" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "TXA-17" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".statusCode" ] ] ], [
fhir:index 13;
fhir:Element.id [ fhir:value "DocumentReference.type" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.type" ];
fhir:ElementDefinition.short [ fhir:value "Kind of document (LOINC if possible)" ];
fhir:ElementDefinition.definition [ fhir:value "Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced." ];
fhir:ElementDefinition.comment [ fhir:value "Key metadata element describing the document that describes he exact type of document. Helps humans to assess whether the document is of interest when viewing a list of documents." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.type" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "DocumentC80Type" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
fhir:ElementDefinition.binding.description [ fhir:value "Precise type of clinical document." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/c80-doc-typecodes";
fhir:link <http://hl7.org/fhir/ValueSet/c80-doc-typecodes> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.code" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.class" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.type" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "TXA-2" ] ], [
fhir:index 4;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "./code" ] ], [
fhir:index 5;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.type" ] ], [
fhir:index 6;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument/code/@code \n\nThe typeCode should be mapped from the ClinicalDocument/code element to a set of document type codes configured in the affinity domain. One suggested coding system to use for typeCode is LOINC, in which case the mapping step can be omitted." ] ] ], [
fhir:index 14;
fhir:Element.id [ fhir:value "DocumentReference.category" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.category" ];
fhir:ElementDefinition.short [ fhir:value "Categorization of document" ];
fhir:ElementDefinition.definition [ fhir:value "A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type." ];
fhir:ElementDefinition.comment [ fhir:value "Key metadata element describing the the category or classification of the document. This is a broader perspective that groups similar documents based on how they would be used. This is a primary key used in searching." ];
fhir:ElementDefinition.alias [
fhir:value "claxs";
fhir:index 0 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.category" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "DocumentC80Class" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
fhir:ElementDefinition.binding.description [ fhir:value "High-level kind of a clinical document at a macro level." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/document-classcodes";
fhir:link <http://hl7.org/fhir/ValueSet/document-classcodes> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.class" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.class" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.class" ] ], [
fhir:index 4;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Derived from a mapping of /ClinicalDocument/code/@code to an Affinity Domain specified coded value to use and coding system. Affinity Domains are encouraged to use the appropriate value for Type of Service, based on the LOINC Type of Service (see Page 53 of the LOINC User's Manual). Must be consistent with /ClinicalDocument/code/@code" ] ] ], [
fhir:index 15;
fhir:Element.id [ fhir:value "DocumentReference.subject" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.subject" ];
fhir:ElementDefinition.short [ fhir:value "Who/what is the subject of the document" ];
fhir:ElementDefinition.definition [ fhir:value "Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure)." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.subject" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Patient> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner";
fhir:index 1;
fhir:link <http://hl7.org/fhir/StructureDefinition/Practitioner> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/Group";
fhir:index 2;
fhir:link <http://hl7.org/fhir/StructureDefinition/Group> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/Device";
fhir:index 3;
fhir:link <http://hl7.org/fhir/StructureDefinition/Device> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.subject" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject[x]" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.subject" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message)" ] ], [
fhir:index 4;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" ] ], [
fhir:index 5;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.patientId" ] ], [
fhir:index 6;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument/recordTarget/" ] ], [
fhir:index 7;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject" ] ] ], [
fhir:index 16;
fhir:Element.id [ fhir:value "DocumentReference.date" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.date" ];
fhir:ElementDefinition.short [ fhir:value "When this document reference was created" ];
fhir:ElementDefinition.definition [ fhir:value "When the document reference was created." ];
fhir:ElementDefinition.comment [ fhir:value "Referencing/indexing time is used for tracking, organizing versions and searching." ];
fhir:ElementDefinition.alias [
fhir:value "indexed";
fhir:index 0 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.date" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "instant" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.occurrence[x]" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.recorded" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.date" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".availabilityTime[type=\"TS\"]" ] ] ], [
fhir:index 17;
fhir:Element.id [ fhir:value "DocumentReference.author" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.author" ];
fhir:ElementDefinition.short [ fhir:value "Who and/or what authored the document" ];
fhir:ElementDefinition.definition [ fhir:value "Identifies who is responsible for adding the information to the document." ];
fhir:ElementDefinition.comment [ fhir:value "Not necessarily who did the actual data entry (i.e. typist) or who was the source (informant)." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.author" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Practitioner> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole";
fhir:index 1;
fhir:link <http://hl7.org/fhir/StructureDefinition/PractitionerRole> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/Organization";
fhir:index 2;
fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/Device";
fhir:index 3;
fhir:link <http://hl7.org/fhir/StructureDefinition/Device> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
fhir:index 4;
fhir:link <http://hl7.org/fhir/StructureDefinition/Patient> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson";
fhir:index 5;
fhir:link <http://hl7.org/fhir/StructureDefinition/RelatedPerson> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.performer.actor" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.author" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message)" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]" ] ], [
fhir:index 4;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.author" ] ], [
fhir:index 5;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument/author" ] ] ], [
fhir:index 18;
fhir:Element.id [ fhir:value "DocumentReference.authenticator" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.authenticator" ];
fhir:ElementDefinition.short [ fhir:value "Who/what authenticated the document" ];
fhir:ElementDefinition.definition [ fhir:value "Which person or organization authenticates that this document is valid." ];
fhir:ElementDefinition.comment [ fhir:value "Represents a participant within the author institution who has legally authenticated or attested the document. Legal authentication implies that a document has been signed manually or electronically by the legal Authenticator." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.authenticator" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Practitioner> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole";
fhir:index 1;
fhir:link <http://hl7.org/fhir/StructureDefinition/PractitionerRole> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/Organization";
fhir:index 2;
fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.performer.actor" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.witness" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.attester" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "TXA-10" ] ], [
fhir:index 4;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]" ] ], [
fhir:index 5;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.legalAuthenticator" ] ], [
fhir:index 6;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument/legalAuthenticator" ] ] ], [
fhir:index 19;
fhir:Element.id [ fhir:value "DocumentReference.custodian" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.custodian" ];
fhir:ElementDefinition.short [ fhir:value "Organization which maintains the document" ];
fhir:ElementDefinition.definition [ fhir:value "Identifies the organization or group who is responsible for ongoing maintenance of and access to the document." ];
fhir:ElementDefinition.comment [ fhir:value "Identifies the logical organization (software system, vendor, or department) to go to find the current version, where to report issues, etc. This is different from the physical location (URL, disk drive, or server) of the document, which is the technical location of the document, which host may be delegated to the management of some other organization." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.custodian" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Organization";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.performer.actor" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.custodian" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]" ] ] ], [
fhir:index 20;
fhir:Element.id [ fhir:value "DocumentReference.relatesTo" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.relatesTo" ];
fhir:ElementDefinition.short [ fhir:value "Relationships to other documents" ];
fhir:ElementDefinition.definition [ fhir:value "Relationships that this document has with other document references that already exist." ];
fhir:ElementDefinition.comment [ fhir:value "This element is labeled as a modifier because documents that append to other documents are incomplete on their own." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.relatesTo" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.relatesTo" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry Associations" ] ] ], [
fhir:index 21;
fhir:Element.id [ fhir:value "DocumentReference.relatesTo.id" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.relatesTo.id" ];
fhir:ElementDefinition.representation [
fhir:value "xmlAttr";
fhir:index 0 ];
fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "string" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 22;
fhir:Element.id [ fhir:value "DocumentReference.relatesTo.extension" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.relatesTo.extension" ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "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." ];
fhir:ElementDefinition.comment [ fhir:value "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." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 23;
fhir:Element.id [ fhir:value "DocumentReference.relatesTo.modifierExtension" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.relatesTo.modifierExtension" ];
fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
fhir:ElementDefinition.definition [ fhir:value "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)." ];
fhir:ElementDefinition.comment [ fhir:value "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." ];
fhir:ElementDefinition.requirements [ fhir:value "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)." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ], [
fhir:value "modifiers";
fhir:index 2 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 24;
fhir:Element.id [ fhir:value "DocumentReference.relatesTo.code" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.relatesTo.code" ];
fhir:ElementDefinition.short [ fhir:value "replaces | transforms | signs | appends" ];
fhir:ElementDefinition.definition [ fhir:value "The type of relationship that this document has with anther document." ];
fhir:ElementDefinition.comment [ fhir:value "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.relatesTo.code" ];
fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "code" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "DocumentRelationshipType" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
fhir:ElementDefinition.binding.description [ fhir:value "The type of relationship between documents." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1";
fhir:link <http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.relatesTo.code" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship.typeCode" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry Associations type" ] ] ], [
fhir:index 25;
fhir:Element.id [ fhir:value "DocumentReference.relatesTo.target" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.relatesTo.target" ];
fhir:ElementDefinition.short [ fhir:value "Target of the relationship" ];
fhir:ElementDefinition.definition [ fhir:value "The target document of this relationship." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.relatesTo.target" ];
fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/DocumentReference";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/DocumentReference> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.relatesTo.target" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".target[classCode=\"DOC\", moodCode=\"EVN\"].id" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry Associations reference" ] ] ], [
fhir:index 26;
fhir:Element.id [ fhir:value "DocumentReference.description" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.description" ];
fhir:ElementDefinition.short [ fhir:value "Human-readable description" ];
fhir:ElementDefinition.definition [ fhir:value "Human-readable description of the source document." ];
fhir:ElementDefinition.comment [ fhir:value "What the document is about, a terse summary of the document." ];
fhir:ElementDefinition.requirements [ fhir:value "Helps humans to assess whether the document is of interest." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.description" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "string" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "TXA-25" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=\"SUBJ\"].target.text" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.comments" ] ] ], [
fhir:index 27;
fhir:Element.id [ fhir:value "DocumentReference.securityLabel" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.securityLabel" ];
fhir:ElementDefinition.short [ fhir:value "Document security-tags" ];
fhir:ElementDefinition.definition [ fhir:value "A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to." ];
fhir:ElementDefinition.comment [ fhir:value "The confidentiality codes can carry multiple vocabulary items. HL7 has developed an understanding of security and privacy tags that might be desirable in a Document Sharing environment, called HL7 Healthcare Privacy and Security Classification System (HCS). The following specification is recommended but not mandated, as the vocabulary bindings are an administrative domain responsibility. The use of this method is up to the policy domain such as the XDS Affinity Domain or other Trust Domain where all parties including sender and recipients are trusted to appropriately tag and enforce. \n\nIn the HL7 Healthcare Privacy and Security Classification (HCS) there are code systems specific to Confidentiality, Sensitivity, Integrity, and Handling Caveats. Some values would come from a local vocabulary as they are related to workflow roles and special projects." ];
fhir:ElementDefinition.requirements [ fhir:value "Use of the Health Care Privacy/Security Classification (HCS) system of security-tag use is recommended." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.securityLabel" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "SecurityLabels" ] ], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
fhir:ElementDefinition.binding.description [ fhir:value "Security Labels from the Healthcare Privacy and Security Classification System." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/security-labels";
fhir:link <http://hl7.org/fhir/ValueSet/security-labels> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.confidentiality, Composition.meta.security" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "TXA-18" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".confidentialityCode" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.confidentialityCode" ] ], [
fhir:index 4;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument/confidentialityCode/@code" ] ] ], [
fhir:index 28;
fhir:Element.id [ fhir:value "DocumentReference.content" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.content" ];
fhir:ElementDefinition.short [ fhir:value "Document referenced" ];
fhir:ElementDefinition.definition [ fhir:value "The document and format referenced. There may be multiple content element repetitions, each with a different format." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.content" ];
fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Bundle(Composition+*)" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "document.text" ] ] ], [
fhir:index 29;
fhir:Element.id [ fhir:value "DocumentReference.content.id" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.content.id" ];
fhir:ElementDefinition.representation [
fhir:value "xmlAttr";
fhir:index 0 ];
fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "string" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 30;
fhir:Element.id [ fhir:value "DocumentReference.content.extension" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.content.extension" ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "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." ];
fhir:ElementDefinition.comment [ fhir:value "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." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 31;
fhir:Element.id [ fhir:value "DocumentReference.content.modifierExtension" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.content.modifierExtension" ];
fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
fhir:ElementDefinition.definition [ fhir:value "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)." ];
fhir:ElementDefinition.comment [ fhir:value "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." ];
fhir:ElementDefinition.requirements [ fhir:value "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)." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ], [
fhir:value "modifiers";
fhir:index 2 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 32;
fhir:Element.id [ fhir:value "DocumentReference.content.attachment" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.content.attachment" ];
fhir:ElementDefinition.short [ fhir:value "Content in a format defined elsewhere" ];
fhir:ElementDefinition.definition [ fhir:value "For referring to data content defined in other formats." ];
fhir:ElementDefinition.comment [ fhir:value "When providing a summary view (for example with Observation.value[x]) Attachment should be represented with a brief display text such as \"Signed Procedure Consent\"." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.content.attachment" ];
fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Attachment" ];
fhir:ElementDefinition.type.profile [
fhir:value "https://nih-ncpi.github.io/ncpi-fhir-ig/StructureDefinition/ncpi-drs-attachment";
fhir:index 0;
fhir:link <https://nih-ncpi.github.io/ncpi-fhir-ig/StructureDefinition/ncpi-drs-attachment> ] ];
fhir:ElementDefinition.condition [
fhir:value "ele-1";
fhir:index 0 ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "att-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "If the Attachment has data, it SHALL have a contentType" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "data.empty() or contentType.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:data)) or exists(f:contentType)" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Attachment";
fhir:link <http://hl7.org/fhir/StructureDefinition/Attachment> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 2;
fhir:ElementDefinition.constraint.key [ fhir:value "must-be-drs-uri" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "attachment.url must start with ^drs://. A drs:// hostname-based URI, as defined in the DRS documentation, that tells clients how to access this object. The intent of this field is to make DRS objects self-contained, and therefore easier for clients to store and pass around. For example, if you arrive at this DRS JSON by resolving a compact identifier-based DRS URI, the `self_uri` presents you with a hostname and properly encoded DRS ID for use in subsequent `access` endpoint calls." ];
fhir:ElementDefinition.constraint.expression [ fhir:value "$this.url.matches('^drs://.*')" ];
fhir:ElementDefinition.constraint.source [
fhir:value "https://nih-ncpi.github.io/ncpi-fhir-ig/StructureDefinition/ncpi-drs-attachment";
fhir:link <https://nih-ncpi.github.io/ncpi-fhir-ig/StructureDefinition/ncpi-drs-attachment> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ED/RP" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ED" ] ] ], [
fhir:index 33;
fhir:Element.id [ fhir:value "DocumentReference.content.format" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.content.format" ];
fhir:ElementDefinition.short [ fhir:value "Format/content rules for the document" ];
fhir:ElementDefinition.definition [ fhir:value "An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType." ];
fhir:ElementDefinition.comment [ fhir:value "Note that while IHE mostly issues URNs for format types, not all documents can be identified by a URI." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.content.format" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "DocumentFormat" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
fhir:ElementDefinition.binding.description [ fhir:value "Document Format Codes." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/formatcodes";
fhir:link <http://hl7.org/fhir/ValueSet/formatcodes> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.meta.profile" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "document.text" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.formatCode" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "derived from the IHE Profile or Implementation Guide templateID" ] ] ], [
fhir:index 34;
fhir:Element.id [ fhir:value "DocumentReference.context" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.context" ];
fhir:ElementDefinition.short [ fhir:value "Clinical context of document" ];
fhir:ElementDefinition.definition [ fhir:value "The clinical context in which the document was prepared." ];
fhir:ElementDefinition.comment [ fhir:value "These values are primarily added to help with searching for interesting/relevant documents." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.context" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']" ] ] ], [
fhir:index 35;
fhir:Element.id [ fhir:value "DocumentReference.context.id" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.id" ];
fhir:ElementDefinition.representation [
fhir:value "xmlAttr";
fhir:index 0 ];
fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "string" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 36;
fhir:Element.id [ fhir:value "DocumentReference.context.extension" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.extension" ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "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." ];
fhir:ElementDefinition.comment [ fhir:value "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." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 37;
fhir:Element.id [ fhir:value "DocumentReference.context.modifierExtension" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.modifierExtension" ];
fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
fhir:ElementDefinition.definition [ fhir:value "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)." ];
fhir:ElementDefinition.comment [ fhir:value "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." ];
fhir:ElementDefinition.requirements [ fhir:value "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)." ];
fhir:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ], [
fhir:value "modifiers";
fhir:index 2 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [
fhir:index 38;
fhir:Element.id [ fhir:value "DocumentReference.context.encounter" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.encounter" ];
fhir:ElementDefinition.short [ fhir:value "Context of the document content" ];
fhir:ElementDefinition.definition [ fhir:value "Describes the clinical encounter or type of care that the document content is associated with." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.context.encounter" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Encounter> ], [
fhir:value "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare";
fhir:index 1;
fhir:link <http://hl7.org/fhir/StructureDefinition/EpisodeOfCare> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Event.context" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.context" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.encounter" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])" ] ] ], [
fhir:index 39;
fhir:Element.id [ fhir:value "DocumentReference.context.event" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.event" ];
fhir:ElementDefinition.short [ fhir:value "Main clinical acts documented" ];
fhir:ElementDefinition.definition [ fhir:value "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 type Code, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act." ];
fhir:ElementDefinition.comment [ fhir:value "An event can further specialize the act inherent in the type, such as where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more event codes are included, they shall not conflict with the values inherent in the class or type elements as such a conflict would create an ambiguous situation." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.context.event" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "DocumentEventType" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
fhir:ElementDefinition.binding.description [ fhir:value "This list of codes represents the main clinical acts being documented." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://terminology.hl7.org/ValueSet/v3-ActCode";
fhir:link <http://terminology.hl7.org/ValueSet/v3-ActCode> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.event.code" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".code" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.eventCodeList" ] ] ], [
fhir:index 40;
fhir:Element.id [ fhir:value "DocumentReference.context.period" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.period" ];
fhir:ElementDefinition.short [ fhir:value "Time of service that is being documented" ];
fhir:ElementDefinition.definition [ fhir:value "The time period over which the service that is described by the document was provided." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.context.period" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Period" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.event.period" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.serviceStartTime, DocumentEntry.serviceStopTime" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/low/\n@value --> ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/high/\n@value" ] ] ], [
fhir:index 41;
fhir:Element.id [ fhir:value "DocumentReference.context.facilityType" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.facilityType" ];
fhir:ElementDefinition.short [ fhir:value "Kind of facility where patient was seen" ];
fhir:ElementDefinition.definition [ fhir:value "The kind of facility where the patient was seen." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.context.facilityType" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "DocumentC80FacilityType" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
fhir:ElementDefinition.binding.description [ fhir:value "XDS Facility Type." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/c80-facilitycodes";
fhir:link <http://hl7.org/fhir/ValueSet/c80-facilitycodes> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "usually from a mapping to a local ValueSet" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.healthcareFacilityTypeCode" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "usually a mapping to a local ValueSet. Must be consistent with /clinicalDocument/code" ] ] ], [
fhir:index 42;
fhir:Element.id [ fhir:value "DocumentReference.context.practiceSetting" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.practiceSetting" ];
fhir:ElementDefinition.short [ fhir:value "Additional details about where the content was created (e.g. clinical specialty)" ];
fhir:ElementDefinition.definition [ fhir:value "This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty." ];
fhir:ElementDefinition.comment [ fhir:value "This element should be based on a coarse classification system for the class of specialty practice. Recommend the use of the classification system for Practice Setting, such as that described by the Subject Matter Domain in LOINC." ];
fhir:ElementDefinition.requirements [ fhir:value "This is an important piece of metadata that providers often rely upon to quickly sort and/or filter out to find specific content." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.context.practiceSetting" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "DocumentC80PracticeSetting" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
fhir:ElementDefinition.binding.description [ fhir:value "Additional details about where the content was created (e.g. clinical specialty)." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/c80-practice-codes";
fhir:link <http://hl7.org/fhir/ValueSet/c80-practice-codes> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "usually from a mapping to a local ValueSet" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.practiceSettingCode" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "usually from a mapping to a local ValueSet" ] ] ], [
fhir:index 43;
fhir:Element.id [ fhir:value "DocumentReference.context.sourcePatientInfo" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.sourcePatientInfo" ];
fhir:ElementDefinition.short [ fhir:value "Patient demographics from source" ];
fhir:ElementDefinition.definition [ fhir:value "The Patient Information as known when the document was published. May be a reference to a version specific, or contained." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.context.sourcePatientInfo" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Patient> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.subject" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.sourcePatientInfo, DocumentEntry.sourcePatientId" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument/recordTarget/" ] ] ], [
fhir:index 44;
fhir:Element.id [ fhir:value "DocumentReference.context.related" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.related" ];
fhir:ElementDefinition.short [ fhir:value "Related identifiers or resources" ];
fhir:ElementDefinition.definition [ fhir:value "Related identifiers or resources associated with the DocumentReference." ];
fhir:ElementDefinition.comment [ fhir:value "May be identifiers or resources that caused the DocumentReference or referenced Document to be created." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "DocumentReference.context.related" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
fhir:ElementDefinition.type.targetProfile [
fhir:value "http://hl7.org/fhir/StructureDefinition/Resource";
fhir:index 0;
fhir:link <http://hl7.org/fhir/StructureDefinition/Resource> ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "fhircomposition" ];
fhir:ElementDefinition.mapping.map [ fhir:value "Composition.event.detail" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct]" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "xds" ];
fhir:ElementDefinition.mapping.map [ fhir:value "DocumentEntry.referenceIdList" ] ], [
fhir:index 3;
fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument/relatedDocument" ] ] ]
]; #
fhir:StructureDefinition.differential [
fhir:StructureDefinition.differential.element [
fhir:index 0;
fhir:Element.id [ fhir:value "DocumentReference" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference" ] ], [
fhir:index 1;
fhir:Element.id [ fhir:value "DocumentReference.content.attachment" ];
fhir:ElementDefinition.path [ fhir:value "DocumentReference.content.attachment" ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Attachment" ];
fhir:ElementDefinition.type.profile [
fhir:value "https://nih-ncpi.github.io/ncpi-fhir-ig/StructureDefinition/ncpi-drs-attachment";
fhir:index 0;
fhir:link <https://nih-ncpi.github.io/ncpi-fhir-ig/StructureDefinition/ncpi-drs-attachment> ] ] ]
]. #
# - ontology header ------------------------------------------------------------
a owl:Ontology;
owl:imports fhir:fhir.ttl.
IG © 2021+ NCPI FHIR Working Group. Package NCPI-FHIR-Implementation-Guide#0.2.0 based on FHIR 4.0.1. Generated 2022-12-09
Links: Table of Contents |
QA Report