@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:StructureDefinition ;
  fhir:id [ fhir:v "USRealmAddressADUSFIELDED"] ;
  fhir:text [
     fhir:status [ fhir:v "extensions" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-target" ] ;
     fhir:value [
       fhir:v "" ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ] ;
         fhir:value [ fhir:v "not-applicable" ]
       ] )
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
     fhir:value [ fhir:v "urn:hl7-org:v3" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order" ] ;
     fhir:value [ fhir:v "true" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED"], [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED"] ;
  fhir:identifier ( [
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.10.20.22.5.2" ]
  ] [
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.10.20.22.5.2" ]
  ] ) ;
  fhir:version [ fhir:v "2.1"], [ fhir:v "2.1"] ;
  fhir:name [ fhir:v "USRealmAddressADUSFIELDED"], [ fhir:v "USRealmAddressADUSFIELDED"] ;
  fhir:title [ fhir:v "US Realm Address (AD.US.FIELDED)"], [ fhir:v "US Realm Address (AD.US.FIELDED)"] ;
  fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ;
  fhir:date [ fhir:v "2023-09-29T16:20:44+00:00"], [ fhir:v "2023-09-29T16:20:44+00:00"] ;
  fhir:publisher [ fhir:v "Health Level Seven"], [ fhir:v "Health Level Seven"] ;
  fhir:contact ( [
     fhir:name [ fhir:v "HL7 International - Structured Documents" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/structure" ]
     ] )
  ] [
     fhir:name [ fhir:v "HL7 International - Structured Documents" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/structure" ]
     ] )
  ] ) ;
  fhir:description [ fhir:v "Reusable address template, for use in US Realm CDA Header."], [ fhir:v "Reusable address template, for use in US Realm CDA Header."] ;
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:iso:std:iso:3166" ] ;
       fhir:code [ fhir:v "US" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:iso:std:iso:3166" ] ;
       fhir:code [ fhir:v "US" ]
     ] )
  ] ) ;
  fhir:fhirVersion [ fhir:v "5.0.0"] ;
  fhir:mapping ( [
     fhir:identity [ fhir:v "rim" ] ;
     fhir:uri [ fhir:v "http://hl7.org/v3" ] ;
     fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ;
  fhir:kind [ fhir:v "logical"] ;
  fhir:abstract [ fhir:v "false"] ;
  fhir:type [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/AD"] ;
  fhir:baseDefinition [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/AD"] ;
  fhir:derivation [ fhir:v "constraint"] ;
  fhir:snapshot [
     fhir:element ( [
       fhir:id [ fhir:v "AD" ] ;
       fhir:path [ fhir:v "AD" ] ;
       fhir:short [ fhir:v "Base for all types and resources" ] ;
       fhir:definition [ fhir:v "Mailing and home or office addresses. A sequence of address parts, such as street or post office Box, city, postal code, country, etc." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Base" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [ ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "81-7296" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "**SHALL NOT** have mixed content except for white space (CONF:81-7296)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.nullFlavor" ] ;
       fhir:path [ fhir:v "AD.nullFlavor" ] ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:short [ fhir:v "Primitive Type code" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "cs-pattern" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "cs attributes must not contain any whitespace" ] ;
         fhir:expression [ fhir:v "matches('^[^\\\\s]+$')" ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ANY" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "AD.isNotOrdered" ] ;
       fhir:path [ fhir:v "AD.isNotOrdered" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Is Not Ordered" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.isNotOrdered" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "AD.use" ] ;
       fhir:path [ fhir:v "AD.use" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Use Code" ] ;
       fhir:short [ fhir:v "If addr/@nullFlavor is present, the remaining conformance statements *SHALL NOT* be enforced" ] ;
       fhir:definition [ fhir:v "A set of codes advising a system or user which address in a set of like addresses to select for a given purpose." ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet PostalAddressUse urn:oid:2.16.840.1.113883.1.11.10637 STATIC 2005-05-01 (CONF:81-7290)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.use" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.10637" ]
       ]
     ] [
       fhir:id [ fhir:v "AD.delimiter" ] ;
       fhir:path [ fhir:v "AD.delimiter" ] ;
       fhir:definition [ fhir:v "Delimiters are printed without framing white space. If no value component is provided, the delimiter appears as a line break." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.delimiter" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.delimiter.partType" ] ;
       fhir:path [ fhir:v "AD.delimiter.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.delimiter.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "DEL" ]
     ] [
       fhir:id [ fhir:v "AD.country" ] ;
       fhir:path [ fhir:v "AD.country" ] ;
       fhir:definition [ fhir:v "Country" ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or one [0..1] country, which SHALL be selected from ValueSet Country urn:oid:2.16.840.1.113883.3.88.12.80.63 DYNAMIC (CONF:81-7295)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.country" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.country.partType" ] ;
       fhir:path [ fhir:v "AD.country.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.country.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "CNT" ]
     ] [
       fhir:id [ fhir:v "AD.state" ] ;
       fhir:path [ fhir:v "AD.state" ] ;
       fhir:definition [ fhir:v "A sub-unit of a country with limited sovereignty in a federally organized country." ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or one [0..1] state, which SHOULD be selected from ValueSet StateValueSet urn:oid:2.16.840.1.113883.3.88.12.80.1 DYNAMIC) (CONF:81-7293)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.state" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "81-10024" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "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)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.state.partType" ] ;
       fhir:path [ fhir:v "AD.state.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.state.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "STA" ]
     ] [
       fhir:id [ fhir:v "AD.county" ] ;
       fhir:path [ fhir:v "AD.county" ] ;
       fhir:definition [ fhir:v "A sub-unit of a state or province. (49 of the United States of America use the term \"county;\" Louisiana uses the term \"parish\".)" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.county" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.county.partType" ] ;
       fhir:path [ fhir:v "AD.county.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.county.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "CPA" ]
     ] [
       fhir:id [ fhir:v "AD.city" ] ;
       fhir:path [ fhir:v "AD.city" ] ;
       fhir:definition [ fhir:v "The name of the city, town, village, or other community or delivery center" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] city (CONF:81-7292)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.city" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.city.partType" ] ;
       fhir:path [ fhir:v "AD.city.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.city.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "CTY" ]
     ] [
       fhir:id [ fhir:v "AD.postalCode" ] ;
       fhir:path [ fhir:v "AD.postalCode" ] ;
       fhir:definition [ fhir:v "A postal code designating a region defined by the postal service." ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or one [0..1] postalCode, which SHOULD be selected from ValueSet PostalCode urn:oid:2.16.840.1.113883.3.88.12.80.2 DYNAMIC (CONF:81-7294)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.postalCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "81-10025" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "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)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.postalCode.partType" ] ;
       fhir:path [ fhir:v "AD.postalCode.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.postalCode.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "ZIP" ]
     ] [
       fhir:id [ fhir:v "AD.streetAddressLine" ] ;
       fhir:path [ fhir:v "AD.streetAddressLine" ] ;
       fhir:definition [ fhir:v "Street address line" ] ;
       fhir:comment [ fhir:v "SHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "4" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.streetAddressLine" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.streetAddressLine.partType" ] ;
       fhir:path [ fhir:v "AD.streetAddressLine.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.streetAddressLine.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "SAL" ]
     ] [
       fhir:id [ fhir:v "AD.houseNumber" ] ;
       fhir:path [ fhir:v "AD.houseNumber" ] ;
       fhir:definition [ fhir:v "The number of a building, house or lot alongside the street. Also known as \"primary street number\". This does not number the street but rather the building." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.houseNumber" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.houseNumber.partType" ] ;
       fhir:path [ fhir:v "AD.houseNumber.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.houseNumber.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "BNR" ]
     ] [
       fhir:id [ fhir:v "AD.houseNumberNumeric" ] ;
       fhir:path [ fhir:v "AD.houseNumberNumeric" ] ;
       fhir:definition [ fhir:v "The numeric portion of a building number" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.houseNumberNumeric" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.houseNumberNumeric.partType" ] ;
       fhir:path [ fhir:v "AD.houseNumberNumeric.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.houseNumberNumeric.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "BNN" ]
     ] [
       fhir:id [ fhir:v "AD.direction" ] ;
       fhir:path [ fhir:v "AD.direction" ] ;
       fhir:definition [ fhir:v "Direction (e.g., N, S, W, E)" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.direction" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.direction.partType" ] ;
       fhir:path [ fhir:v "AD.direction.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.direction.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "DIR" ]
     ] [
       fhir:id [ fhir:v "AD.streetName" ] ;
       fhir:path [ fhir:v "AD.streetName" ] ;
       fhir:definition [ fhir:v "Name of a roadway or artery recognized by a municipality (including street type and direction)" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.streetName" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.streetName.partType" ] ;
       fhir:path [ fhir:v "AD.streetName.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.streetName.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "STR" ]
     ] [
       fhir:id [ fhir:v "AD.streetNameBase" ] ;
       fhir:path [ fhir:v "AD.streetNameBase" ] ;
       fhir:definition [ fhir:v "The base name of a roadway or artery recognized by a municipality (excluding street type and direction)" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.streetNameBase" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.streetNameBase.partType" ] ;
       fhir:path [ fhir:v "AD.streetNameBase.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.streetNameBase.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "STB" ]
     ] [
       fhir:id [ fhir:v "AD.streetNameType" ] ;
       fhir:path [ fhir:v "AD.streetNameType" ] ;
       fhir:definition [ fhir:v "The designation given to the street. (e.g. Street, Avenue, Crescent, etc.)" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.streetNameType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.streetNameType.partType" ] ;
       fhir:path [ fhir:v "AD.streetNameType.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.streetNameType.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "STTYP" ]
     ] [
       fhir:id [ fhir:v "AD.additionalLocator" ] ;
       fhir:path [ fhir:v "AD.additionalLocator" ] ;
       fhir:definition [ fhir:v "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., \"3rd floor, Appt. 342\"). This can also be a designator pointing away from the location, rather than specifying a smaller location within some larger one (e.g., Dutch \"t.o.\" means \"opposite to\" for house boats located across the street facing houses)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.additionalLocator" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.additionalLocator.partType" ] ;
       fhir:path [ fhir:v "AD.additionalLocator.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.additionalLocator.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "ADL" ]
     ] [
       fhir:id [ fhir:v "AD.unitID" ] ;
       fhir:path [ fhir:v "AD.unitID" ] ;
       fhir:definition [ fhir:v "The number or name of a specific unit contained within a building or complex, as assigned by that building or complex." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.unitID" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.unitID.partType" ] ;
       fhir:path [ fhir:v "AD.unitID.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.unitID.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "UNID" ]
     ] [
       fhir:id [ fhir:v "AD.unitType" ] ;
       fhir:path [ fhir:v "AD.unitType" ] ;
       fhir:definition [ fhir:v "Indicates the type of specific unit contained within a building or complex. E.g. Appartment, Floor" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.unitType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.unitType.partType" ] ;
       fhir:path [ fhir:v "AD.unitType.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.unitType.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "UNIT" ]
     ] [
       fhir:id [ fhir:v "AD.careOf" ] ;
       fhir:path [ fhir:v "AD.careOf" ] ;
       fhir:definition [ fhir:v "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" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.careOf" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.careOf.partType" ] ;
       fhir:path [ fhir:v "AD.careOf.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.careOf.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "CAR" ]
     ] [
       fhir:id [ fhir:v "AD.censusTract" ] ;
       fhir:path [ fhir:v "AD.censusTract" ] ;
       fhir:definition [ fhir:v "A geographic sub-unit delineated for demographic purposes." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.censusTract" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.censusTract.partType" ] ;
       fhir:path [ fhir:v "AD.censusTract.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.censusTract.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "CEN" ]
     ] [
       fhir:id [ fhir:v "AD.deliveryAddressLine" ] ;
       fhir:path [ fhir:v "AD.deliveryAddressLine" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.deliveryAddressLine" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.deliveryAddressLine.partType" ] ;
       fhir:path [ fhir:v "AD.deliveryAddressLine.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.deliveryAddressLine.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "DAL" ]
     ] [
       fhir:id [ fhir:v "AD.deliveryInstallationType" ] ;
       fhir:path [ fhir:v "AD.deliveryInstallationType" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.deliveryInstallationType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.deliveryInstallationType.partType" ] ;
       fhir:path [ fhir:v "AD.deliveryInstallationType.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.deliveryInstallationType.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "DINST" ]
     ] [
       fhir:id [ fhir:v "AD.deliveryInstallationArea" ] ;
       fhir:path [ fhir:v "AD.deliveryInstallationArea" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.deliveryInstallationArea" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.deliveryInstallationArea.partType" ] ;
       fhir:path [ fhir:v "AD.deliveryInstallationArea.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.deliveryInstallationArea.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "DINSTA" ]
     ] [
       fhir:id [ fhir:v "AD.deliveryInstallationQualifier" ] ;
       fhir:path [ fhir:v "AD.deliveryInstallationQualifier" ] ;
       fhir:definition [ fhir:v "A number, letter or name identifying a delivery installation. E.g., for Station A, the delivery installation qualifier would be 'A'." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.deliveryInstallationQualifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.deliveryInstallationQualifier.partType" ] ;
       fhir:path [ fhir:v "AD.deliveryInstallationQualifier.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.deliveryInstallationQualifier.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "DINSTQ" ]
     ] [
       fhir:id [ fhir:v "AD.deliveryMode" ] ;
       fhir:path [ fhir:v "AD.deliveryMode" ] ;
       fhir:definition [ fhir:v "Indicates the type of service offered, method of delivery. For example: post office box, rural route, general delivery, etc." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.deliveryMode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.deliveryMode.partType" ] ;
       fhir:path [ fhir:v "AD.deliveryMode.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.deliveryMode.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "DMOD" ]
     ] [
       fhir:id [ fhir:v "AD.deliveryModeIdentifier" ] ;
       fhir:path [ fhir:v "AD.deliveryModeIdentifier" ] ;
       fhir:definition [ fhir:v "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)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.deliveryModeIdentifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.deliveryModeIdentifier.partType" ] ;
       fhir:path [ fhir:v "AD.deliveryModeIdentifier.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.deliveryModeIdentifier.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "DMODID" ]
     ] [
       fhir:id [ fhir:v "AD.buildingNumberSuffix" ] ;
       fhir:path [ fhir:v "AD.buildingNumberSuffix" ] ;
       fhir:definition [ fhir:v "Any alphabetic character, fraction or other text that may appear after the numeric portion of a building number" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.buildingNumberSuffix" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.buildingNumberSuffix.partType" ] ;
       fhir:path [ fhir:v "AD.buildingNumberSuffix.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.buildingNumberSuffix.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "BNS" ]
     ] [
       fhir:id [ fhir:v "AD.postBox" ] ;
       fhir:path [ fhir:v "AD.postBox" ] ;
       fhir:definition [ fhir:v "A numbered box located in a post station." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.postBox" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.postBox.partType" ] ;
       fhir:path [ fhir:v "AD.postBox.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.postBox.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "POB" ]
     ] [
       fhir:id [ fhir:v "AD.precinct" ] ;
       fhir:path [ fhir:v "AD.precinct" ] ;
       fhir:definition [ fhir:v "A subsection of a municipality" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.precinct" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ADXP" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.precinct.partType" ] ;
       fhir:path [ fhir:v "AD.precinct.partType" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "Specifies the type of the address part" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.precinct.partType" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "PRE" ]
     ] [
       fhir:id [ fhir:v "AD.other" ] ;
       fhir:path [ fhir:v "AD.other" ] ;
       fhir:representation ( [ fhir:v "xmlText" ] ) ;
       fhir:definition [ fhir:v "Textual representation of (part of) the address" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.other" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "AD.useablePeriod" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype" ] ;
         fhir:value [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS" ]
       ] ) ;
       fhir:path [ fhir:v "AD.useablePeriod" ] ;
       fhir:representation ( [ fhir:v "typeAttr" ] ) ;
       fhir:label [ fhir:v "Useable Period" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AD.useablePeriod" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS" ]
       ] [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS" ]
       ] )
     ] )
  ] ;
  fhir:differential [
     fhir:element ( [
       fhir:id [ fhir:v "AD" ] ;
       fhir:path [ fhir:v "AD" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "81-7296" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "**SHALL NOT** have mixed content except for white space (CONF:81-7296)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ]
       ] )
     ] [
       fhir:id [ fhir:v "AD.use" ] ;
       fhir:path [ fhir:v "AD.use" ] ;
       fhir:short [ fhir:v "If addr/@nullFlavor is present, the remaining conformance statements *SHALL NOT* be enforced" ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet PostalAddressUse urn:oid:2.16.840.1.113883.1.11.10637 STATIC 2005-05-01 (CONF:81-7290)." ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.10637" ]
       ]
     ] [
       fhir:id [ fhir:v "AD.country" ] ;
       fhir:path [ fhir:v "AD.country" ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or one [0..1] country, which SHALL be selected from ValueSet Country urn:oid:2.16.840.1.113883.3.88.12.80.63 DYNAMIC (CONF:81-7295)." ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.63" ]
       ]
     ] [
       fhir:id [ fhir:v "AD.state" ] ;
       fhir:path [ fhir:v "AD.state" ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or one [0..1] state, which SHOULD be selected from ValueSet StateValueSet urn:oid:2.16.840.1.113883.3.88.12.80.1 DYNAMIC) (CONF:81-7293)." ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "81-10024" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "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)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "preferred" ] ;
         fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.1" ]
       ]
     ] [
       fhir:id [ fhir:v "AD.city" ] ;
       fhir:path [ fhir:v "AD.city" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] city (CONF:81-7292)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "AD.postalCode" ] ;
       fhir:path [ fhir:v "AD.postalCode" ] ;
       fhir:comment [ fhir:v "SHOULD contain zero or one [0..1] postalCode, which SHOULD be selected from ValueSet PostalCode urn:oid:2.16.840.1.113883.3.88.12.80.2 DYNAMIC (CONF:81-7294)." ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "81-10025" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "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)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "preferred" ] ;
         fhir:valueSet [ fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.2" ]
       ]
     ] [
       fhir:id [ fhir:v "AD.streetAddressLine" ] ;
       fhir:path [ fhir:v "AD.streetAddressLine" ] ;
       fhir:comment [ fhir:v "SHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "4" ]
     ] )
  ] .

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

