This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU) in it's permanent home (it will always be available at this URL). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
Structured Documents Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson |
Raw Turtle (+ also see Turtle/RDF Format Specification)
StructureDefinition for documentreference
@prefix fhir: <http://hl7.org/fhir/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . # - resource ------------------------------------------------------------------- [] a fhir:StructureDefinition; fhir:Resource.id [ fhir:value "DocumentReference"]; fhir:Resource.meta [ fhir:Meta.lastUpdated [ fhir:value "2019-11-01T09:29:23.356+11:00" ] ]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:DomainResource.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-category" ]; fhir:Extension.value [ fhir:value "Foundation.Documents" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ]; fhir:Extension.value [ fhir:value "trial-use" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ]; fhir:Extension.value [ fhir:value "3" ] ], [ fhir:index 3; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" ]; fhir:Extension.value [ fhir:value "not-classified" ] ], [ fhir:index 4; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ]; fhir:Extension.value [ fhir:value "sd" ] ]; fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/DocumentReference"]; fhir:StructureDefinition.version [ fhir:value "4.0.1"]; fhir:StructureDefinition.name [ fhir:value "DocumentReference"]; fhir:StructureDefinition.status [ fhir:value "draft"]; fhir:StructureDefinition.date [ fhir:value "2019-11-01T09:29:23+11:00"]; fhir:StructureDefinition.publisher [ fhir:value "Health Level Seven International (Structured Documents)"]; fhir:StructureDefinition.contact [ fhir:index 0; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ] ] ], [ fhir:index 1; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/structure/index.cfm" ] ] ]; fhir:StructureDefinition.description [ 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:StructureDefinition.fhirVersion [ fhir:value "4.0.1"]; fhir:StructureDefinition.mapping [ fhir:index 0; fhir:StructureDefinition.identity [ fhir:value "workflow" ]; fhir:StructureDefinition.uri [ fhir:value "http://hl7.org/fhir/workflow" ]; fhir:StructureDefinition.name [ fhir:value "Workflow Pattern" ] ], [ fhir:index 1; fhir:StructureDefinition.identity [ fhir:value "fhircomposition" ]; fhir:StructureDefinition.uri [ fhir:value "http://hl7.org/fhir/composition" ]; fhir:StructureDefinition.name [ fhir:value "FHIR Composition" ] ], [ fhir:index 2; fhir:StructureDefinition.identity [ fhir:value "rim" ]; fhir:StructureDefinition.uri [ fhir:value "http://hl7.org/v3" ]; fhir:StructureDefinition.name [ fhir:value "RIM Mapping" ] ], [ fhir:index 3; fhir:StructureDefinition.identity [ fhir:value "cda" ]; fhir:StructureDefinition.uri [ fhir:value "http://hl7.org/v3/cda" ]; fhir:StructureDefinition.name [ fhir:value "CDA (R2)" ] ], [ fhir:index 4; fhir:StructureDefinition.identity [ fhir:value "w5" ]; fhir:StructureDefinition.uri [ fhir:value "http://hl7.org/fhir/fivews" ]; fhir:StructureDefinition.name [ fhir:value "FiveWs Pattern Mapping" ] ], [ fhir:index 5; fhir:StructureDefinition.identity [ fhir:value "v2" ]; fhir:StructureDefinition.uri [ fhir:value "http://hl7.org/v2" ]; fhir:StructureDefinition.name [ fhir:value "HL7 v2 Mapping" ] ], [ fhir:index 6; fhir:StructureDefinition.identity [ fhir:value "xds" ]; fhir:StructureDefinition.uri [ fhir:value "http://ihe.net/xds" ]; fhir:StructureDefinition.name [ fhir:value "XDS metadata equivalent" ] ]; fhir:StructureDefinition.kind [ fhir:value "resource"]; fhir:StructureDefinition.abstract [ fhir:value "false"]; fhir:StructureDefinition.type [ fhir:value "DocumentReference"]; fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource"]; fhir:StructureDefinition.derivation [ fhir:value "specialization"]; fhir:StructureDefinition.snapshot [ fhir:StructureDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "dom-2" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ]; fhir:ElementDefinition.expression [ fhir:value "contained.contained.empty()" ]; fhir:ElementDefinition.xpath [ fhir:value "not(parent::f:contained and f:contained)" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ], [ fhir:index 1; fhir:ElementDefinition.key [ fhir:value "dom-3" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.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.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.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.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ], [ fhir:index 2; fhir:ElementDefinition.key [ fhir:value "dom-4" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ]; fhir:ElementDefinition.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ]; fhir:ElementDefinition.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ], [ fhir:index 3; fhir:ElementDefinition.key [ fhir:value "dom-5" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ]; fhir:ElementDefinition.expression [ fhir:value "contained.meta.security.empty()" ]; fhir:ElementDefinition.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ]; fhir:ElementDefinition.source [ fhir:value "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.value [ fhir:value "true" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ]; fhir:Extension.value [ 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.key [ fhir:value "dom-6" ]; fhir:ElementDefinition.severity [ fhir:value "warning" ]; fhir:ElementDefinition.human [ fhir:value "A resource should have narrative for robust management" ]; fhir:ElementDefinition.expression [ fhir:value "text.`div`.exists()" ]; fhir:ElementDefinition.xpath [ fhir:value "exists(f:text/h:div)" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "Entity. Role, or Act" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "when describing a Composition" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "Document[classCode=\"DOC\" and moodCode=\"EVN\"]" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Resource.id" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.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.value [ fhir:value "string" ] ]; fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Resource.meta" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Meta" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ] ], [ 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Resource.implicitRules" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "uri" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true" ]; 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" ] ], [ 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Resource.language" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "code" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ]; fhir:Extension.value [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "Language" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.value [ fhir:value "true" ] ]; fhir:ElementDefinition.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.description [ fhir:value "A human language." ]; fhir:ElementDefinition.valueSet [ fhir:value "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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DomainResource.text" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Narrative" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DomainResource.contained" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Resource" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DomainResource.extension" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ], [ fhir:index 1; fhir:ElementDefinition.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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](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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DomainResource.modifierExtension" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ], [ fhir:index 1; fhir:ElementDefinition.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true" ]; 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" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.masterIdentifier" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Identifier" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.identifier" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.identifier" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.identifier" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-12" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".id" ] ], [ fhir:index 5; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.uniqueId" ] ], [ fhir:index 6; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.identifier" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Identifier" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.identifier" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.identifier" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-16?" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".id / .setId" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.status" ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "code" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true" ]; 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" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentReferenceStatus" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.value [ fhir:value "true" ] ]; fhir:ElementDefinition.strength [ fhir:value "required" ]; fhir:ElementDefinition.description [ fhir:value "The status of the document reference." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/document-reference-status|4.0.1" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.status" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.status" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-19" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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.identity [ fhir:value "xds" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.docStatus" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "code" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "ReferredDocumentStatus" ] ]; fhir:ElementDefinition.strength [ fhir:value "required" ]; fhir:ElementDefinition.description [ fhir:value "Status of the underlying document." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/composition-status|4.0.1" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.status" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.status" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-17" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.type" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentC80Type" ] ]; fhir:ElementDefinition.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.description [ fhir:value "Precise type of clinical document." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/c80-doc-typecodes" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.code" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.class" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.type" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-2" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "./code" ] ], [ fhir:index 5; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.type" ] ], [ fhir:index 6; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.category" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentC80Class" ] ]; fhir:ElementDefinition.strength [ fhir:value "example" ]; fhir:ElementDefinition.description [ fhir:value "High-level kind of a clinical document at a macro level." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/document-classcodes" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.class" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.class" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.class" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.subject" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient"; fhir:index 0 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner"; fhir:index 1 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Group"; fhir:index 2 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device"; fhir:index 3 ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.subject" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.subject[x]" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.subject" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.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.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" ] ], [ fhir:index 5; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.patientId" ] ], [ fhir:index 6; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "ClinicalDocument/recordTarget/" ] ], [ fhir:index 7; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.date" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "instant" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.occurrence[x]" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.recorded" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.date" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.author" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner"; fhir:index 0 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole"; fhir:index 1 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization"; fhir:index 2 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device"; fhir:index 3 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient"; fhir:index 4 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson"; fhir:index 5 ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.performer.actor" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.author" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message)" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.author" ] ], [ fhir:index 5; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.authenticator" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner"; fhir:index 0 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole"; fhir:index 1 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization"; fhir:index 2 ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.performer.actor" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.witness" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.attester" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-10" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]" ] ], [ fhir:index 5; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.legalAuthenticator" ] ], [ fhir:index 6; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.custodian" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization"; fhir:index 0 ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.performer.actor" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.custodian" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.relatesTo" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "BackboneElement" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.relatesTo" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".outboundRelationship" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Element.id" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.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.value [ fhir:value "string" ] ]; fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Element.extension" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ], [ fhir:index 1; fhir:ElementDefinition.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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](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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "BackboneElement.modifierExtension" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ], [ fhir:index 1; fhir:ElementDefinition.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true" ]; 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" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.relatesTo.code" ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "code" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentRelationshipType" ] ]; fhir:ElementDefinition.strength [ fhir:value "required" ]; fhir:ElementDefinition.description [ fhir:value "The type of relationship between documents." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.relatesTo.code" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".outboundRelationship.typeCode" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.relatesTo.target" ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/DocumentReference"; fhir:index 0 ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.relatesTo.target" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".target[classCode=\"DOC\", moodCode=\"EVN\"].id" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.description" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "string" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-25" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=\"SUBJ\"].target.text" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.securityLabel" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "SecurityLabels" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.value [ fhir:value "true" ] ]; fhir:ElementDefinition.strength [ fhir:value "extensible" ]; fhir:ElementDefinition.description [ fhir:value "Security Labels from the Healthcare Privacy and Security Classification System." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/security-labels" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.confidentiality, Composition.meta.security" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-18" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".confidentialityCode" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.confidentialityCode" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.content" ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "BackboneElement" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Bundle(Composition+*)" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Element.id" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.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.value [ fhir:value "string" ] ]; fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Element.extension" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ], [ fhir:index 1; fhir:ElementDefinition.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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](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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "BackboneElement.modifierExtension" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ], [ fhir:index 1; fhir:ElementDefinition.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true" ]; 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" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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 "Where to access the document" ]; fhir:ElementDefinition.definition [ fhir:value "The document or URL of the document along with critical metadata to prove content has integrity." ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.content.attachment" ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Attachment" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.language, \nComposition.title, \nComposition.date" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-3 for mime type" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "document.text" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.mimeType, DocumentEntry.languageCode, DocumentEntry.URI, DocumentEntry.size, DocumentEntry.hash, DocumentEntry.title, DocumentEntry.creationTime" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "ClinicalDocument/languageCode, ClinicalDocument/title, ClinicalDocument/date" ] ] ], [ 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.content.format" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Coding" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentFormat" ] ]; fhir:ElementDefinition.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.description [ fhir:value "Document Format Codes." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/formatcodes" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.meta.profile" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "document.text" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.formatCode" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.context" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "BackboneElement" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Element.id" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.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.value [ fhir:value "string" ] ]; fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "Element.extension" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ], [ fhir:index 1; fhir:ElementDefinition.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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](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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "BackboneElement.modifierExtension" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ], [ fhir:index 1; fhir:ElementDefinition.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true" ]; 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" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.encounter" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter"; fhir:index 0 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"; fhir:index 1 ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.context" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.context" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.encounter" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.event" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentEventType" ] ]; fhir:ElementDefinition.strength [ fhir:value "example" ]; fhir:ElementDefinition.description [ fhir:value "This list of codes represents the main clinical acts being documented." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActCode" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.event.code" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".code" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.period" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Period" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.event.period" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".effectiveTime" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.serviceStartTime, DocumentEntry.serviceStopTime" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.facilityType" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentC80FacilityType" ] ]; fhir:ElementDefinition.strength [ fhir:value "example" ]; fhir:ElementDefinition.description [ fhir:value "XDS Facility Type." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/c80-facilitycodes" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "usually from a mapping to a local ValueSet" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.healthcareFacilityTypeCode" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.practiceSetting" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentC80PracticeSetting" ] ]; fhir:ElementDefinition.strength [ fhir:value "example" ]; fhir:ElementDefinition.description [ fhir:value "Additional details about where the content was created (e.g. clinical specialty)." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/c80-practice-codes" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "usually from a mapping to a local ValueSet" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.practiceSettingCode" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.sourcePatientInfo" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient"; fhir:index 0 ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.subject" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.sourcePatientInfo, DocumentEntry.sourcePatientId" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.path [ fhir:value "DocumentReference.context.related" ]; fhir:ElementDefinition.min [ fhir:value "0" ]; fhir:ElementDefinition.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource"; fhir:index 0 ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.severity [ fhir:value "error" ]; fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false" ]; fhir:ElementDefinition.isSummary [ fhir:value "false" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.event.detail" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct]" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.referenceIdList" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "ClinicalDocument/relatedDocument" ] ] ] ]; fhir:StructureDefinition.differential [ fhir:StructureDefinition.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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "when describing a Composition" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "Document[classCode=\"DOC\" and moodCode=\"EVN\"]" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "when describing a CDA" ] ] ], [ fhir:index 1; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Identifier" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.identifier" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.identifier" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.identifier" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-12" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".id" ] ], [ fhir:index 5; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.uniqueId" ] ], [ fhir:index 6; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "ClinicalDocument/id" ] ] ], [ fhir:index 2; 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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Identifier" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.identifier" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.identifier" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-16?" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".id / .setId" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.entryUUID" ] ] ], [ fhir:index 3; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "code" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true" ]; 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" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentReferenceStatus" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.value [ fhir:value "true" ] ]; fhir:ElementDefinition.strength [ fhir:value "required" ]; fhir:ElementDefinition.description [ fhir:value "The status of the document reference." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/document-reference-status|4.0.1" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.status" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.status" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-19" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.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.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.availabilityStatus" ] ] ], [ fhir:index 4; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "code" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "ReferredDocumentStatus" ] ]; fhir:ElementDefinition.strength [ fhir:value "required" ]; fhir:ElementDefinition.description [ fhir:value "Status of the underlying document." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/composition-status|4.0.1" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.status" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.status" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-17" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".statusCode" ] ] ], [ fhir:index 5; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentC80Type" ] ]; fhir:ElementDefinition.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.description [ fhir:value "Precise type of clinical document." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/c80-doc-typecodes" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.code" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.class" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.type" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-2" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "./code" ] ], [ fhir:index 5; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.type" ] ], [ fhir:index 6; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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 6; 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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentC80Class" ] ]; fhir:ElementDefinition.strength [ fhir:value "example" ]; fhir:ElementDefinition.description [ fhir:value "High-level kind of a clinical document at a macro level." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/document-classcodes" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.class" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.class" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.class" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.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 7; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient"; fhir:index 0 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner"; fhir:index 1 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Group"; fhir:index 2 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device"; fhir:index 3 ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.subject" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.subject[x]" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.subject" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.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.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" ] ], [ fhir:index 5; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.patientId" ] ], [ fhir:index 6; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "ClinicalDocument/recordTarget/" ] ], [ fhir:index 7; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.subject" ] ] ], [ fhir:index 8; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "instant" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.occurrence[x]" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.recorded" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.date" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".availabilityTime[type=\"TS\"]" ] ] ], [ fhir:index 9; 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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner"; fhir:index 0 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole"; fhir:index 1 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization"; fhir:index 2 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device"; fhir:index 3 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient"; fhir:index 4 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson"; fhir:index 5 ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.performer.actor" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.author" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message)" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.author" ] ], [ fhir:index 5; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "ClinicalDocument/author" ] ] ], [ fhir:index 10; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner"; fhir:index 0 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole"; fhir:index 1 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization"; fhir:index 2 ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.performer.actor" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.witness" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.attester" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-10" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]" ] ], [ fhir:index 5; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.legalAuthenticator" ] ], [ fhir:index 6; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "ClinicalDocument/legalAuthenticator" ] ] ], [ fhir:index 11; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization"; fhir:index 0 ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.performer.actor" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.custodian" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]" ] ] ], [ fhir:index 12; 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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "BackboneElement" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.relatesTo" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".outboundRelationship" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry Associations" ] ] ], [ fhir:index 13; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "code" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentRelationshipType" ] ]; fhir:ElementDefinition.strength [ fhir:value "required" ]; fhir:ElementDefinition.description [ fhir:value "The type of relationship between documents." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.relatesTo.code" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".outboundRelationship.typeCode" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry Associations type" ] ] ], [ fhir:index 14; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/DocumentReference"; fhir:index 0 ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.relatesTo.target" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".target[classCode=\"DOC\", moodCode=\"EVN\"].id" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry Associations reference" ] ] ], [ fhir:index 15; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "string" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-25" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".outboundRelationship[typeCode=\"SUBJ\"].target.text" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.comments" ] ] ], [ fhir:index 16; 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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "SecurityLabels" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.value [ fhir:value "true" ] ]; fhir:ElementDefinition.strength [ fhir:value "extensible" ]; fhir:ElementDefinition.description [ fhir:value "Security Labels from the Healthcare Privacy and Security Classification System." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/security-labels" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.confidentiality, Composition.meta.security" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-18" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".confidentialityCode" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.confidentialityCode" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "ClinicalDocument/confidentialityCode/@code" ] ] ], [ fhir:index 17; 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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "BackboneElement" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Bundle(Composition+*)" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "document.text" ] ] ], [ fhir:index 18; fhir:Element.id [ fhir:value "DocumentReference.content.attachment" ]; fhir:ElementDefinition.path [ fhir:value "DocumentReference.content.attachment" ]; fhir:ElementDefinition.short [ fhir:value "Where to access the document" ]; fhir:ElementDefinition.definition [ fhir:value "The document or URL of the document along with critical metadata to prove content has integrity." ]; fhir:ElementDefinition.min [ fhir:value "1" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Attachment" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.language, \nComposition.title, \nComposition.date" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "v2" ]; fhir:ElementDefinition.map [ fhir:value "TXA-3 for mime type" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "document.text" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.mimeType, DocumentEntry.languageCode, DocumentEntry.URI, DocumentEntry.size, DocumentEntry.hash, DocumentEntry.title, DocumentEntry.creationTime" ] ], [ fhir:index 4; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "ClinicalDocument/languageCode, ClinicalDocument/title, ClinicalDocument/date" ] ] ], [ fhir:index 19; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Coding" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentFormat" ] ]; fhir:ElementDefinition.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.description [ fhir:value "Document Format Codes." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/formatcodes" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.meta.profile" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "document.text" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.formatCode" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "derived from the IHE Profile or Implementation Guide templateID" ] ] ], [ fhir:index 20; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "BackboneElement" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']" ] ] ], [ fhir:index 21; 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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter"; fhir:index 0 ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"; fhir:index 1 ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.map [ fhir:value "Event.context" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "w5" ]; fhir:ElementDefinition.map [ fhir:value "FiveWs.context" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.encounter" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])" ] ] ], [ fhir:index 22; 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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentEventType" ] ]; fhir:ElementDefinition.strength [ fhir:value "example" ]; fhir:ElementDefinition.description [ fhir:value "This list of codes represents the main clinical acts being documented." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActCode" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.event.code" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".code" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.eventCodeList" ] ] ], [ fhir:index 23; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Period" ] ]; fhir:ElementDefinition.isSummary [ fhir:value "true" ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.event.period" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".effectiveTime" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.serviceStartTime, DocumentEntry.serviceStopTime" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/low/\n@value --> ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/high/\n@value" ] ] ], [ fhir:index 24; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentC80FacilityType" ] ]; fhir:ElementDefinition.strength [ fhir:value "example" ]; fhir:ElementDefinition.description [ fhir:value "XDS Facility Type." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/c80-facilitycodes" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "usually from a mapping to a local ValueSet" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.healthcareFacilityTypeCode" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "usually a mapping to a local ValueSet. Must be consistent with /clinicalDocument/code" ] ] ], [ fhir:index 25; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.value [ fhir:value "DocumentC80PracticeSetting" ] ]; fhir:ElementDefinition.strength [ fhir:value "example" ]; fhir:ElementDefinition.description [ fhir:value "Additional details about where the content was created (e.g. clinical specialty)." ]; fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/c80-practice-codes" ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "usually from a mapping to a local ValueSet" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.practiceSettingCode" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "usually from a mapping to a local ValueSet" ] ] ], [ fhir:index 26; 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" ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient"; fhir:index 0 ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.subject" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.sourcePatientInfo, DocumentEntry.sourcePatientId" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "ClinicalDocument/recordTarget/" ] ] ], [ fhir:index 27; 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" ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.code [ fhir:value "Reference" ]; fhir:ElementDefinition.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource"; fhir:index 0 ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.identity [ fhir:value "fhircomposition" ]; fhir:ElementDefinition.map [ fhir:value "Composition.event.detail" ] ], [ fhir:index 1; fhir:ElementDefinition.identity [ fhir:value "rim" ]; fhir:ElementDefinition.map [ fhir:value "./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct]" ] ], [ fhir:index 2; fhir:ElementDefinition.identity [ fhir:value "xds" ]; fhir:ElementDefinition.map [ fhir:value "DocumentEntry.referenceIdList" ] ], [ fhir:index 3; fhir:ElementDefinition.identity [ fhir:value "cda" ]; fhir:ElementDefinition.map [ fhir:value "ClinicalDocument/relatedDocument" ] ] ] ] . # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.