Consolidated CDA (C-CDA)
3.0.0 - STU3 United States of America flag

This page is part of the CCDA: Consolidated CDA Release (v3.0.0: CCDA 3.0) generated with FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

Logical Model: USRealmAddress - XML Profile

Draft as of 2024-05-18

XML representation of the USRealmAddress logical model.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="USRealmAddress"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="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 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-USRealmAddress-definitions.html#AD">AD</a><a name="AD"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints (shall-city, shall-streetAddressLine, should-use, should-country, 81-7296, 81-10024, 81-10025, shall-max-ad-parts)">C</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-AD.html">AD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">XML Namespace: </span>urn:hl7-org:v3<br/>Elements defined in Ancestors:<a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-ANY.html" title="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.">@nullFlavor</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-AD.html" title="A boolean value specifying whether the order of the address parts is known or not. While the address parts are always a Sequence, the order in which they are presented may or may not be known. Where this matters, the isNotOrdered property can be used to convey this information.">@isNotOrdered</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-AD.html" title="A set of codes advising a system or user which address in a set of like addresses to select for a given purpose.">@use</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-AD.html" title="A series of items that constitute the address.">item</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-AD.html" title="A General Timing Specification (GTS) specifying the periods of time during which the address can be used. This is used to specify different addresses for different times of the week or year.">useablePeriod</a><br/><span style="opacity: 0.5">Base for all types and resources</span><br/><span style="font-weight:bold" title="The root class that contains instances of this class">Logical Container: </span><a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-ClinicalDocument.html">ClinicalDocument (CDA Class)</a><br/><span style="font-weight:bold">shall-city: </span>SHALL contain exactly one [1..1] city (CONF:81-7292).<br/><span style="font-weight:bold">shall-streetAddressLine: </span>SHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291).<br/><span style="font-weight:bold">should-use: </span>SHOULD contain @use<br/><span style="font-weight:bold">should-country: </span>SHOULD contain country<br/><span style="font-weight:bold">81-7296: </span>**SHALL NOT** have mixed content except for white space (CONF:81-7296)<br/><span style="font-weight:bold">81-10024: </span>If the country is US, the state element is required and SHALL be selected from ValueSet StateValueSet but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024).<br/><span style="font-weight:bold">81-10025: </span>If the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025).<br/><span style="font-weight:bold">shall-max-ad-parts: </span>SHALL have at most one of each: state, city, postalCode, and country</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_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-USRealmAddress-definitions.html#AD.nullFlavor">@nullFlavor</a><a name="AD.nullFlavor"> </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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">If addr/@nullFlavor is present, none of the address parts are required.</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_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-USRealmAddress-definitions.html#AD.use">@use</a><a name="AD.use"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Identifies which address to use for a given purpose.</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_bck11.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_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-USRealmAddress-definitions.html#AD.item">item</a><a name="AD.item"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<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_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.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-USRealmAddress-definitions.html#AD.item.country">country</a><a name="AD.item.country"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-ADXP.html">ADXP</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="http://terminology.hl7.org/5.5.0/ValueSet-v3-Country2.html" title="http://terminology.hl7.org/ValueSet/v3-Country2">Country2</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_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-USRealmAddress-definitions.html#AD.item.state">state</a><a name="AD.item.state"> </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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-ADXP.html">ADXP</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="http://hl7.org/fhir/R5/terminologies.html#unbound">(unbound)</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value set.  The value set merely provides examples of the types of concepts intended to be included.">example</a>): If country is something other than US, the state MAY be present but MAY be bound to different vocabularies<br/><br/><table class="grid"><tr><td style="font-size: 11px"><b>Additional Bindings</b></td><td style="font-size: 11px">Purpose</td><td style="font-size: 11px">Documentation</td></tr><tr><td style="font-size: 11px"><a href="http://hl7.org/fhir/us/core/2024Jan/ValueSet-us-core-usps-state.html" title="http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state">USPS Two Letter Alphabetic Codes</a></td><td style="font-size: 11px"><a href="http://hl7.org/fhir/R5/valueset-additional-binding-purpose.html#additional-binding-purpose-required" title="Validators will check this binding (strength = required)">Required Binding</a></td><td style="font-size: 11px"><div>For US Addresses</div></td></tr></table></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_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.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-USRealmAddress-definitions.html#AD.item.city">city</a><a name="AD.item.city"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-ADXP.html">ADXP</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">city is required if nullFlavor is absent</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_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-USRealmAddress-definitions.html#AD.item.postalCode">postalCode</a><a name="AD.item.postalCode"> </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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-ADXP.html">ADXP</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">If country is US, shall be a 5-digit or 9-digit zip code (##### or #####-####)</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_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-USRealmAddress-definitions.html#AD.item.streetAddressLine">streetAddressLine</a><a name="AD.item.streetAddressLine"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-ADXP.html">ADXP</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Min: 1, Max: 4 streetAddressLine required if nullFlavor is absent</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_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_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-USRealmAddress-definitions.html#AD.useablePeriod">useablePeriod</a><a name="AD.useablePeriod"> </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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-IVL-TS.html">IVL_TS</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EIVL-TS.html">EIVL_TS</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-PIVL-TS.html">PIVL_TS</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SXPR-TS.html">SXPR_TS</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">(USCDI) Previous Address - Current or prior place where a person may have been located or could have been contacted.</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/tools/StructureDefinition/logical-target">
    <valueBoolean>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
        <valueCode value="not-applicable"/>
      </extension>
    </valueBoolean>
  </extension>
  <extension
             url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
    <valueUri value="urn:hl7-org:v3"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/tools/StructureDefinition/logical-container">
    <valueUri
              value="http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"/>
  </extension>
  <url value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
  <identifier>
    <value value="urn:oid:2.16.840.1.113883.10.20.22.5.2"/>
  </identifier>
  <version value="3.0.0"/>
  <name value="USRealmAddress"/>
  <title value="US Realm Address"/>
  <status value="draft"/>
  <date value="2024-05-18T00:42:57-05:00"/>
  <publisher value="Health Level Seven"/>
  <contact>
    <name value="HL7 International - Structured Documents"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/structure"/>
    </telecom>
  </contact>
  <description
               value="Reusable address template, for use in US Realm documents. 

Certifying systems SHALL and non-certifying systems SHOULD follow the Project US@ Technical Specification for Patient Addresses Final Version 1.0 as the standard style guide for Street Address Line and  City for new and updated records.

For certifying systems, this requirement does not apply to historical records/documents that are exposed through C-CDA documents."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
    </coding>
  </jurisdiction>
  <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/cda/stds/core/StructureDefinition/AD"/>
  <baseDefinition
                  value="http://hl7.org/cda/stds/core/StructureDefinition/AD"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="AD">
      <path value="AD"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Mailing and home or office addresses. A sequence of address parts, such as street or post office Box, city, postal code, country, etc."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="shall-city"/>
        <severity value="error"/>
        <human value="SHALL contain exactly one [1..1] city (CONF:81-7292)."/>
        <expression value="nullFlavor.exists() or item.city.count() = 1"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="shall-streetAddressLine"/>
        <severity value="error"/>
        <human
               value="SHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291)."/>
        <expression
                    value="nullFlavor.exists() or (item.streetAddressLine.count() &gt;= 1 and item.streetAddressLine.count() &lt;= 4)"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="should-use"/>
        <severity value="warning"/>
        <human value="SHOULD contain @use"/>
        <expression value="nullFlavor.exists() or use.exists()"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="should-country"/>
        <severity value="warning"/>
        <human value="SHOULD contain country"/>
        <expression value="nullFlavor.exists() or item.country.exists()"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="81-7296"/>
        <severity value="error"/>
        <human
               value="**SHALL NOT** have mixed content except for white space (CONF:81-7296)"/>
        <expression value="item.xmlText.empty()"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="81-10024"/>
        <severity value="error"/>
        <human
               value="If the country is US, the state element is required and SHALL be selected from ValueSet StateValueSet but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024)."/>
        <expression
                    value="nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.state.exists(nullFlavor.exists() or xmlText.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state'))"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="81-10025"/>
        <severity value="error"/>
        <human
               value="If the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025)."/>
        <expression
                    value="nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.postalCode.exists(nullFlavor.exists() or xmlText.matches('[0-9]{5}(-[0-9]{4})?'))"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="shall-max-ad-parts"/>
        <severity value="error"/>
        <human
               value="SHALL have at most one of each: state, city, postalCode, and country"/>
        <expression
                    value="(item.state.empty() or item.state.count() = 1) and (item.city.empty() or item.city.count() = 1) and (item.postalCode.empty() or item.postalCode.count() = 1) and (item.country.empty() or item.country.count() = 1)"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="AD.nullFlavor">
      <path value="AD.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <short
             value="If addr/@nullFlavor is present, none of the address parts are required."/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.isNotOrdered">
      <path value="AD.isNotOrdered"/>
      <representation value="xmlAttr"/>
      <label value="Is Not Ordered"/>
      <definition
                  value="A boolean value specifying whether the order of the address parts is known or not. While the address parts are always a Sequence, the order in which they are presented may or may not be known. Where this matters, the isNotOrdered property can be used to convey this information."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.isNotOrdered"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
    </element>
    <element id="AD.use">
      <path value="AD.use"/>
      <representation value="xmlAttr"/>
      <label value="Use Code"/>
      <short value="Identifies which address to use for a given purpose."/>
      <definition
                  value="A set of codes advising a system or user which address in a set of like addresses to select for a given purpose."/>
      <comment
               value="Historically this was bound to ValueSet PostalAddressUse urn:oid:2.16.840.1.113883.1.11.10637 STATIC 2005-05-01, but this contained 'CONF' which is not allowed by CDA. So the binding has been removed in the current version of C-CDA."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.use"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDAPostalAddressUse"/>
      </binding>
    </element>
    <element id="AD.item">
      <extension
                 url="http://hl7.org/fhir/tools/StructureDefinition/xml-choice-group">
        <valueBoolean value="true"/>
      </extension>
      <path value="AD.item"/>
      <definition value="A series of items that constitute the address."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.item"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/StructureDefinition/Base"/>
      </type>
      <constraint>
        <key value="AD-1"/>
        <severity value="error"/>
        <human
               value="Can only have only one of the possible item elements in each choice"/>
        <expression
                    value="(delimiter | country | state | county | city | postalCode | streetAddressLine | houseNumber | houseNumberNumeric | direction | streetName | streetNameBase | streetNameType | additionalLocator | unitID | unitType | careOf | censusTract | deliveryAddressLine | deliveryInstallationType | deliveryInstallationArea | deliveryInstallationQualifier | deliveryMode | deliveryModeIdentifier | buildingNumberSuffix | postBox | precinct | xmlText).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/AD"/>
      </constraint>
    </element>
    <element id="AD.item.delimiter">
      <path value="AD.item.delimiter"/>
      <definition
                  value="Delimiters are printed without framing white space. If no value component is provided, the delimiter appears as a line break."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.delimiter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.delimiter.nullFlavor">
      <path value="AD.item.delimiter.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.delimiter.representation">
      <path value="AD.item.delimiter.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.delimiter.mediaType">
      <path value="AD.item.delimiter.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.delimiter.language">
      <path value="AD.item.delimiter.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.delimiter.xmlText">
      <path value="AD.item.delimiter.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.delimiter.partType">
      <path value="AD.item.delimiter.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="DEL"/>
    </element>
    <element id="AD.item.country">
      <path value="AD.item.country"/>
      <definition value="Country"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.country"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.country.nullFlavor">
      <path value="AD.item.country.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.country.representation">
      <path value="AD.item.country.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.country.mediaType">
      <path value="AD.item.country.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.country.language">
      <path value="AD.item.country.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.country.xmlText">
      <path value="AD.item.country.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.country.partType">
      <path value="AD.item.country.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="CNT"/>
    </element>
    <element id="AD.item.state">
      <path value="AD.item.state"/>
      <definition
                  value="A sub-unit of a country with limited sovereignty in a federally organized country."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.state"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.state.nullFlavor">
      <path value="AD.item.state.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.state.representation">
      <path value="AD.item.state.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.state.mediaType">
      <path value="AD.item.state.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.state.language">
      <path value="AD.item.state.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.state.xmlText">
      <path value="AD.item.state.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.state.partType">
      <path value="AD.item.state.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="STA"/>
    </element>
    <element id="AD.item.county">
      <path value="AD.item.county"/>
      <definition
                  value="A sub-unit of a state or province. (49 of the United States of America use the term &quot;county;&quot; Louisiana uses the term &quot;parish&quot;.)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.county"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.county.nullFlavor">
      <path value="AD.item.county.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.county.representation">
      <path value="AD.item.county.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.county.mediaType">
      <path value="AD.item.county.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.county.language">
      <path value="AD.item.county.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.county.xmlText">
      <path value="AD.item.county.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.county.partType">
      <path value="AD.item.county.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="CPA"/>
    </element>
    <element id="AD.item.city">
      <path value="AD.item.city"/>
      <short value="city is required if nullFlavor is absent"/>
      <definition
                  value="The name of the city, town, village, or other community or delivery center"/>
      <comment value="SHALL contain exactly one [1..1] city (CONF:81-7292)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.city"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.city.nullFlavor">
      <path value="AD.item.city.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.city.representation">
      <path value="AD.item.city.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.city.mediaType">
      <path value="AD.item.city.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.city.language">
      <path value="AD.item.city.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.city.xmlText">
      <path value="AD.item.city.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.city.partType">
      <path value="AD.item.city.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="CTY"/>
    </element>
    <element id="AD.item.postalCode">
      <path value="AD.item.postalCode"/>
      <short
             value="If country is US, shall be a 5-digit or 9-digit zip code (##### or #####-####)"/>
      <definition
                  value="A postal code designating a region defined by the postal service."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.postalCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.postalCode.nullFlavor">
      <path value="AD.item.postalCode.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.postalCode.representation">
      <path value="AD.item.postalCode.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.postalCode.mediaType">
      <path value="AD.item.postalCode.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.postalCode.language">
      <path value="AD.item.postalCode.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.postalCode.xmlText">
      <path value="AD.item.postalCode.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.postalCode.partType">
      <path value="AD.item.postalCode.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="ZIP"/>
    </element>
    <element id="AD.item.streetAddressLine">
      <path value="AD.item.streetAddressLine"/>
      <short
             value="Min: 1, Max: 4 streetAddressLine required if nullFlavor is absent"/>
      <definition value="Street address line"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.streetAddressLine"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.streetAddressLine.nullFlavor">
      <path value="AD.item.streetAddressLine.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.streetAddressLine.representation">
      <path value="AD.item.streetAddressLine.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.streetAddressLine.mediaType">
      <path value="AD.item.streetAddressLine.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.streetAddressLine.language">
      <path value="AD.item.streetAddressLine.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.streetAddressLine.xmlText">
      <path value="AD.item.streetAddressLine.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.streetAddressLine.partType">
      <path value="AD.item.streetAddressLine.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="SAL"/>
    </element>
    <element id="AD.item.houseNumber">
      <path value="AD.item.houseNumber"/>
      <definition
                  value="The number of a building, house or lot alongside the street. Also known as &quot;primary street number&quot;. This does not number the street but rather the building."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.houseNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.houseNumber.nullFlavor">
      <path value="AD.item.houseNumber.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.houseNumber.representation">
      <path value="AD.item.houseNumber.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.houseNumber.mediaType">
      <path value="AD.item.houseNumber.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.houseNumber.language">
      <path value="AD.item.houseNumber.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.houseNumber.xmlText">
      <path value="AD.item.houseNumber.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.houseNumber.partType">
      <path value="AD.item.houseNumber.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="BNR"/>
    </element>
    <element id="AD.item.houseNumberNumeric">
      <path value="AD.item.houseNumberNumeric"/>
      <definition value="The numeric portion of a building number"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.houseNumberNumeric"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.houseNumberNumeric.nullFlavor">
      <path value="AD.item.houseNumberNumeric.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.houseNumberNumeric.representation">
      <path value="AD.item.houseNumberNumeric.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.houseNumberNumeric.mediaType">
      <path value="AD.item.houseNumberNumeric.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.houseNumberNumeric.language">
      <path value="AD.item.houseNumberNumeric.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.houseNumberNumeric.xmlText">
      <path value="AD.item.houseNumberNumeric.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.houseNumberNumeric.partType">
      <path value="AD.item.houseNumberNumeric.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="BNN"/>
    </element>
    <element id="AD.item.direction">
      <path value="AD.item.direction"/>
      <definition value="Direction (e.g., N, S, W, E)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.direction"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.direction.nullFlavor">
      <path value="AD.item.direction.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.direction.representation">
      <path value="AD.item.direction.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.direction.mediaType">
      <path value="AD.item.direction.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.direction.language">
      <path value="AD.item.direction.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.direction.xmlText">
      <path value="AD.item.direction.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.direction.partType">
      <path value="AD.item.direction.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="DIR"/>
    </element>
    <element id="AD.item.streetName">
      <path value="AD.item.streetName"/>
      <definition
                  value="Name of a roadway or artery recognized by a municipality (including street type and direction)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.streetName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.streetName.nullFlavor">
      <path value="AD.item.streetName.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.streetName.representation">
      <path value="AD.item.streetName.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.streetName.mediaType">
      <path value="AD.item.streetName.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.streetName.language">
      <path value="AD.item.streetName.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.streetName.xmlText">
      <path value="AD.item.streetName.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.streetName.partType">
      <path value="AD.item.streetName.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="STR"/>
    </element>
    <element id="AD.item.streetNameBase">
      <path value="AD.item.streetNameBase"/>
      <definition
                  value="The base name of a roadway or artery recognized by a municipality (excluding street type and direction)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.streetNameBase"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.streetNameBase.nullFlavor">
      <path value="AD.item.streetNameBase.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.streetNameBase.representation">
      <path value="AD.item.streetNameBase.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.streetNameBase.mediaType">
      <path value="AD.item.streetNameBase.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.streetNameBase.language">
      <path value="AD.item.streetNameBase.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.streetNameBase.xmlText">
      <path value="AD.item.streetNameBase.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.streetNameBase.partType">
      <path value="AD.item.streetNameBase.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="STB"/>
    </element>
    <element id="AD.item.streetNameType">
      <path value="AD.item.streetNameType"/>
      <definition
                  value="The designation given to the street. (e.g. Street, Avenue, Crescent, etc.)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.streetNameType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.streetNameType.nullFlavor">
      <path value="AD.item.streetNameType.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.streetNameType.representation">
      <path value="AD.item.streetNameType.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.streetNameType.mediaType">
      <path value="AD.item.streetNameType.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.streetNameType.language">
      <path value="AD.item.streetNameType.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.streetNameType.xmlText">
      <path value="AD.item.streetNameType.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.streetNameType.partType">
      <path value="AD.item.streetNameType.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="STTYP"/>
    </element>
    <element id="AD.item.additionalLocator">
      <path value="AD.item.additionalLocator"/>
      <definition
                  value="This can be a unit designator, such as apartment number, suite number, or floor. There may be several unit designators in an address (e.g., &quot;3rd floor, Appt. 342&quot;). This can also be a designator pointing away from the location, rather than specifying a smaller location within some larger one (e.g., Dutch &quot;t.o.&quot; means &quot;opposite to&quot; for house boats located across the street facing houses)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.additionalLocator"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.additionalLocator.nullFlavor">
      <path value="AD.item.additionalLocator.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.additionalLocator.representation">
      <path value="AD.item.additionalLocator.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.additionalLocator.mediaType">
      <path value="AD.item.additionalLocator.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.additionalLocator.language">
      <path value="AD.item.additionalLocator.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.additionalLocator.xmlText">
      <path value="AD.item.additionalLocator.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.additionalLocator.partType">
      <path value="AD.item.additionalLocator.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="ADL"/>
    </element>
    <element id="AD.item.unitID">
      <path value="AD.item.unitID"/>
      <definition
                  value="The number or name of a specific unit contained within a building or complex, as assigned by that building or complex."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.unitID"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.unitID.nullFlavor">
      <path value="AD.item.unitID.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.unitID.representation">
      <path value="AD.item.unitID.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.unitID.mediaType">
      <path value="AD.item.unitID.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.unitID.language">
      <path value="AD.item.unitID.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.unitID.xmlText">
      <path value="AD.item.unitID.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.unitID.partType">
      <path value="AD.item.unitID.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="UNID"/>
    </element>
    <element id="AD.item.unitType">
      <path value="AD.item.unitType"/>
      <definition
                  value="Indicates the type of specific unit contained within a building or complex. E.g. Appartment, Floor"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.unitType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.unitType.nullFlavor">
      <path value="AD.item.unitType.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.unitType.representation">
      <path value="AD.item.unitType.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.unitType.mediaType">
      <path value="AD.item.unitType.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.unitType.language">
      <path value="AD.item.unitType.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.unitType.xmlText">
      <path value="AD.item.unitType.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.unitType.partType">
      <path value="AD.item.unitType.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="UNIT"/>
    </element>
    <element id="AD.item.careOf">
      <path value="AD.item.careOf"/>
      <definition
                  value="The name of the party who will take receipt at the specified address, and will take on responsibility for ensuring delivery to the target recipient"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.careOf"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.careOf.nullFlavor">
      <path value="AD.item.careOf.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.careOf.representation">
      <path value="AD.item.careOf.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.careOf.mediaType">
      <path value="AD.item.careOf.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.careOf.language">
      <path value="AD.item.careOf.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.careOf.xmlText">
      <path value="AD.item.careOf.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.careOf.partType">
      <path value="AD.item.careOf.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="CAR"/>
    </element>
    <element id="AD.item.censusTract">
      <path value="AD.item.censusTract"/>
      <definition
                  value="A geographic sub-unit delineated for demographic purposes."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.censusTract"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.censusTract.nullFlavor">
      <path value="AD.item.censusTract.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.censusTract.representation">
      <path value="AD.item.censusTract.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.censusTract.mediaType">
      <path value="AD.item.censusTract.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.censusTract.language">
      <path value="AD.item.censusTract.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.censusTract.xmlText">
      <path value="AD.item.censusTract.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.censusTract.partType">
      <path value="AD.item.censusTract.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="CEN"/>
    </element>
    <element id="AD.item.deliveryAddressLine">
      <path value="AD.item.deliveryAddressLine"/>
      <definition
                  value="A delivery address line is frequently used instead of breaking out delivery mode, delivery installation, etc. An address generally has only a delivery address line or a street address line, but not both."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.deliveryAddressLine"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.deliveryAddressLine.nullFlavor">
      <path value="AD.item.deliveryAddressLine.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.deliveryAddressLine.representation">
      <path value="AD.item.deliveryAddressLine.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.deliveryAddressLine.mediaType">
      <path value="AD.item.deliveryAddressLine.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.deliveryAddressLine.language">
      <path value="AD.item.deliveryAddressLine.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.deliveryAddressLine.xmlText">
      <path value="AD.item.deliveryAddressLine.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.deliveryAddressLine.partType">
      <path value="AD.item.deliveryAddressLine.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="DAL"/>
    </element>
    <element id="AD.item.deliveryInstallationType">
      <path value="AD.item.deliveryInstallationType"/>
      <definition
                  value="Indicates the type of delivery installation (the facility to which the mail will be delivered prior to final shipping via the delivery mode.) Example: post office, letter carrier depot, community mail center, station, etc."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.deliveryInstallationType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.deliveryInstallationType.nullFlavor">
      <path value="AD.item.deliveryInstallationType.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.deliveryInstallationType.representation">
      <path value="AD.item.deliveryInstallationType.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.deliveryInstallationType.mediaType">
      <path value="AD.item.deliveryInstallationType.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.deliveryInstallationType.language">
      <path value="AD.item.deliveryInstallationType.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.deliveryInstallationType.xmlText">
      <path value="AD.item.deliveryInstallationType.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.deliveryInstallationType.partType">
      <path value="AD.item.deliveryInstallationType.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="DINST"/>
    </element>
    <element id="AD.item.deliveryInstallationArea">
      <path value="AD.item.deliveryInstallationArea"/>
      <definition
                  value="The location of the delivery installation, usually a town or city, and is only required if the area is different from the municipality. Area to which mail delivery service is provided from any postal facility or service such as an individual letter carrier, rural route, or postal route."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.deliveryInstallationArea"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.deliveryInstallationArea.nullFlavor">
      <path value="AD.item.deliveryInstallationArea.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.deliveryInstallationArea.representation">
      <path value="AD.item.deliveryInstallationArea.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.deliveryInstallationArea.mediaType">
      <path value="AD.item.deliveryInstallationArea.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.deliveryInstallationArea.language">
      <path value="AD.item.deliveryInstallationArea.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.deliveryInstallationArea.xmlText">
      <path value="AD.item.deliveryInstallationArea.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.deliveryInstallationArea.partType">
      <path value="AD.item.deliveryInstallationArea.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="DINSTA"/>
    </element>
    <element id="AD.item.deliveryInstallationQualifier">
      <path value="AD.item.deliveryInstallationQualifier"/>
      <definition
                  value="A number, letter or name identifying a delivery installation. E.g., for Station A, the delivery installation qualifier would be 'A'."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.deliveryInstallationQualifier"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.deliveryInstallationQualifier.nullFlavor">
      <path value="AD.item.deliveryInstallationQualifier.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.deliveryInstallationQualifier.representation">
      <path value="AD.item.deliveryInstallationQualifier.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.deliveryInstallationQualifier.mediaType">
      <path value="AD.item.deliveryInstallationQualifier.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.deliveryInstallationQualifier.language">
      <path value="AD.item.deliveryInstallationQualifier.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.deliveryInstallationQualifier.xmlText">
      <path value="AD.item.deliveryInstallationQualifier.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.deliveryInstallationQualifier.partType">
      <path value="AD.item.deliveryInstallationQualifier.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="DINSTQ"/>
    </element>
    <element id="AD.item.deliveryMode">
      <path value="AD.item.deliveryMode"/>
      <definition
                  value="Indicates the type of service offered, method of delivery. For example: post office box, rural route, general delivery, etc."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.deliveryMode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.deliveryMode.nullFlavor">
      <path value="AD.item.deliveryMode.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.deliveryMode.representation">
      <path value="AD.item.deliveryMode.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.deliveryMode.mediaType">
      <path value="AD.item.deliveryMode.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.deliveryMode.language">
      <path value="AD.item.deliveryMode.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.deliveryMode.xmlText">
      <path value="AD.item.deliveryMode.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.deliveryMode.partType">
      <path value="AD.item.deliveryMode.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="DMOD"/>
    </element>
    <element id="AD.item.deliveryModeIdentifier">
      <path value="AD.item.deliveryModeIdentifier"/>
      <definition
                  value="Represents the routing information such as a letter carrier route number. It is the identifying number of the designator (the box number or rural route number)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.deliveryModeIdentifier"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.deliveryModeIdentifier.nullFlavor">
      <path value="AD.item.deliveryModeIdentifier.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.deliveryModeIdentifier.representation">
      <path value="AD.item.deliveryModeIdentifier.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.deliveryModeIdentifier.mediaType">
      <path value="AD.item.deliveryModeIdentifier.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.deliveryModeIdentifier.language">
      <path value="AD.item.deliveryModeIdentifier.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.deliveryModeIdentifier.xmlText">
      <path value="AD.item.deliveryModeIdentifier.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.deliveryModeIdentifier.partType">
      <path value="AD.item.deliveryModeIdentifier.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="DMODID"/>
    </element>
    <element id="AD.item.buildingNumberSuffix">
      <path value="AD.item.buildingNumberSuffix"/>
      <definition
                  value="Any alphabetic character, fraction or other text that may appear after the numeric portion of a building number"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.buildingNumberSuffix"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.buildingNumberSuffix.nullFlavor">
      <path value="AD.item.buildingNumberSuffix.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.buildingNumberSuffix.representation">
      <path value="AD.item.buildingNumberSuffix.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.buildingNumberSuffix.mediaType">
      <path value="AD.item.buildingNumberSuffix.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.buildingNumberSuffix.language">
      <path value="AD.item.buildingNumberSuffix.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.buildingNumberSuffix.xmlText">
      <path value="AD.item.buildingNumberSuffix.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.buildingNumberSuffix.partType">
      <path value="AD.item.buildingNumberSuffix.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="BNS"/>
    </element>
    <element id="AD.item.postBox">
      <path value="AD.item.postBox"/>
      <definition value="A numbered box located in a post station."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.postBox"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.postBox.nullFlavor">
      <path value="AD.item.postBox.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.postBox.representation">
      <path value="AD.item.postBox.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.postBox.mediaType">
      <path value="AD.item.postBox.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.postBox.language">
      <path value="AD.item.postBox.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.postBox.xmlText">
      <path value="AD.item.postBox.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.postBox.partType">
      <path value="AD.item.postBox.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="POB"/>
    </element>
    <element id="AD.item.precinct">
      <path value="AD.item.precinct"/>
      <definition value="A subsection of a municipality"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.precinct"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
      <constraint>
        <key value="text-null"/>
        <severity value="error"/>
        <human
               value="xmlText and nullFlavor are mutually exclusive (one must be present)"/>
        <expression value="(xmlText | nullFlavor).count() = 1"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </constraint>
    </element>
    <element id="AD.item.precinct.nullFlavor">
      <path value="AD.item.precinct.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
      </binding>
    </element>
    <element id="AD.item.precinct.representation">
      <path value="AD.item.precinct.representation"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies the representation of the binary data that is the content of the binary data value"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="TXT"/>
    </element>
    <element id="AD.item.precinct.mediaType">
      <path value="AD.item.precinct.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="text/plain"/>
    </element>
    <element id="AD.item.precinct.language">
      <path value="AD.item.precinct.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="AD.item.precinct.xmlText">
      <path value="AD.item.precinct.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ST.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.item.precinct.partType">
      <path value="AD.item.precinct.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ADXP.partType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="PRE"/>
    </element>
    <element id="AD.item.xmlText">
      <path value="AD.item.xmlText"/>
      <representation value="xmlText"/>
      <short value="Allows for mixed text content"/>
      <comment
               value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.item.xmlText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="AD.useablePeriod">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueCanonical
                        value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement">
        <valueBoolean value="true"/>
      </extension>
      <path value="AD.useablePeriod"/>
      <representation value="typeAttr"/>
      <label value="Useable Period"/>
      <short
             value="(USCDI) Previous Address - Current or prior place where a person may have been located or could have been contacted."/>
      <definition
                  value="A General Timing Specification (GTS) specifying the periods of time during which the address can be used. This is used to specify different addresses for different times of the week or year."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.useablePeriod"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="AD">
      <path value="AD"/>
      <constraint>
        <key value="shall-city"/>
        <severity value="error"/>
        <human value="SHALL contain exactly one [1..1] city (CONF:81-7292)."/>
        <expression value="nullFlavor.exists() or item.city.count() = 1"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="shall-streetAddressLine"/>
        <severity value="error"/>
        <human
               value="SHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291)."/>
        <expression
                    value="nullFlavor.exists() or (item.streetAddressLine.count() &gt;= 1 and item.streetAddressLine.count() &lt;= 4)"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="should-use"/>
        <severity value="warning"/>
        <human value="SHOULD contain @use"/>
        <expression value="nullFlavor.exists() or use.exists()"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="should-country"/>
        <severity value="warning"/>
        <human value="SHOULD contain country"/>
        <expression value="nullFlavor.exists() or item.country.exists()"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="81-7296"/>
        <severity value="error"/>
        <human
               value="**SHALL NOT** have mixed content except for white space (CONF:81-7296)"/>
        <expression value="item.xmlText.empty()"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="81-10024"/>
        <severity value="error"/>
        <human
               value="If the country is US, the state element is required and SHALL be selected from ValueSet StateValueSet but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024)."/>
        <expression
                    value="nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.state.exists(nullFlavor.exists() or xmlText.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state'))"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="81-10025"/>
        <severity value="error"/>
        <human
               value="If the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025)."/>
        <expression
                    value="nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.postalCode.exists(nullFlavor.exists() or xmlText.matches('[0-9]{5}(-[0-9]{4})?'))"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
      <constraint>
        <key value="shall-max-ad-parts"/>
        <severity value="error"/>
        <human
               value="SHALL have at most one of each: state, city, postalCode, and country"/>
        <expression
                    value="(item.state.empty() or item.state.count() = 1) and (item.city.empty() or item.city.count() = 1) and (item.postalCode.empty() or item.postalCode.count() = 1) and (item.country.empty() or item.country.count() = 1)"/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress"/>
      </constraint>
    </element>
    <element id="AD.nullFlavor">
      <path value="AD.nullFlavor"/>
      <short
             value="If addr/@nullFlavor is present, none of the address parts are required."/>
    </element>
    <element id="AD.use">
      <path value="AD.use"/>
      <short value="Identifies which address to use for a given purpose."/>
      <comment
               value="Historically this was bound to ValueSet PostalAddressUse urn:oid:2.16.840.1.113883.1.11.10637 STATIC 2005-05-01, but this contained 'CONF' which is not allowed by CDA. So the binding has been removed in the current version of C-CDA."/>
    </element>
    <element id="AD.item.country">
      <path value="AD.item.country"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-Country2"/>
      </binding>
    </element>
    <element id="AD.item.state">
      <path value="AD.item.state"/>
      <binding>
        <strength value="example"/>
        <description
                     value="If country is something other than US, the state MAY be present but MAY be bound to different vocabularies"/>
        <additional>
          <purpose value="required"/>
          <valueSet
                    value="http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state"/>
          <documentation
                         value="If the country is US, the state element is required and SHALL be selected from ValueSet StateValueSet but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. (CONF:81-10024)."/>
          <shortDoco value="For US Addresses"/>
        </additional>
      </binding>
    </element>
    <element id="AD.item.city">
      <path value="AD.item.city"/>
      <short value="city is required if nullFlavor is absent"/>
      <comment value="SHALL contain exactly one [1..1] city (CONF:81-7292)."/>
    </element>
    <element id="AD.item.postalCode">
      <path value="AD.item.postalCode"/>
      <short
             value="If country is US, shall be a 5-digit or 9-digit zip code (##### or #####-####)"/>
    </element>
    <element id="AD.item.streetAddressLine">
      <path value="AD.item.streetAddressLine"/>
      <short
             value="Min: 1, Max: 4 streetAddressLine required if nullFlavor is absent"/>
    </element>
    <element id="AD.useablePeriod">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueCanonical
                        value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement">
        <valueBoolean value="true"/>
      </extension>
      <path value="AD.useablePeriod"/>
      <short
             value="(USCDI) Previous Address - Current or prior place where a person may have been located or could have been contacted."/>
    </element>
  </differential>
</StructureDefinition>