HL7 v2+ Specification
0.0.0 - draft

HL7 v2+ Specification, published by HL7 International. This guide is not an authorized publication; it is the continuous build for version 0.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2ig/ and changes regularly. See the Directory of published versions

Logical Model: CWE - XML Profile

Page standards status: Informative

XML representation of the CWE logical model.

Raw xml | Download


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="CWE"/>
  <meta>
    <profile
             value="http://hl7.org/v2/StructureDefinition/ComplexDataType-Profile"/>
  </meta>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition CWE</b></p><a name="CWE"> </a><a name="hcCWE"> </a><a name="CWE-en-US"> </a><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE" title="Definition: Specifies a coded element and its associated detail. The CWE data type is used when 1) more than one table may be applicable *or* 2) the specified HL7 or externally defined table may be extended with local values *or* 3) when text is in place, the code may be omitted.">CWE</a><a name="CWE"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-v2-complex-data-type.html">V2ComplexDataType</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">coded with exceptions<br/><span style="font-weight:bold">Instances of this logical model are not marked to be the target of a Reference</span><br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.1">1</a><a name="CWE.1"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Identifier</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.2">2</a><a name="CWE.2"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Text</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.3">3</a><a name="CWE.3"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ID.html">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Name of Coding System<br/><span style="font-weight:bold">Binding: </span><a href="http://terminology.hl7.org/6.0.2/ValueSet-v2-0396.html" title="http://terminology.hl7.org/ValueSet/v2-0396">hl7VS-codingSystem</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.4">4</a><a name="CWE.4"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Alternate Identifier</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.5">5</a><a name="CWE.5"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Alternate Text</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.6">6</a><a name="CWE.6"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ID.html">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Name of Alternate Coding System<br/><span style="font-weight:bold">Binding: </span><a href="http://terminology.hl7.org/6.0.2/ValueSet-v2-0396.html" title="http://terminology.hl7.org/ValueSet/v2-0396">hl7VS-codingSystem</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.7">7</a><a name="CWE.7"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Coding System Version ID</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.8">8</a><a name="CWE.8"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Alternate Coding System Version ID</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.9">9</a><a name="CWE.9"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Original Text</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.10">10</a><a name="CWE.10"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Second Alternate Identifier</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.11">11</a><a name="CWE.11"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Second Alternate Text</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.12">12</a><a name="CWE.12"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ID.html">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Name of Second Alternate Coding System<br/><span style="font-weight:bold">Binding: </span><a href="http://terminology.hl7.org/6.0.2/ValueSet-v2-0396.html" title="http://terminology.hl7.org/ValueSet/v2-0396">hl7VS-codingSystem</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.13">13</a><a name="CWE.13"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Second Alternate Coding System Version ID</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.14">14</a><a name="CWE.14"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Coding System OID</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.15">15</a><a name="CWE.15"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Value Set OID</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.16">16</a><a name="CWE.16"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-DTM.html">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Value Set Version ID</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.17">17</a><a name="CWE.17"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Alternate Coding System OID</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.18">18</a><a name="CWE.18"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Alternate Value Set OID</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.19">19</a><a name="CWE.19"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-DTM.html">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Alternate Value Set Version ID</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.20">20</a><a name="CWE.20"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Second Alternate Coding System OID</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.21">21</a><a name="CWE.21"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ST.html">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Second Alternate Value Set OID</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-CWE-definitions.html#CWE.22">22</a><a name="CWE.22"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-DTM.html">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Second Alternate Value Set Version ID</td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="informative">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://somewhere.org/fhir/uv/v2plus/ImplementationGuide/hl7.other.uv.v2plus"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/v2/StructureDefinition/CWE"/>
  <version value="0.0.0"/>
  <name value="CWE"/>
  <title value="HL7 v2 CWE Data Type"/>
  <status value="active"/>
  <date value="2024-10-31T15:11:23+00:00"/>
  <publisher value="HL7 International"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/Special/committees/v2mgmt"/>
    </telecom>
  </contact>
  <description
               value="As of v2.7 a third tuple, formerly known as triplet, has been added to the CWE data type. Additionally, 3 new components were added to each tuple such that each tuple now has a total of 7 components. The Original Text component applies to the CWE as a whole.

*Note:* The Vocabulary TC is the steward of the CWE data type.

The presence of two sets of equivalent codes in this data type is semantically different from a repetition of a CWE-type field. With repetition, several distinct codes (with distinct meanings) may be transmitted.

[#CWE_UsageNote .anchor]##*Usage Notes:* The CWE data type should be used for coded fields with one or more of the following characteristics:

• The identifier code (CWE.1) component is optional

• The set of allowable values from which the identifier code is drawn may be extended on a site-specific basis

• An exception identifier code may be encountered; that is, a code that is not defined in the value set (either model or site-extended).

This is in contrast to the CNE data type, which requires a code from a non-extendable value set be sent in the identifier code component (CNE.1) in all cases (except, of course, if the entire field is empty and defined as optional at the segment level).

The rules for populating CWE components are governed by the status of the identifier code:

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/REC-html40/loose.dtd&quot;&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tr&gt;
&lt;th&gt;*Identifier Code Status* &lt;/th&gt;
&lt;th&gt;*Identifier Code (CWE.1)* &lt;/th&gt;
&lt;th&gt;*Descriptive Text (CWE.2)* &lt;/th&gt;
&lt;th&gt;*Coding System (CWE.3)*&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Contained in model value set &lt;/td&gt;
&lt;td&gt;Populated &lt;/td&gt;
&lt;td&gt;May be populated &lt;/td&gt;
&lt;td&gt;Must be populated with model coding system, or (not recommended) site-specific coding system that is a superset containing model values.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Contained in site-specific extensions to model value set &lt;/td&gt;
&lt;td&gt;Populated &lt;/td&gt;
&lt;td&gt;May be populated &lt;/td&gt;
&lt;td&gt;Site-specific coding system.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Contained in neither model nor extended value sets &lt;/td&gt;
&lt;td&gt;Not populated &lt;/td&gt;
&lt;td&gt;May be populated with the identifier code, free-text description, or a concatenation of the two. Should be human interpretable. &lt;/td&gt;
&lt;td&gt;Must not be populated.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Not supplied; but descriptive text is supplied. &lt;/td&gt;
&lt;td&gt;Not populated &lt;/td&gt;
&lt;td&gt;May be populated with descriptive text. &lt;/td&gt;
&lt;td&gt;Must not be populated.&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;


As an example, consider “currency” codes where:

• The model values are defined by the ISO 4217 value set,

• The value set is extended on site to include the code HL7 – “HL7 Drink Ticket”, and

• The data entry screen on the sending system does not enforce any edits for the currency code.

And so the value set used on site is:

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/REC-html40/loose.dtd&quot;&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tr&gt;
&lt;th&gt;Identifier Code Status &lt;/th&gt;
&lt;th&gt;Identifier Code &lt;/th&gt;
&lt;th&gt;Descriptive Text&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Model values from ISO 4217 external table &lt;/td&gt;
&lt;td&gt;AED &lt;/td&gt;
&lt;td&gt;United Arab Emirates, Dirhams&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;AFA &lt;/td&gt;
&lt;td&gt;Afghanistan, Afghanis&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;ALL &lt;/td&gt;
&lt;td&gt;Albania, Leke&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;&amp;hellip; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;ZAR &lt;/td&gt;
&lt;td&gt;South Africa, Rand&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;ZMK &lt;/td&gt;
&lt;td&gt;Zambia, Kwacha&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;ZWD &lt;/td&gt;
&lt;td&gt;Zimbabwe, Zimbabwe Dollars&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Site-specific extension &lt;/td&gt;
&lt;td&gt;HL7 &lt;/td&gt;
&lt;td&gt;HL7 Events, Drink Ticket&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;


Collectively, this value set must be referred to with a local coding system ID, because “HL7” does not exist in ISO 4217. According to the rules, the site assigns the coding system ID “99CUR” to the value set.

Based on the code and descriptive text entered by the user on the sending system, the CWE would be populated as follows:

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/REC-html40/loose.dtd&quot;&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tr&gt;
&lt;th&gt;*Entered by user* &lt;/th&gt;
&lt;th&gt; &lt;/th&gt;
&lt;th&gt;*Sent in CWE* &lt;/th&gt;
&lt;th&gt; &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;*Code* &lt;/td&gt;
&lt;td&gt;*Descriptive Text* &lt;/td&gt;
&lt;td&gt;*Identifier Code (CWE.1)* &lt;/td&gt;
&lt;td&gt;*Descriptive Text (CWE.2)* &lt;/td&gt;
&lt;td&gt;*Coding System (CWE.3)*&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GBP &lt;/td&gt;
&lt;td&gt;Great Britain, Pound &lt;/td&gt;
&lt;td&gt;GBP &lt;/td&gt;
&lt;td&gt;Great Britain, Pound &lt;/td&gt;
&lt;td&gt;ISO4217&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;GBP &lt;/td&gt;
&lt;td&gt;Great Britain, Pound &lt;/td&gt;
&lt;td&gt;99CUR (This option is NOT recommended)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HL7 &lt;/td&gt;
&lt;td&gt;HL7 Drink Ticket &lt;/td&gt;
&lt;td&gt;HL7 &lt;/td&gt;
&lt;td&gt;HL7 Drink Ticket &lt;/td&gt;
&lt;td&gt;99CUR&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;XXX &lt;/td&gt;
&lt;td&gt;&amp;lt;Bogus entry&amp;gt; &lt;/td&gt;
&lt;td&gt;Must not be populated &lt;/td&gt;
&lt;td&gt;XXX &lt;/td&gt;
&lt;td&gt;Must not be populated.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;Must not be populated &lt;/td&gt;
&lt;td&gt;Bogus entry &lt;/td&gt;
&lt;td&gt;Must not be populated.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;Must not be populated &lt;/td&gt;
&lt;td&gt;XXX: Bogus entry &lt;/td&gt;
&lt;td&gt;Must not be populated.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;Must not be populated &lt;/td&gt;
&lt;td&gt;anything &amp;ndash; or nothing. &lt;/td&gt;
&lt;td&gt;Must not be populated.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;Dollar &lt;/td&gt;
&lt;td&gt;Must not be populated &lt;/td&gt;
&lt;td&gt;Dollar &lt;/td&gt;
&lt;td&gt;Must not be populated.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;Valued from HL7 Table 0353 (e.g., &amp;ldquo;U&amp;rdquo; for unknown) &lt;/td&gt;
&lt;td&gt;Dollar &lt;/td&gt;
&lt;td&gt;HL70353&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;


Notes:

{empty}1. Where multiple valid options for sending the entered data exist, each alternative is depicted as a separate row.

{empty}2. _CWE.2 - Descriptive Text_ is never required, and there are no hard and fast rules on what text may be sent in this component. Of course, common sense suggests that if valued, the text should complement the identifier code of _CWE.1_.

It follows that where _CWE.1_ cannot be valued because the entered code does not exist in the value set, the entered code _may_ be sent in _CWE.2_; with or without additional descriptive text. However, this is not required by HL7.

{empty}3. The example with GBP shows two options for the code set: ISO4217 or 99CUR. While it is now technically possible to send 99CUR on the basis that this code may exist on its own in the extended local code set, HL7 urges that where a code is a member of the standard code set, that code set should be named in _CWE.3_. HL7 intends to mandate this in a future release.

{empty}4. While there are no formal rules regarding the valuation of _CWE.2 - Descriptive Text_, it is expected that any value contained therein be meaningful to a human reader."/>
  <fhirVersion value="5.0.0"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type value="http://hl7.org/v2/StructureDefinition/CWE"/>
  <baseDefinition
                  value="http://hl7.org/v2/StructureDefinition/v2-complex-data-type"/>
  <derivation value="specialization"/>
  <snapshot>
    <element id="CWE">
      <path value="CWE"/>
      <short value="coded with exceptions"/>
      <definition
                  value="Definition: Specifies a coded element and its associated detail. The CWE data type is used when 1) more than one table may be applicable *or* 2) the specified HL7 or externally defined table may be extended with local values *or* 3) when text is in place, the code may be omitted."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="CWE.1">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="20"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.1"/>
      <short value="Identifier"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.1"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.2">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.2"/>
      <short value="Text"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.2"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.3">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension url="http://hl7.org/v2/StructureDefinition/v2-length">
        <extension url="min">
          <valueInteger value="1"/>
        </extension>
        <extension url="max">
          <valueInteger value="12"/>
        </extension>
      </extension>
      <path value="CWE.3"/>
      <short value="Name of Coding System"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.3"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ID"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v2-0396"/>
      </binding>
    </element>
    <element id="CWE.4">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="20"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.4"/>
      <short value="Alternate Identifier"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.4"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.5">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.5"/>
      <short value="Alternate Text"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.5"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.6">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension url="http://hl7.org/v2/StructureDefinition/v2-length">
        <extension url="min">
          <valueInteger value="1"/>
        </extension>
        <extension url="max">
          <valueInteger value="12"/>
        </extension>
      </extension>
      <path value="CWE.6"/>
      <short value="Name of Alternate Coding System"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.6"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ID"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v2-0396"/>
      </binding>
    </element>
    <element id="CWE.7">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="10"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.7"/>
      <short value="Coding System Version ID"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.7"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.8">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="10"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.8"/>
      <short value="Alternate Coding System Version ID"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.8"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.9">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.9"/>
      <short value="Original Text"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.9"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.10">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="20"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.10"/>
      <short value="Second Alternate Identifier"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.10"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.11">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.11"/>
      <short value="Second Alternate Text"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.11"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.12">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension url="http://hl7.org/v2/StructureDefinition/v2-length">
        <extension url="min">
          <valueInteger value="1"/>
        </extension>
        <extension url="max">
          <valueInteger value="12"/>
        </extension>
      </extension>
      <path value="CWE.12"/>
      <short value="Name of Second Alternate Coding System"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.12"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ID"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v2-0396"/>
      </binding>
    </element>
    <element id="CWE.13">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="10"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.13"/>
      <short value="Second Alternate Coding System Version ID"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.13"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.14">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.14"/>
      <short value="Coding System OID"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.14"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.15">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.15"/>
      <short value="Value Set OID"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.15"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.16">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="8"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.16"/>
      <short value="Value Set Version ID"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.16"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/DTM"/>
      </type>
    </element>
    <element id="CWE.17">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.17"/>
      <short value="Alternate Coding System OID"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.17"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.18">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.18"/>
      <short value="Alternate Value Set OID"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.18"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.19">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="8"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.19"/>
      <short value="Alternate Value Set Version ID"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.19"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/DTM"/>
      </type>
    </element>
    <element id="CWE.20">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.20"/>
      <short value="Second Alternate Coding System OID"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.20"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.21">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.21"/>
      <short value="Second Alternate Value Set OID"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.21"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.22">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="8"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.22"/>
      <short value="Second Alternate Value Set Version ID"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CWE.22"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/DTM"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="CWE">
      <path value="CWE"/>
      <short value="coded with exceptions"/>
      <definition
                  value="Definition: Specifies a coded element and its associated detail. The CWE data type is used when 1) more than one table may be applicable *or* 2) the specified HL7 or externally defined table may be extended with local values *or* 3) when text is in place, the code may be omitted."/>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element id="CWE.1">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="20"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.1"/>
      <short value="Identifier"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.2">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.2"/>
      <short value="Text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.3">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension url="http://hl7.org/v2/StructureDefinition/v2-length">
        <extension url="min">
          <valueInteger value="1"/>
        </extension>
        <extension url="max">
          <valueInteger value="12"/>
        </extension>
      </extension>
      <path value="CWE.3"/>
      <short value="Name of Coding System"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ID"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v2-0396"/>
      </binding>
    </element>
    <element id="CWE.4">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="20"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.4"/>
      <short value="Alternate Identifier"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.5">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.5"/>
      <short value="Alternate Text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.6">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension url="http://hl7.org/v2/StructureDefinition/v2-length">
        <extension url="min">
          <valueInteger value="1"/>
        </extension>
        <extension url="max">
          <valueInteger value="12"/>
        </extension>
      </extension>
      <path value="CWE.6"/>
      <short value="Name of Alternate Coding System"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ID"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v2-0396"/>
      </binding>
    </element>
    <element id="CWE.7">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="10"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.7"/>
      <short value="Coding System Version ID"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.8">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="10"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.8"/>
      <short value="Alternate Coding System Version ID"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.9">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.9"/>
      <short value="Original Text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.10">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="20"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.10"/>
      <short value="Second Alternate Identifier"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.11">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.11"/>
      <short value="Second Alternate Text"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.12">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension url="http://hl7.org/v2/StructureDefinition/v2-length">
        <extension url="min">
          <valueInteger value="1"/>
        </extension>
        <extension url="max">
          <valueInteger value="12"/>
        </extension>
      </extension>
      <path value="CWE.12"/>
      <short value="Name of Second Alternate Coding System"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ID"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v2-0396"/>
      </binding>
    </element>
    <element id="CWE.13">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="10"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.13"/>
      <short value="Second Alternate Coding System Version ID"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.14">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.14"/>
      <short value="Coding System OID"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.15">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.15"/>
      <short value="Value Set OID"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.16">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="8"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.16"/>
      <short value="Value Set Version ID"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/DTM"/>
      </type>
    </element>
    <element id="CWE.17">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.17"/>
      <short value="Alternate Coding System OID"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.18">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.18"/>
      <short value="Alternate Value Set OID"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.19">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="8"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.19"/>
      <short value="Alternate Value Set Version ID"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/DTM"/>
      </type>
    </element>
    <element id="CWE.20">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.20"/>
      <short value="Second Alternate Coding System OID"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.21">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="O"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="199"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.21"/>
      <short value="Second Alternate Value Set OID"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="CWE.22">
      <extension url="http://hl7.org/v2/StructureDefinition/v2-optionality">
        <valueCode value="C"/>
      </extension>
      <extension
                 url="http://hl7.org/v2/StructureDefinition/v2-conformance-length">
        <extension url="length">
          <valueInteger value="8"/>
        </extension>
        <extension url="noTruncate">
          <valueBoolean value="true"/>
        </extension>
      </extension>
      <path value="CWE.22"/>
      <short value="Second Alternate Value Set Version ID"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/v2/StructureDefinition/DTM"/>
      </type>
    </element>
  </differential>
</StructureDefinition>