{
  "resourceType": "StructureDefinition",
  "id": "shr-core-PostalAddress",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>SDR PostalAddress Profile</b></p><p>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 and which might not be valid for mail delivery. There are a variety of postal address formats defined around the world. (Source: HL7 FHIR).</p><p><b>SDR Mapping Summary</b></p><p><pre>shr.core.PostalAddress maps to Address:\n  constrain use to 0..0\n  fix type to http://hl7.org/fhir/ValueSet/address-type#postal\n  DisplayText maps to text\n  AddressLine maps to line\n  City maps to city\n  District maps to district\n  State maps to state\n  PostalCode maps to postalCode\n  Country maps to country\n</pre></p></div>"
  },
  "url": "http://nightingaleproject.github.io/fhirDeathRecord/StructureDefinition/shr-core-PostalAddress",
  "identifier": [
    {
      "system": "http://github.com/nightingaleproject/fhirDeathRecord",
      "value": "shr.core.PostalAddress"
    }
  ],
  "version": "0.1.0",
  "name": "PostalAddressProfile",
  "title": "SDR PostalAddress Profile",
  "status": "draft",
  "date": "2018-06-14T04:00:00+00:00",
  "publisher": "The MITRE Corporation: Nightingale Project",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://github.com/nightingaleproject/fhirDeathRecord"
        }
      ]
    }
  ],
  "description": "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 and which might not be valid for mail delivery. There are a variety of postal address formats defined around the world. (Source: HL7 FHIR).",
  "purpose": "Need to be able to record postal addresses, along with notes about their use.",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "servd",
      "uri": "http://www.omg.org/spec/ServD/1.0/",
      "name": "ServD"
    },
    {
      "identity": "vcard",
      "uri": "http://w3.org/vcard",
      "name": "vCard Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "type": "Address",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Address",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Address:shr-core-PostalAddress",
        "path": "Address",
        "short": "SDR PostalAddress Profile",
        "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 and which might not be valid for mail delivery. There are a variety of postal address formats defined around the world. (Source: HL7 FHIR)."
      },
      {
        "id": "Address:shr-core-PostalAddress.extension:insidecitylimits",
        "path": "Address.extension",
        "sliceName": "insidecitylimits",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "definition": "Whether the address is within city limits (true) or not (false).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://nightingaleproject.github.io/fhirDeathRecord/StructureDefinition/shr-core-InsideCityLimits-extension"
          }
        ]
      },
      {
        "id": "Address:shr-core-PostalAddress.use",
        "path": "Address.use",
        "min": 0,
        "max": "0"
      },
      {
        "id": "Address:shr-core-PostalAddress.type",
        "path": "Address.type",
        "fixedCode": "postal"
      },
      {
        "id": "Address:shr-core-PostalAddress.line",
        "path": "Address.line",
        "min": 0,
        "max": "2"
      },
      {
        "id": "Address:shr-core-PostalAddress.country",
        "path": "Address.country",
        "min": 1,
        "max": "1"
      }
    ]
  }
}