PackagesCanonicalsLogsProblems
    Packages
    ee.hl7.fhir.base.r5@1.0.1
    https://fhir.ee/StructureDefinition/ee-address
{
  "description": "An address expressed using postal conventions (as opposed to GPS or other location definition formats). This datatype may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world. EEBase Address resource is developed in cooperation with Estonian Land Board. EEBase Address resource describes both Estonian and foreign addresses.",
  "_filename": "StructureDefinition-ee-address.json",
  "package_name": "ee.hl7.fhir.base.r5",
  "date": "2023-08-10T08:18:09+00:00",
  "derivation": "constraint",
  "publisher": "HL7 Estonia",
  "fhirVersion": "5.0.0",
  "jurisdiction": [ {
    "coding": [ {
      "code": "EE",
      "system": "urn:iso:std:iso:3166",
      "display": "Estonia"
    } ]
  } ],
  "name": "EEBaseAddress",
  "mapping": [ {
    "uri": "http://hl7.org/v2",
    "name": "HL7 V2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://www.omg.org/spec/ServD/1.0/",
    "name": "ServD",
    "identity": "servd"
  }, {
    "uri": "http://w3.org/vcard",
    "name": "vCard Mapping",
    "identity": "vcard"
  } ],
  "abstract": false,
  "type": "Address",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "EEBase Address",
  "package_version": "1.0.1",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Address",
      "min": 0,
      "definition": "An address expressed using postal conventions (as opposed to GPS or other location definition formats).  This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery.  There are a variety of postal address formats defined around the world.\nThe ISO21090-codedString may be used to provide a coded representation of the contents of strings in an Address.",
      "isModifier": false,
      "short": "An address expressed using postal conventions (as opposed to GPS or other location definition formats)",
      "mapping": [ {
        "map": "n/a,AD",
        "identity": "rim"
      }, {
        "map": "XAD",
        "identity": "v2"
      }, {
        "map": "Address",
        "identity": "servd"
      } ],
      "max": "*",
      "id": "Address",
      "comment": "Note: address is intended to describe postal addresses for administrative purposes, not to describe absolute geographical coordinates.  Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R5/location.html#) resource).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Address"
      }
    }, {
      "path": "Address.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "id"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Address.id",
      "condition": [ "ele-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Address.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Address.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Address.extension",
      "min": 0,
      "definition": "Aadressiandmete süsteem (ADS) koosneb aadressiandmete süsteemi infosüsteemist ning erinevatest nõuetest. ADS-i eesmärk on tagada ühene aadressiandmete kogumine, registreerimine, töötlemine, säilitamine, identifitseerimine ning töötlemise funktsioonide ühetaoline korraldamine.",
      "isModifier": false,
      "short": "ADR-ID",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.ee/StructureDefinition/ee-ads" ]
      } ],
      "mustSupport": true,
      "sliceName": "ads",
      "max": "1",
      "id": "Address.extension:ads",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Address.extension",
      "min": 0,
      "definition": "Eesti haldus- ja asustusjaotuse klassifikaator (EHAK) on ette nähtud territoriaalse paiknemise tähistamiseks. Igale klassifitseerimisobjektile on antud unikaalne neljakohaline kood ja näidatud on objekti nimi ning rööpnimi (kui see on olemas).",
      "isModifier": false,
      "short": "EHAK code",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.ee/StructureDefinition/ee-ehak" ]
      } ],
      "mustSupport": true,
      "sliceName": "ehak",
      "max": "1",
      "id": "Address.extension:ehak",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Address.use",
      "requirements": "Allows an appropriate address to be chosen from a list of many.",
      "min": 1,
      "definition": "The purpose of this address.",
      "isModifier": true,
      "short": "home | work | temp | old | billing - purpose of this address",
      "mapping": [ {
        "map": "XAD.7",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "./AddressPurpose",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/address-use|5.0.0",
        "extension": [ {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
          "valueMarkdown": "The use of an address."
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AddressUse"
        } ],
        "description": "The use of an address (home / work / etc.)."
      },
      "max": "1",
      "id": "Address.use",
      "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.",
      "example": [ {
        "label": "General",
        "valueCode": "home"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.use"
      },
      "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Address.type",
      "min": 0,
      "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.",
      "isModifier": false,
      "short": "postal | physical | both",
      "mapping": [ {
        "map": "XAD.18",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "address type parameter",
        "identity": "vcard"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/address-type|5.0.0",
        "extension": [ {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
          "valueMarkdown": "The type of an address (physical / postal)."
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AddressType"
        } ],
        "description": "The type of an address (physical / postal)."
      },
      "max": "1",
      "id": "Address.type",
      "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R5/location.html#) resource).",
      "example": [ {
        "label": "General",
        "valueCode": "both"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.type"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Address.text",
      "requirements": "A renderable, unencoded form.",
      "min": 0,
      "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.",
      "isModifier": false,
      "short": "Text representation of the address",
      "mapping": [ {
        "map": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6",
        "identity": "v2"
      }, {
        "map": "./formatted",
        "identity": "rim"
      }, {
        "map": "address label parameter",
        "identity": "vcard"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Address.text",
      "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that  when both text and parts are present,  no content is included in the text that isn't found in a part.",
      "example": [ {
        "label": "General",
        "valueString": "137 Nowhere Street, Erewhon 9132"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.text"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Address.line",
      "min": 0,
      "definition": "This component contains the house number, apartment number, street name, street direction,  P.O. Box number, delivery hints, and similar address information.",
      "isModifier": false,
      "short": "Street name, number, direction & P.O. Box etc.",
      "mapping": [ {
        "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = AL]",
        "identity": "rim"
      }, {
        "map": "street",
        "identity": "vcard"
      }, {
        "map": "./StreetAddress (newline delimitted)",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "Address.line",
      "example": [ {
        "label": "General",
        "valueString": "137 Nowhere Street"
      } ],
      "orderMeaning": "The order in which lines should appear in an address label",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Address.line"
      },
      "isSummary": true
    }, {
      "path": "Address.line.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references)",
      "isModifier": false,
      "short": "xml:id (or equivalent in JSON)",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Address.line.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Address.line.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Address.line.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Address.line.extension",
      "min": 0,
      "definition": "Väikekoht (AÜ,,, vkt). Vastab Maa-ameti ADS-iga liidestumise juhendis tasemele 4.",
      "isModifier": false,
      "short": "A geographic sub-unit delineated for demographic purposes.",
      "mapping": [ {
        "map": "ADXP[partType=CEN]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract" ]
      } ],
      "sliceName": "censusTract",
      "max": "1",
      "id": "Address.line.extension:censusTract",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Address.line.extension",
      "min": 0,
      "definition": "Liikluspind (tee, tänav, puiestee, maantee). Vastab Maa-ameti ADS-iga liidestumise juhendis tasemele 5.",
      "isModifier": false,
      "short": "Street name",
      "mapping": [ {
        "map": "ADXP[partType=STR]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" ]
      } ],
      "sliceName": "streetName",
      "max": "1",
      "id": "Address.line.extension:streetName",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Address.line.extension",
      "min": 0,
      "definition": "Nimi (kohanimi, maaüksuse nimi). Vastab Maa-ameti ADS-iga liidestumise juhendis tasemele 6.",
      "isModifier": false,
      "short": "The base name of a roadway or artery recognized by a municipality (excluding street type and direction).",
      "mapping": [ {
        "map": "ADXP[partType=STB]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase" ]
      } ],
      "sliceName": "streetNameBase",
      "max": "1",
      "id": "Address.line.extension:streetNameBase",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Address.line.extension",
      "min": 0,
      "definition": "Aadressinumber (maaüksuse või hoone erilisand). Vastab Maa-ameti ADS-iga liidestumise juhendis tasemele 7.",
      "isModifier": false,
      "short": "House number",
      "mapping": [ {
        "map": "ADXP[partType=BNR]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" ]
      } ],
      "sliceName": "houseNumber",
      "max": "1",
      "id": "Address.line.extension:houseNumber",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Address.line.extension",
      "min": 0,
      "definition": "Korteri või muu hooneosa number. Vastab Maa-ameti ADS-iga liidestumise juhendis tasemele 8.",
      "isModifier": false,
      "short": "Additional locator",
      "mapping": [ {
        "map": "ADXP[partType=ADL]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator" ]
      } ],
      "sliceName": "additionalLocator",
      "max": "1",
      "id": "Address.line.extension:additionalLocator",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Address.line.value",
      "min": 0,
      "definition": "The actual value",
      "isModifier": false,
      "short": "Primitive value for string",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/regex",
          "valueString": "^[\\s\\S]+$"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Address.line.value",
      "maxLength": 1048576,
      "base": {
        "max": "1",
        "min": 0,
        "path": "string.value"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Address.city",
      "min": 0,
      "definition": "Asula (küla, alevik, alev, vallasisene linn) või linnaosa. Vastab Maa-ameti ADS-iga liidestumise juhendis tasemele 3.",
      "isModifier": false,
      "short": "Name of city, town etc.",
      "mapping": [ {
        "map": "XAD.3",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = CTY]",
        "identity": "rim"
      }, {
        "map": "locality",
        "identity": "vcard"
      }, {
        "map": "./Jurisdiction",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "Municpality" ],
      "max": "1",
      "id": "Address.city",
      "example": [ {
        "label": "General",
        "valueString": "Erewhon"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.city"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Address.district",
      "min": 0,
      "definition": "The name of the administrative area (county).",
      "isModifier": false,
      "short": "Administrative or political subdivision of a state or city",
      "mapping": [ {
        "map": "XAD.9",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = CNT | CPA]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "County" ],
      "max": "1",
      "id": "Address.district",
      "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.",
      "example": [ {
        "label": "General",
        "valueString": "Madison"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.district"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Address.state",
      "min": 0,
      "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).",
      "isModifier": false,
      "short": "Sub-unit of country",
      "mapping": [ {
        "map": "XAD.4",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = STA]",
        "identity": "rim"
      }, {
        "map": "region",
        "identity": "vcard"
      }, {
        "map": "./Region",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "Province", "Territory" ],
      "max": "1",
      "id": "Address.state",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.state"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Address.postalCode",
      "min": 0,
      "definition": "Postiindeks",
      "isModifier": false,
      "short": "Postal code for area",
      "mapping": [ {
        "map": "XAD.5",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = ZIP]",
        "identity": "rim"
      }, {
        "map": "code",
        "identity": "vcard"
      }, {
        "map": "./PostalIdentificationCode",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "Zip" ],
      "max": "1",
      "id": "Address.postalCode",
      "example": [ {
        "label": "General",
        "valueString": "9132"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.postalCode"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Address.country",
      "min": 1,
      "definition": "Riigi kood (lubatud ISO-3166-2 koodid)",
      "isModifier": false,
      "short": "Should use a 2 digit ISO 3166 code",
      "mapping": [ {
        "map": "XAD.6",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = CNT]",
        "identity": "rim"
      }, {
        "map": "country",
        "identity": "vcard"
      }, {
        "map": "./Country",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/iso3166-1-2"
      },
      "max": "1",
      "id": "Address.country",
      "comment": "ISO 3166 2- or 3- letter codes MAY be used in place of a human readable country name.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.country"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Address.period",
      "requirements": "Allows addresses to be placed in historical context.",
      "min": 0,
      "definition": "Time period when address was/is in use.",
      "isModifier": false,
      "short": "Time period when address was/is in use",
      "mapping": [ {
        "map": "XAD.12 / XAD.13 + XAD.14",
        "identity": "v2"
      }, {
        "map": "./usablePeriod[type=\"IVL\"]",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Address.period",
      "example": [ {
        "label": "General",
        "valuePeriod": {
          "end": "2010-07-01",
          "start": "2010-03-23"
        }
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.period"
      },
      "isSummary": true
    } ]
  },
  "status": "draft",
  "id": "bcd48294-8d9c-460c-9531-cd3dd8060b2d",
  "kind": "complex-type",
  "url": "https://fhir.ee/StructureDefinition/ee-address",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "Address",
      "path": "Address"
    }, {
      "id": "Address.extension:ads",
      "max": "1",
      "min": 0,
      "path": "Address.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.ee/StructureDefinition/ee-ads" ]
      } ],
      "short": "ADR-ID",
      "sliceName": "ads",
      "mustSupport": true
    }, {
      "id": "Address.extension:ehak",
      "max": "1",
      "min": 0,
      "path": "Address.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.ee/StructureDefinition/ee-ehak" ]
      } ],
      "short": "EHAK code",
      "sliceName": "ehak",
      "mustSupport": true
    }, {
      "id": "Address.use",
      "min": 1,
      "path": "Address.use",
      "mustSupport": true
    }, {
      "id": "Address.text",
      "path": "Address.text",
      "mustSupport": true
    }, {
      "id": "Address.line.extension",
      "path": "Address.line.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Address.line.extension:censusTract",
      "max": "1",
      "min": 0,
      "path": "Address.line.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract" ]
      } ],
      "short": "A geographic sub-unit delineated for demographic purposes.",
      "sliceName": "censusTract",
      "definition": "Väikekoht (AÜ,,, vkt). Vastab Maa-ameti ADS-iga liidestumise juhendis tasemele 4."
    }, {
      "id": "Address.line.extension:streetName",
      "max": "1",
      "min": 0,
      "path": "Address.line.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" ]
      } ],
      "short": "Street name",
      "sliceName": "streetName",
      "definition": "Liikluspind (tee, tänav, puiestee, maantee). Vastab Maa-ameti ADS-iga liidestumise juhendis tasemele 5."
    }, {
      "id": "Address.line.extension:streetNameBase",
      "max": "1",
      "min": 0,
      "path": "Address.line.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase" ]
      } ],
      "short": "The base name of a roadway or artery recognized by a municipality (excluding street type and direction).",
      "sliceName": "streetNameBase",
      "definition": "Nimi (kohanimi, maaüksuse nimi). Vastab Maa-ameti ADS-iga liidestumise juhendis tasemele 6."
    }, {
      "id": "Address.line.extension:houseNumber",
      "max": "1",
      "min": 0,
      "path": "Address.line.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" ]
      } ],
      "short": "House number",
      "sliceName": "houseNumber",
      "definition": "Aadressinumber (maaüksuse või hoone erilisand). Vastab Maa-ameti ADS-iga liidestumise juhendis tasemele 7."
    }, {
      "id": "Address.line.extension:additionalLocator",
      "max": "1",
      "min": 0,
      "path": "Address.line.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator" ]
      } ],
      "short": "Additional locator",
      "sliceName": "additionalLocator",
      "definition": "Korteri või muu hooneosa number. Vastab Maa-ameti ADS-iga liidestumise juhendis tasemele 8."
    }, {
      "id": "Address.city",
      "path": "Address.city",
      "definition": "Asula (küla, alevik, alev, vallasisene linn) või linnaosa. Vastab Maa-ameti ADS-iga liidestumise juhendis tasemele 3."
    }, {
      "id": "Address.district",
      "path": "Address.district",
      "short": "Administrative or political subdivision of a state or city"
    }, {
      "id": "Address.state",
      "path": "Address.state",
      "short": "Sub-unit of country"
    }, {
      "id": "Address.postalCode",
      "path": "Address.postalCode",
      "definition": "Postiindeks"
    }, {
      "id": "Address.country",
      "min": 1,
      "path": "Address.country",
      "short": "Should use a 2 digit ISO 3166 code",
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/iso3166-1-2"
      },
      "definition": "Riigi kood (lubatud ISO-3166-2 koodid)",
      "mustSupport": true
    } ]
  },
  "contact": [ {
    "name": "HL7 Estonia",
    "telecom": [ {
      "value": "https://www.hl7.ee",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Address"
}