API Hub

Explore and Make use of Nationally Defined Messaging APIs

This is a HL7 FHIR server, and as you appear to be accessing this page from a web browser you are seeing a HTML version of the requested resource(s). You can also access this URL from a FHIR client as a ReSTful API call. For more details please see the HL7 FHIR specification.
<?xml version="1.0" encoding="UTF-8" standalone="no"?><StructureDefinition xmlns="http://hl7.org/fhir">
   <id value="Extension-MessageEventType-1"/>
   <meta>
      <lastUpdated value="2018-06-29T13:27:00.544+01:00"/>
   </meta>
   <url value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-MessageEventType-1"/>
   <version value="1.0.0"/>
   <name value="Extension-MessageEventType-1"/>
   <status value="draft"/>
   <date value="2019-05-29"/>
   <publisher value="NHS Digital"/>
   <contact>
      <name value="Interoperability Team"/>
      <telecom>
         <system value="email"/>
         <value value="interoperabilityteam@nhs.net"/>
         <use value="work"/>
      </telecom>
   </contact>
   <description value="The type of event applicable to an event message."/>
   <copyright value="Copyright © 2019 NHS Digital"/>
   <fhirVersion value="3.0.1"/>
   <kind value="complex-type"/>
   <abstract value="false"/>
   <contextType value="resource"/>
   <context value="MessageHeader"/>
   <type value="Extension"/>
   <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension"/>
   <derivation value="constraint"/>
   <snapshot>
      <element id="Extension">
         <path value="Extension"/>
         <short value="The type of event applicable to the Child Health event message"/>
         <definition value="The type of event applicable to the Child Health event message"/>
         <min value="0"/>
         <max value="*"/>
         <base>
            <path value="Element"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
         </constraint>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element id="Extension.id">
         <path value="Extension.id"/>
         <representation value="xmlAttr"/>
         <short value="xml:id (or equivalent in JSON)"/>
         <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
         <comment value="Note that FHIR strings may not exceed 1MB in size"/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
      </element>
      <element id="Extension.extension">
         <path value="Extension.extension"/>
         <slicing>
            <discriminator>
               <type value="value"/>
               <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
         </slicing>
         <short value="Additional Content defined by implementations"/>
         <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order 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."/>
         <comment 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."/>
         <alias value="extensions"/>
         <alias value="user content"/>
         <min value="0"/>
         <max value="*"/>
         <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="Extension"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
         </constraint>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element id="Extension.url">
         <path value="Extension.url"/>
         <representation value="xmlAttr"/>
         <short value="identifies the meaning of the extension"/>
         <definition value="Source of the definition for the extension code - a logical name or a URL."/>
         <comment value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Extension.url"/>
            <min value="1"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <fixedUri value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-MessageEventType-1"/>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept">
         <path value="Extension.valueCodeableConcept"/>
         <sliceName value="valueCodeableConcept"/>
         <short value="Value of extension"/>
         <definition value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
         <comment value="A stream of bytes, base64 encoded"/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Extension.value[x]"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <binding>
            <strength value="required"/>
            <description value="The type of event applicable to the message."/>
            <valueSetReference>
               <reference value="https://fhir.nhs.uk/STU3/ValueSet/MessageEventType-1"/>
            </valueSetReference>
         </binding>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element id="Extension.value[x]:valueCodeableConcept.id">
         <path value="Extension.valueCodeableConcept.id"/>
         <representation value="xmlAttr"/>
         <short value="xml:id (or equivalent in JSON)"/>
         <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
         <comment value="Note that FHIR strings may not exceed 1MB in size"/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
      </element>
      <element id="Extension.value[x]:valueCodeableConcept.extension">
         <path value="Extension.valueCodeableConcept.extension"/>
         <slicing>
            <discriminator>
               <type value="value"/>
               <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
         </slicing>
         <short value="Additional Content defined by implementations"/>
         <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order 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."/>
         <comment 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."/>
         <alias value="extensions"/>
         <alias value="user content"/>
         <min value="0"/>
         <max value="*"/>
         <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="Extension"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
         </constraint>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.coding">
         <path value="Extension.valueCodeableConcept.coding"/>
         <short value="Code defined by a terminology system"/>
         <definition value="A reference to a code defined by a terminology system."/>
         <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
         <requirements value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="Coding"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
         <mapping>
            <identity value="v2"/>
            <map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CV"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding rdfs:subClassOf dt:CDCoding"/>
         </mapping>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
         </mapping>
      </element>
      <element id="Extension.value[x]:valueCodeableConcept.coding.id">
         <path value="Extension.valueCodeableConcept.coding.id"/>
         <representation value="xmlAttr"/>
         <short value="xml:id (or equivalent in JSON)"/>
         <definition value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
         <comment value="Note that FHIR strings may not exceed 1MB in size"/>
         <min value="0"/>
         <max value="1"/>
         <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
      </element>
      <element id="Extension.value[x]:valueCodeableConcept.coding.extension">
         <path value="Extension.valueCodeableConcept.coding.extension"/>
         <slicing>
            <discriminator>
               <type value="value"/>
               <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
         </slicing>
         <short value="Additional Content defined by implementations"/>
         <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order 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."/>
         <comment 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."/>
         <alias value="extensions"/>
         <alias value="user content"/>
         <min value="0"/>
         <max value="*"/>
         <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
         </base>
         <type>
            <code value="Extension"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
         </constraint>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
         </mapping>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.coding.system">
         <path value="Extension.valueCodeableConcept.coding.system"/>
         <short value="Identity of the terminology system"/>
         <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
         <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
         <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="uri"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
         </mapping>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.coding.version">
         <path value="Extension.valueCodeableConcept.coding.version"/>
         <short value="Version of the system - if relevant"/>
         <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
         <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
         </mapping>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.coding.code">
         <path value="Extension.valueCodeableConcept.coding.code"/>
         <short value="Symbol in syntax defined by the system"/>
         <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
         <comment value="Note that FHIR strings may not exceed 1MB in size"/>
         <requirements value="Need to refer to a particular code in the system."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="code"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./code"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
         </mapping>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.coding.display">
         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
         </extension>
         <path value="Extension.valueCodeableConcept.coding.display"/>
         <short value="Representation defined by the system"/>
         <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
         <comment value="Note that FHIR strings may not exceed 1MB in size"/>
         <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
         <min value="1"/>
         <max value="1"/>
         <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
         </mapping>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.coding.userSelected">
         <path value="Extension.valueCodeableConcept.coding.userSelected"/>
         <short value="If this coding was chosen directly by the user"/>
         <definition value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
         <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
         <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="boolean"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
         <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source "true";     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
         </mapping>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.text">
         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
         </extension>
         <path value="Extension.valueCodeableConcept.text"/>
         <short value="Plain text representation of the concept"/>
         <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
         <comment value="Very often the text is the same as a displayName of one of the codings."/>
         <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
         <min value="0"/>
         <max value="0"/>
         <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
         </base>
         <type>
            <code value="string"/>
         </type>
         <condition value="ele-1"/>
         <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression value="hasValue() | (children().count() > id.count())"/>
            <xpath value="@value|f:*|h:div"/>
         </constraint>
         <isSummary value="true"/>
         <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
         </mapping>
         <mapping>
            <identity value="v2"/>
            <map value="C*E.9. But note many systems use C*E.2 for this"/>
         </mapping>
         <mapping>
            <identity value="rim"/>
            <map value="./originalText[mediaType/code="text/plain"]/data"/>
         </mapping>
         <mapping>
            <identity value="orim"/>
            <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
         </mapping>
      </element>
   </snapshot>
   <differential>
      <element id="Extension">
         <path value="Extension"/>
         <short value="The type of event applicable to the Child Health event message"/>
         <definition value="The type of event applicable to the Child Health event message"/>
      </element>
      <element id="Extension.url">
         <path value="Extension.url"/>
         <fixedUri value="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-MessageEventType-1"/>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept">
         <path value="Extension.valueCodeableConcept"/>
         <sliceName value="valueCodeableConcept"/>
         <min value="1"/>
         <type>
            <code value="CodeableConcept"/>
         </type>
         <binding>
            <strength value="required"/>
            <description value="The type of event applicable to the message."/>
            <valueSetReference>
               <reference value="https://fhir.nhs.uk/STU3/ValueSet/MessageEventType-1"/>
            </valueSetReference>
         </binding>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.coding">
         <path value="Extension.valueCodeableConcept.coding"/>
         <min value="1"/>
         <max value="1"/>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.coding.system">
         <path value="Extension.valueCodeableConcept.coding.system"/>
         <min value="1"/>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.coding.version">
         <path value="Extension.valueCodeableConcept.coding.version"/>
         <max value="0"/>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.coding.code">
         <path value="Extension.valueCodeableConcept.coding.code"/>
         <min value="1"/>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.coding.display">
         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
         </extension>
         <path value="Extension.valueCodeableConcept.coding.display"/>
         <min value="1"/>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.coding.userSelected">
         <path value="Extension.valueCodeableConcept.coding.userSelected"/>
         <max value="0"/>
      </element>
      <element id="Extension.valueCodeableConcept:valueCodeableConcept.text">
         <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
         </extension>
         <path value="Extension.valueCodeableConcept.text"/>
         <max value="0"/>
      </element>
   </differential>
</StructureDefinition>