Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). 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

Example StructureDefinition/CommunicationRequest (Turtle)

Patient Care Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

StructureDefinition for communicationrequest

@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 "CommunicationRequest"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-10T04:52:37.223+10:00" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-category" ];
     fhir:Extension.value [ fhir:value "Clinical.Request &amp; Response" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "trial-use" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "2" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" ];
     fhir:Extension.value [ fhir:value "patient" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "pc" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/CommunicationRequest"];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "CommunicationRequest"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CanonicalResource.date [ fhir:value "2022-09-10T04:52:37+10:00"];
  fhir:CanonicalResource.publisher [ fhir:value "Health Level Seven International (Patient Care)"];
  fhir:CanonicalResource.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ], [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/patientcare/index.cfm" ]
     ]
  ];
  fhir:CanonicalResource.description [ fhir:value "A request to convey information; e.g. the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition."];
  fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/CommunicationRequest"];
  fhir:StructureDefinition.version [ fhir:value "5.0.0-ballot"];
  fhir:StructureDefinition.name [ fhir:value "CommunicationRequest"];
  fhir:StructureDefinition.status [ fhir:value "draft"];
  fhir:StructureDefinition.experimental [ fhir:value "false"];
  fhir:StructureDefinition.date [ fhir:value "2022-09-10T04:52:37+10:00"];
  fhir:StructureDefinition.publisher [ fhir:value "Health Level Seven International (Patient Care)"];
  fhir:StructureDefinition.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ], [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/patientcare/index.cfm" ]
     ]
  ];
  fhir:StructureDefinition.description [ fhir:value "A request to convey information; e.g. the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition."];
  fhir:StructureDefinition.fhirVersion [ fhir:value "5.0.0-ballot"];
  fhir:StructureDefinition.mapping [
     fhir:StructureDefinitionMappingComponent.identity [ fhir:value "workflow" ];
     fhir:StructureDefinitionMappingComponent.uri [ fhir:value "http://hl7.org/fhir/workflow" ];
     fhir:StructureDefinitionMappingComponent.name [ fhir:value "Workflow Pattern" ]
  ], [
     fhir:StructureDefinitionMappingComponent.identity [ fhir:value "w5" ];
     fhir:StructureDefinitionMappingComponent.uri [ fhir:value "http://hl7.org/fhir/fivews" ];
     fhir:StructureDefinitionMappingComponent.name [ fhir:value "FiveWs Pattern Mapping" ]
  ], [
     fhir:StructureDefinitionMappingComponent.identity [ fhir:value "rim" ];
     fhir:StructureDefinitionMappingComponent.uri [ fhir:value "http://hl7.org/v3" ];
     fhir:StructureDefinitionMappingComponent.name [ fhir:value "RIM Mapping" ]
  ];
  fhir:StructureDefinition.kind [ fhir:value "resource"];
  fhir:StructureDefinition.abstract [ fhir:value "false"];
  fhir:StructureDefinition.type [ fhir:value "CommunicationRequest"];
  fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource"];
  fhir:StructureDefinition.derivation [ fhir:value "specialization"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinitionSnapshotComponent.element [
       fhir:Element.id [ fhir:value "CommunicationRequest" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest" ];
       fhir:ElementDefinition.short [ fhir:value "A request for information to be sent to a receiver" ];
       fhir:ElementDefinition.definition [ fhir:value "A request to convey information; e.g. the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "dom-2" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "contained.contained.empty()" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "not(parent::f:contained and f:contained)" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ], [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "dom-3" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.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:ElementDefinitionConstraintComponent.expression [ fhir:value "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "not(exists(for $contained in f:contained return $contained[not(exists(parent::*/descendant::f:reference/@value=concat('#', $contained/*/f:id/@value)) or exists(descendant::f:reference[@value='#']))]))" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ], [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "dom-4" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ], [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "dom-5" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "contained.meta.security.empty()" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ], [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ];
           fhir:Extension.value [ fhir:value "true" ]
         ], [
           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:ElementDefinitionConstraintComponent.key [ fhir:value "dom-6" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "warning" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "A resource should have narrative for robust management" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "text.`div`.exists()" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "exists(f:text/h:div)" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Entity. Role, or Act" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "workflow.order" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.id" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.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 "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "Resource.id" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
           fhir:Extension.value [ fhir:value "id" ]
         ];
         fhir:TypeRefComponent.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.meta" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.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:ElementDefinitionBaseComponent.path [ fhir:value "Resource.meta" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Meta" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.implicitRules" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.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:ElementDefinitionBaseComponent.path [ fhir:value "Resource.implicitRules" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "uri" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       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:Element.id [ fhir:value "CommunicationRequest.language" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.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:ElementDefinitionBaseComponent.path [ fhir:value "Resource.language" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           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:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "Language" ]
         ], [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
           fhir:Extension.value [ fhir:value "true" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "preferred" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "IETF language tag" ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/languages" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.text" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.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 a 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:value "html" ], [ fhir:value "xhtml" ], [ fhir:value "display" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "DomainResource.text" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Narrative" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Act.text?" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.contained" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning." ];
       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:value "anonymous resources" ], [ fhir:value "contained resources" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "DomainResource.contained" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Resource" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.extension" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.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:value "user content" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "DomainResource.extension" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ext-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.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:value "user content" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "DomainResource.modifierExtension" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ext-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       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 "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.identifier" ];
       fhir:ElementDefinition.short [ fhir:value "Unique identifier" ];
       fhir:ElementDefinition.definition [ fhir:value "Business identifiers assigned to this communication request by the performer or other systems which remain constant as the resource is updated and propagates from server to server." ];
       fhir:ElementDefinition.comment [ fhir:value "This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows identification of the communication request as it is known by various participating systems and in a way that remains consistent across servers." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.identifier" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Identifier" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.identifier" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.identifier" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.basedOn" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.basedOn" ];
       fhir:ElementDefinition.short [ fhir:value "Fulfills plan or proposal" ];
       fhir:ElementDefinition.definition [ fhir:value "A plan or proposal that is fulfilled in whole or in part by this request." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows tracing of authorization for the request and tracking whether proposals/recommendations were acted upon." ];
       fhir:ElementDefinition.alias [ fhir:value "fulfills" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.basedOn" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.basedOn" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".outboundRelationship[typeCode=FLFS].target" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.replaces" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.replaces" ];
       fhir:ElementDefinition.short [ fhir:value "Request(s) replaced by this request" ];
       fhir:ElementDefinition.definition [ fhir:value "Completed or terminated request(s) whose function is taken by this new request." ];
       fhir:ElementDefinition.comment [ fhir:value "The replacement could be because the initial request was immediately rejected (due to an issue) or because the previous request was completed, but the need for the action described by the request remains ongoing." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows tracing the continuation of a therapy or administrative process instantiated through multiple requests." ];
       fhir:ElementDefinition.alias [ fhir:value "supersedes" ], [ fhir:value "prior" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.replaces" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/CommunicationRequest" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.replaces" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".outboundRelationship[typeCode=RPLC].target" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.groupIdentifier" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.groupIdentifier" ];
       fhir:ElementDefinition.short [ fhir:value "Composite request this is part of" ];
       fhir:ElementDefinition.definition [ fhir:value "A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition, prescription or similar form." ];
       fhir:ElementDefinition.comment [ fhir:value "Requests are linked either by a \"basedOn\" relationship (i.e. one request is fulfilling another) or by having a common requisition.  Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation." ];
       fhir:ElementDefinition.alias [ fhir:value "grouperId" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.groupIdentifier" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Identifier" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.groupIdentifier" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.status" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.status" ];
       fhir:ElementDefinition.short [ fhir:value "draft | active | on-hold | revoked | completed | entered-in-error | unknown" ];
       fhir:ElementDefinition.definition [ fhir:value "The status of the proposal or order." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.status" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "1" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       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:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationRequestStatus" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "required" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "The status of the communication request." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/request-status|5.0.0-ballot" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.status" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.status" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.statusReason" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.statusReason" ];
       fhir:ElementDefinition.short [ fhir:value "Reason for current status" ];
       fhir:ElementDefinition.definition [ fhir:value "Captures the reason for the current state of the CommunicationRequest." ];
       fhir:ElementDefinition.comment [ fhir:value "This is generally only used for \"exception\" statuses such as \"on-hold\" or \"revoked\".  The reason why the CommunicationRequest was created at all is captured in reasonCode, not here." ];
       fhir:ElementDefinition.alias [ fhir:value "Suspended Reason" ], [ fhir:value "Cancelled Reason" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.statusReason" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationRequestStatusReason" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "example" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "Codes identifying the reason for the current state of a request." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/communication-request-status-reason" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.statusReason" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.intent" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.intent" ];
       fhir:ElementDefinition.short [ fhir:value "proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates the level of authority/intentionality associated with the CommunicationRequest and where the request fits into the workflow chain." ];
       fhir:ElementDefinition.comment [ fhir:value "This element is expected to be immutable.  E.g. A \"proposal\" instance should never change to be a \"plan\" instance or \"order\" instance.  Instead, a new instance 'basedOn' the prior instance should be created with the new 'intent' value.\n\nOne exception to this is that the granularity of CommunicationRequest.intent is allowed to change.  For example, a Request identified as an \"order\" might later be clarified to be a \"filler-order\".  Or, in rarer cases (to meet recipient constraints), the reverse might also occur." ];
       fhir:ElementDefinition.requirements [ fhir:value "Proposals/recommendations, plans and orders all use the same structure and can exist in the same fulfillment chain." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.intent" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "1" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "true" ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationRequestIntent" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "required" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "Codes indicating the degree of authority/intentionality associated with a request." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/request-intent|5.0.0-ballot" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.intent" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.class" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.category" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.category" ];
       fhir:ElementDefinition.short [ fhir:value "Message category" ];
       fhir:ElementDefinition.definition [ fhir:value "The type of message to be sent such as alert, notification, reminder, instruction, etc." ];
       fhir:ElementDefinition.comment [ fhir:value "There may be multiple axes of categorization and one communication request may serve multiple purposes." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.category" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationCategory" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "example" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "Codes for general categories of communications such as alerts, instruction, etc." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/communication-category" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.class" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.priority" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.priority" ];
       fhir:ElementDefinition.short [ fhir:value "routine | urgent | asap | stat" ];
       fhir:ElementDefinition.definition [ fhir:value "Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.priority" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.meaningWhenMissing [ fhir:value "If missing, this task should be performed with normal priority" ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationPriority" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "required" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "Codes indicating the relative importance of a communication request." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/request-priority|5.0.0-ballot" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.priority" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.grade" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.doNotPerform" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.doNotPerform" ];
       fhir:ElementDefinition.short [ fhir:value "True if request is prohibiting action" ];
       fhir:ElementDefinition.definition [ fhir:value "If true indicates that the CommunicationRequest is asking for the specified action to *not* occur." ];
       fhir:ElementDefinition.comment [ fhir:value "The attributes provided with the request qualify what is not to be done." ];
       fhir:ElementDefinition.alias [ fhir:value "prohibited" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.doNotPerform" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "boolean" ]
       ];
       fhir:ElementDefinition.meaningWhenMissing [ fhir:value "If do not perform is not specified, the request is a positive request e.g. \"do perform\"" ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "true" ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "If true this element negates the specified action. For Example,  instead of a request for a communication, it is a request for the communication to not occur." ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.doNotPerform" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.medium" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.medium" ];
       fhir:ElementDefinition.short [ fhir:value "A channel of communication" ];
       fhir:ElementDefinition.definition [ fhir:value "A channel that was used for this communication (e.g. email, fax)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.medium" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationMedium" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "example" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "Codes for communication mediums such as phone, fax, email, in person, etc." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ParticipationMode" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.subject" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.subject" ];
       fhir:ElementDefinition.short [ fhir:value "Focus of message" ];
       fhir:ElementDefinition.definition [ fhir:value "The patient or group that is the focus of this communication request." ];
       fhir:ElementDefinition.alias [ fhir:value "patient" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.subject" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Group" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.subject" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.subject[x]" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.subject" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.about" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.about" ];
       fhir:ElementDefinition.short [ fhir:value "Resources that pertain to this communication request" ];
       fhir:ElementDefinition.definition [ fhir:value "Other resources that pertain to this communication request and to which this communication request should be associated." ];
       fhir:ElementDefinition.comment [ fhir:value "Don't use CommunicationRequest.about element when a more specific element exists, such as basedOn, reasonReference, or replaces." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.about" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.supportingInfo" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.context" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.encounter" ];
       fhir:ElementDefinition.short [ fhir:value "The Encounter during which this CommunicationRequest was created" ];
       fhir:ElementDefinition.definition [ fhir:value "The Encounter during which this CommunicationRequest was created or to which the creation of this record is tightly associated." ];
       fhir:ElementDefinition.comment [ fhir:value "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.encounter" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.context" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.context" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.payload" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.payload" ];
       fhir:ElementDefinition.short [ fhir:value "Message payload" ];
       fhir:ElementDefinition.definition [ fhir:value "Text, attachment(s), or resource(s) to be communicated to the recipient." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.payload" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "BackboneElement" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.payload.id" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.payload.id" ];
       fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ];
       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:ElementDefinitionBaseComponent.path [ fhir:value "Element.id" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
           fhir:Extension.value [ fhir:value "string" ]
         ];
         fhir:TypeRefComponent.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:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.payload.extension" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.payload.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:value "user content" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ext-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinitionConstraintComponent.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:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.payload.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.payload.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:value "user content" ], [ fhir:value "modifiers" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ext-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinitionConstraintComponent.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:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "N/A" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.payload.content[x]" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.payload.content[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Message part content" ];
       fhir:ElementDefinition.definition [ fhir:value "The communicated content (or for multi-part communications, one portion of the communication)." ];
       fhir:ElementDefinition.comment [ fhir:value "The content can be codified or textual.  As an example of codified content, when working with machine generated communications, the payload may be drawn from a finite, terminology defined set of communications, especially for short, status update kinds of communications where more of a natural language approach isn't appropriate.\n\nIf the content isn't codified, contentCodeableConcept.text can be used.  \n\nWhen using contentCodeableConcept, the CodeableConcept is what is being communicated and is not a categorization of the content." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.payload.content[x]" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "1" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Attachment" ]
       ], [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource" ]
       ], [
         fhir:TypeRefComponent.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.note" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.occurrence[x]" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.occurrence[x]" ];
       fhir:ElementDefinition.short [ fhir:value "When scheduled" ];
       fhir:ElementDefinition.definition [ fhir:value "The time when this communication is to occur." ];
       fhir:ElementDefinition.alias [ fhir:value "timing" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.occurrence[x]" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "dateTime" ]
       ], [
         fhir:TypeRefComponent.code [ fhir:value "Period" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.occurrence[x]" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.planned" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.authoredOn" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.authoredOn" ];
       fhir:ElementDefinition.short [ fhir:value "When request transitioned to being actionable" ];
       fhir:ElementDefinition.definition [ fhir:value "For draft requests, indicates the date of initial creation.  For requests with other statuses, indicates the date of activation." ];
       fhir:ElementDefinition.alias [ fhir:value "createdOn" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.authoredOn" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "dateTime" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.authoredOn" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.recorded" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.requester" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.requester" ];
       fhir:ElementDefinition.short [ fhir:value "Who asks for the information to be shared" ];
       fhir:ElementDefinition.definition [ fhir:value "The device, individual, or organization who asks for the information to be shared." ];
       fhir:ElementDefinition.alias [ fhir:value "author" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.requester" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.requester" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.author" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".participation[typeCode=AUT].role" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.recipient" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.recipient" ];
       fhir:ElementDefinition.short [ fhir:value "Who to share the information with" ];
       fhir:ElementDefinition.definition [ fhir:value "The entity (e.g. person, organization, clinical information system, device, group, or care team) which is the intended target of the communication." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.recipient" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Group" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/CareTeam" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/HealthcareService" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Endpoint" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.performer" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.actor" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.informationProvider" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.informationProvider" ];
       fhir:ElementDefinition.short [ fhir:value "Who should share the information" ];
       fhir:ElementDefinition.definition [ fhir:value "The entity (e.g. person, organization, clinical information system, or device) which is to be the source of the communication." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.informationProvider" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/HealthcareService" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Endpoint" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.performer" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.actor" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.reason" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.reason" ];
       fhir:ElementDefinition.short [ fhir:value "Why is communication needed?" ];
       fhir:ElementDefinition.definition [ fhir:value "Describes why the request is being made in coded or textual form." ];
       fhir:ElementDefinition.comment [ fhir:value "Textual reasons can be captured using reasonCode.text." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.reason" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "CodeableReference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationReason" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "example" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "Codes for describing reasons for the occurrence of a communication." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActReason" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.reasonCode" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.why[x]" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".reasonCode" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.note" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.note" ];
       fhir:ElementDefinition.short [ fhir:value "Comments made about communication request" ];
       fhir:ElementDefinition.definition [ fhir:value "Comments made about the request by the requester, sender, recipient, subject or other participants." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinitionBaseComponent.path [ fhir:value "CommunicationRequest.note" ];
         fhir:ElementDefinitionBaseComponent.min [ fhir:value "0" ];
         fhir:ElementDefinitionBaseComponent.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Annotation" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:ElementDefinitionConstraintComponent.key [ fhir:value "ele-1" ];
         fhir:ElementDefinitionConstraintComponent.severity [ fhir:value "error" ];
         fhir:ElementDefinitionConstraintComponent.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinitionConstraintComponent.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinitionConstraintComponent.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinitionConstraintComponent.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.note" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]" ]
       ]
     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinitionDifferentialComponent.element [
       fhir:Element.id [ fhir:value "CommunicationRequest" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest" ];
       fhir:ElementDefinition.short [ fhir:value "A request for information to be sent to a receiver" ];
       fhir:ElementDefinition.definition [ fhir:value "A request to convey information; e.g. the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "workflow.order" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.identifier" ];
       fhir:ElementDefinition.short [ fhir:value "Unique identifier" ];
       fhir:ElementDefinition.definition [ fhir:value "Business identifiers assigned to this communication request by the performer or other systems which remain constant as the resource is updated and propagates from server to server." ];
       fhir:ElementDefinition.comment [ fhir:value "This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows identification of the communication request as it is known by various participating systems and in a way that remains consistent across servers." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Identifier" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.identifier" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.identifier" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.basedOn" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.basedOn" ];
       fhir:ElementDefinition.short [ fhir:value "Fulfills plan or proposal" ];
       fhir:ElementDefinition.definition [ fhir:value "A plan or proposal that is fulfilled in whole or in part by this request." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows tracing of authorization for the request and tracking whether proposals/recommendations were acted upon." ];
       fhir:ElementDefinition.alias [ fhir:value "fulfills" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.basedOn" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".outboundRelationship[typeCode=FLFS].target" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.replaces" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.replaces" ];
       fhir:ElementDefinition.short [ fhir:value "Request(s) replaced by this request" ];
       fhir:ElementDefinition.definition [ fhir:value "Completed or terminated request(s) whose function is taken by this new request." ];
       fhir:ElementDefinition.comment [ fhir:value "The replacement could be because the initial request was immediately rejected (due to an issue) or because the previous request was completed, but the need for the action described by the request remains ongoing." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows tracing the continuation of a therapy or administrative process instantiated through multiple requests." ];
       fhir:ElementDefinition.alias [ fhir:value "supersedes" ], [ fhir:value "prior" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/CommunicationRequest" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.replaces" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".outboundRelationship[typeCode=RPLC].target" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.groupIdentifier" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.groupIdentifier" ];
       fhir:ElementDefinition.short [ fhir:value "Composite request this is part of" ];
       fhir:ElementDefinition.definition [ fhir:value "A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition, prescription or similar form." ];
       fhir:ElementDefinition.comment [ fhir:value "Requests are linked either by a \"basedOn\" relationship (i.e. one request is fulfilling another) or by having a common requisition.  Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation." ];
       fhir:ElementDefinition.alias [ fhir:value "grouperId" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Identifier" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.groupIdentifier" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.status" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.status" ];
       fhir:ElementDefinition.short [ fhir:value "draft | active | on-hold | revoked | completed | entered-in-error | unknown" ];
       fhir:ElementDefinition.definition [ fhir:value "The status of the proposal or order." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       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:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationRequestStatus" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "required" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "The status of the communication request." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/request-status|5.0.0-ballot" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.status" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.status" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.statusReason" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.statusReason" ];
       fhir:ElementDefinition.short [ fhir:value "Reason for current status" ];
       fhir:ElementDefinition.definition [ fhir:value "Captures the reason for the current state of the CommunicationRequest." ];
       fhir:ElementDefinition.comment [ fhir:value "This is generally only used for \"exception\" statuses such as \"on-hold\" or \"revoked\".  The reason why the CommunicationRequest was created at all is captured in reasonCode, not here." ];
       fhir:ElementDefinition.alias [ fhir:value "Suspended Reason" ], [ fhir:value "Cancelled Reason" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationRequestStatusReason" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "example" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "Codes identifying the reason for the current state of a request." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/communication-request-status-reason" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.statusReason" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.intent" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.intent" ];
       fhir:ElementDefinition.short [ fhir:value "proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates the level of authority/intentionality associated with the CommunicationRequest and where the request fits into the workflow chain." ];
       fhir:ElementDefinition.comment [ fhir:value "This element is expected to be immutable.  E.g. A \"proposal\" instance should never change to be a \"plan\" instance or \"order\" instance.  Instead, a new instance 'basedOn' the prior instance should be created with the new 'intent' value.\n\nOne exception to this is that the granularity of CommunicationRequest.intent is allowed to change.  For example, a Request identified as an \"order\" might later be clarified to be a \"filler-order\".  Or, in rarer cases (to meet recipient constraints), the reverse might also occur." ];
       fhir:ElementDefinition.requirements [ fhir:value "Proposals/recommendations, plans and orders all use the same structure and can exist in the same fulfillment chain." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "true" ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationRequestIntent" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "required" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "Codes indicating the degree of authority/intentionality associated with a request." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/request-intent|5.0.0-ballot" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.intent" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.class" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.category" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.category" ];
       fhir:ElementDefinition.short [ fhir:value "Message category" ];
       fhir:ElementDefinition.definition [ fhir:value "The type of message to be sent such as alert, notification, reminder, instruction, etc." ];
       fhir:ElementDefinition.comment [ fhir:value "There may be multiple axes of categorization and one communication request may serve multiple purposes." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationCategory" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "example" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "Codes for general categories of communications such as alerts, instruction, etc." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/communication-category" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.class" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.priority" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.priority" ];
       fhir:ElementDefinition.short [ fhir:value "routine | urgent | asap | stat" ];
       fhir:ElementDefinition.definition [ fhir:value "Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.meaningWhenMissing [ fhir:value "If missing, this task should be performed with normal priority" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationPriority" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "required" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "Codes indicating the relative importance of a communication request." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/request-priority|5.0.0-ballot" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.priority" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.grade" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.doNotPerform" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.doNotPerform" ];
       fhir:ElementDefinition.short [ fhir:value "True if request is prohibiting action" ];
       fhir:ElementDefinition.definition [ fhir:value "If true indicates that the CommunicationRequest is asking for the specified action to *not* occur." ];
       fhir:ElementDefinition.comment [ fhir:value "The attributes provided with the request qualify what is not to be done." ];
       fhir:ElementDefinition.alias [ fhir:value "prohibited" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "boolean" ]
       ];
       fhir:ElementDefinition.meaningWhenMissing [ fhir:value "If do not perform is not specified, the request is a positive request e.g. \"do perform\"" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "true" ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "If true this element negates the specified action. For Example,  instead of a request for a communication, it is a request for the communication to not occur." ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.doNotPerform" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.medium" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.medium" ];
       fhir:ElementDefinition.short [ fhir:value "A channel of communication" ];
       fhir:ElementDefinition.definition [ fhir:value "A channel that was used for this communication (e.g. email, fax)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationMedium" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "example" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "Codes for communication mediums such as phone, fax, email, in person, etc." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ParticipationMode" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.subject" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.subject" ];
       fhir:ElementDefinition.short [ fhir:value "Focus of message" ];
       fhir:ElementDefinition.definition [ fhir:value "The patient or group that is the focus of this communication request." ];
       fhir:ElementDefinition.alias [ fhir:value "patient" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Group" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.subject" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.subject[x]" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.subject" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.about" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.about" ];
       fhir:ElementDefinition.short [ fhir:value "Resources that pertain to this communication request" ];
       fhir:ElementDefinition.definition [ fhir:value "Other resources that pertain to this communication request and to which this communication request should be associated." ];
       fhir:ElementDefinition.comment [ fhir:value "Don't use CommunicationRequest.about element when a more specific element exists, such as basedOn, reasonReference, or replaces." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.supportingInfo" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.context" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.encounter" ];
       fhir:ElementDefinition.short [ fhir:value "The Encounter during which this CommunicationRequest was created" ];
       fhir:ElementDefinition.definition [ fhir:value "The Encounter during which this CommunicationRequest was created or to which the creation of this record is tightly associated." ];
       fhir:ElementDefinition.comment [ fhir:value "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.context" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.context" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.payload" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.payload" ];
       fhir:ElementDefinition.short [ fhir:value "Message payload" ];
       fhir:ElementDefinition.definition [ fhir:value "Text, attachment(s), or resource(s) to be communicated to the recipient." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "BackboneElement" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.payload.content[x]" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.payload.content[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Message part content" ];
       fhir:ElementDefinition.definition [ fhir:value "The communicated content (or for multi-part communications, one portion of the communication)." ];
       fhir:ElementDefinition.comment [ fhir:value "The content can be codified or textual.  As an example of codified content, when working with machine generated communications, the payload may be drawn from a finite, terminology defined set of communications, especially for short, status update kinds of communications where more of a natural language approach isn't appropriate.\n\nIf the content isn't codified, contentCodeableConcept.text can be used.  \n\nWhen using contentCodeableConcept, the CodeableConcept is what is being communicated and is not a categorization of the content." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Attachment" ]
       ], [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource" ]
       ], [
         fhir:TypeRefComponent.code [ fhir:value "CodeableConcept" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.note" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.occurrence[x]" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.occurrence[x]" ];
       fhir:ElementDefinition.short [ fhir:value "When scheduled" ];
       fhir:ElementDefinition.definition [ fhir:value "The time when this communication is to occur." ];
       fhir:ElementDefinition.alias [ fhir:value "timing" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "dateTime" ]
       ], [
         fhir:TypeRefComponent.code [ fhir:value "Period" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.occurrence[x]" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.planned" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.authoredOn" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.authoredOn" ];
       fhir:ElementDefinition.short [ fhir:value "When request transitioned to being actionable" ];
       fhir:ElementDefinition.definition [ fhir:value "For draft requests, indicates the date of initial creation.  For requests with other statuses, indicates the date of activation." ];
       fhir:ElementDefinition.alias [ fhir:value "createdOn" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "dateTime" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.authoredOn" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.recorded" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.requester" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.requester" ];
       fhir:ElementDefinition.short [ fhir:value "Who asks for the information to be shared" ];
       fhir:ElementDefinition.definition [ fhir:value "The device, individual, or organization who asks for the information to be shared." ];
       fhir:ElementDefinition.alias [ fhir:value "author" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.requester" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.author" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".participation[typeCode=AUT].role" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.recipient" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.recipient" ];
       fhir:ElementDefinition.short [ fhir:value "Who to share the information with" ];
       fhir:ElementDefinition.definition [ fhir:value "The entity (e.g. person, organization, clinical information system, device, group, or care team) which is the intended target of the communication." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Group" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/CareTeam" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/HealthcareService" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Endpoint" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.performer" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.actor" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.informationProvider" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.informationProvider" ];
       fhir:ElementDefinition.short [ fhir:value "Who should share the information" ];
       fhir:ElementDefinition.definition [ fhir:value "The entity (e.g. person, organization, clinical information system, or device) which is to be the source of the communication." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Reference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/HealthcareService" ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Endpoint" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.performer" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.actor" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.reason" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.reason" ];
       fhir:ElementDefinition.short [ fhir:value "Why is communication needed?" ];
       fhir:ElementDefinition.definition [ fhir:value "Describes why the request is being made in coded or textual form." ];
       fhir:ElementDefinition.comment [ fhir:value "Textual reasons can be captured using reasonCode.text." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "CodeableReference" ];
         fhir:TypeRefComponent.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "CommunicationReason" ]
         ];
         fhir:ElementDefinitionBindingComponent.strength [ fhir:value "example" ];
         fhir:ElementDefinitionBindingComponent.description [ fhir:value "Codes for describing reasons for the occurrence of a communication." ];
         fhir:ElementDefinitionBindingComponent.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-ActReason" ]
       ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.reasonCode" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "w5" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "FiveWs.why[x]" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".reasonCode" ]
       ]
     ], [
       fhir:Element.id [ fhir:value "CommunicationRequest.note" ];
       fhir:ElementDefinition.path [ fhir:value "CommunicationRequest.note" ];
       fhir:ElementDefinition.short [ fhir:value "Comments made about communication request" ];
       fhir:ElementDefinition.definition [ fhir:value "Comments made about the request by the requester, sender, recipient, subject or other participants." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:TypeRefComponent.code [ fhir:value "Annotation" ]
       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "workflow" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value "Request.note" ]
       ], [
         fhir:ElementDefinitionMappingComponent.identity [ fhir:value "rim" ];
         fhir:ElementDefinitionMappingComponent.map [ fhir:value ".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]" ]
       ]
     ]
  ] .

# -------------------------------------------------------------------------------------


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.