DSTU2 QA Preview

This page is part of the FHIR Specification (v1.0.0: DSTU 2 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

StructureDefinition: DAF-Location - JSON

StructureDefinition for Defines basic constraints and extensions on the Location resource for use with other DAF resources

Raw JSON

{
  "resourceType": "StructureDefinition",
  "id": "daf-location",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/daf-location",
  "name": "U.S. Data Access Framework (DAF) Location Profile",
  "status": "draft",
  "publisher": "Health Level Seven International (Infrastructure and Messaging - Data Access Framework)",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://www.healthit.gov"
        }
      ]
    }
  ],
  "date": "2015-03-17",
  "description": "Defines basic constraints and extensions on the Location resource for use with other DAF resources",
  "mapping": [
    {
      "identity": "servd",
      "uri": "http://www.omg.org/spec/ServD/1.0/",
      "name": "ServD"
    }
  ],
  "kind": "resource",
  "constrainedType": "Location",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/Location",
  "snapshot": {
    "element": [
      {
        "path": "Location",
        "name": "DAF-Location",
        "short": "Details and position information for a physical place",
        "definition": "Details and position information for a physical place where services are provided  and resources and participants may be stored, found, contained or accommodated.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Location",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Location"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".Role[classCode=SDLC]"
          },
          {
            "identity": "w5",
            "map": "administrative.entity"
          },
          {
            "identity": "servd",
            "map": "Organization"
          }
        ]
      },
      {
        "path": "Location.id",
        "short": "Logical id of this artifact",
        "definition": "The logical id of the resource, as used in the url for the resource. Once assigned, this value never changes.",
        "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "isSummary": true
      },
      {
        "path": "Location.meta",
        "short": "Metadata about the resource",
        "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.meta",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Meta"
          }
        ],
        "isSummary": true
      },
      {
        "path": "Location.implicitRules",
        "short": "A set of rules under which this content was created",
        "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
        "comments": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true,
        "isSummary": true
      },
      {
        "path": "Location.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comments": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "A human language",
          "valueSetUri": "http://tools.ietf.org/html/bcp47"
        }
      },
      {
        "path": "Location.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "path": "Location.contained",
        "short": "Contained, inline Resources",
        "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comments": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Location.contained",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Location.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Location.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Location.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Location.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Location.identifier",
        "short": "Unique code or number identifying the location to its users",
        "definition": "Unique code or number identifying the location to its users.",
        "requirements": "Organization label locations in registries, need to keep track of those.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Location.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "w5",
            "map": "id"
          },
          {
            "identity": "servd",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Location.status",
        "short": "active | suspended | inactive",
        "definition": "active | suspended | inactive.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.status",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mustSupport": true,
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "Indicates whether the location is still in use",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/location-status"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".statusCode"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "path": "Location.name",
        "short": "Name of the location as used by humans",
        "definition": "Name of the location as used by humans. Does not need to be unique.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Location.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".name"
          },
          {
            "identity": "servd",
            "map": "./PrimaryAddress and ./OtherAddresses"
          }
        ]
      },
      {
        "path": "Location.description",
        "short": "Description of the Location, which helps in finding or referencing the place",
        "definition": "Description of the Location, which helps in finding or referencing the place.",
        "requirements": "Humans need additional information to verify a correct location has been identified.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".playingEntity[classCode=PLC determinerCode=INSTANCE].desc"
          }
        ]
      },
      {
        "path": "Location.mode",
        "short": "instance | kind",
        "definition": "Indicates whether a resource instance represents a specific location or a class of locations.",
        "requirements": "When using a Location resource for scheduling or orders, we need to be able to refer to a class of Locations instead of a specific Location.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.mode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "Indicates whether a resource instance represents a specific location or a class of locations",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/location-mode"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".playingEntity[classCode=PLC].determinerCode"
          },
          {
            "identity": "w5",
            "map": "class"
          }
        ]
      },
      {
        "path": "Location.type",
        "short": "Indicates the type of function performed at the location",
        "definition": "Indicates the type of function performed at the location.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "binding": {
          "strength": "extensible",
          "description": "Indicates the type of function performed at the location",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "class"
          }
        ]
      },
      {
        "path": "Location.telecom",
        "short": "Contact details of the location",
        "definition": "The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Location.telecom",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".telecom"
          }
        ]
      },
      {
        "path": "Location.address",
        "short": "Physical location",
        "definition": "Physical location.",
        "comments": "This was kept as 0..1 as there is no use property on the address, so wouldn't be able to identify different address types.",
        "requirements": "If locations can be visited, we need to keep track of their address.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.address",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Address"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".addr"
          },
          {
            "identity": "servd",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Location.address.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Location.address.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Address.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Location.address.use",
        "short": "home | work | temp | old - purpose of this address",
        "definition": "The purpose of this address.",
        "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc for a current/permanent one. Applications can assume that an address is current unless it explicitly says that it is temporary or old.",
        "requirements": "Allows an appropriate address to be chosen from a list of many.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "exampleCode": "home",
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "The use of an address",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/address-use"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.7"
          },
          {
            "identity": "rim",
            "map": "unique(./use)"
          },
          {
            "identity": "servd",
            "map": "./AddressPurpose"
          }
        ]
      },
      {
        "path": "Location.address.type",
        "short": "postal | physical | both",
        "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "exampleCode": "both",
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "The type of an address (physical / postal)",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/address-type"
          }
        },
        "mapping": [
          {
            "identity": "vcard",
            "map": "address type parameter"
          },
          {
            "identity": "v2",
            "map": "XAD.18"
          },
          {
            "identity": "rim",
            "map": "unique(./use)"
          }
        ]
      },
      {
        "path": "Location.address.text",
        "short": "Text representation of the address",
        "definition": "A full text representation of the address.",
        "comments": "Can provide both a text representation and parts.",
        "requirements": "A renderable, unencoded form.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "exampleString": "137 Nowhere Street, Erewhon 9132",
        "isSummary": true,
        "mapping": [
          {
            "identity": "vcard",
            "map": "address label parameter"
          },
          {
            "identity": "v2",
            "map": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6"
          },
          {
            "identity": "rim",
            "map": "./formatted"
          }
        ]
      },
      {
        "path": "Location.address.line",
        "short": "Street name, number, direction & P.O. Box etc",
        "definition": "This component contains the house number, apartment number, street name, street direction,  P.O. Box number, delivery hints, and similar address information.",
        "requirements": "home | work | temp | old - purpose of this address.",
        "min": 0,
        "max": "2",
        "base": {
          "path": "Address.line",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "exampleString": "137 Nowhere Street",
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "vcard",
            "map": "street"
          },
          {
            "identity": "v2",
            "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = AL]"
          },
          {
            "identity": "servd",
            "map": "./StreetAddress (newline delimitted)"
          }
        ]
      },
      {
        "path": "Location.address.city",
        "short": "Name of city, town etc.",
        "definition": "The name of the city, town, village or other community or delivery center.",
        "alias": [
          "Muncipality"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.city",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "exampleString": "Erewhon",
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "vcard",
            "map": "locality"
          },
          {
            "identity": "v2",
            "map": "XAD.3"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = CTY]"
          },
          {
            "identity": "servd",
            "map": "./Jurisdiction"
          }
        ]
      },
      {
        "path": "Location.address.district",
        "short": "District name (aka county)",
        "definition": "The name of the administrative area (county).",
        "comments": "District is sometimes known as county, but in some regions 'county' in used in place of city (municipality), so county name should be conveyed in city instead.",
        "alias": [
          "County"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.district",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "exampleString": "Madison",
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.9"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = CNT | CPA]"
          }
        ]
      },
      {
        "path": "Location.address.state",
        "short": "Sub-unit of country (abreviations ok)",
        "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 (i.e. US 2 letter state codes).",
        "alias": [
          "Province",
          "Territory"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "Two letter USPS alphabetic codes.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/usps-state"
          }
        },
        "mapping": [
          {
            "identity": "vcard",
            "map": "region"
          },
          {
            "identity": "v2",
            "map": "XAD.4"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = STA]"
          },
          {
            "identity": "servd",
            "map": "./Region"
          },
          {
            "identity": "servd",
            "map": "./Sites"
          }
        ]
      },
      {
        "path": "Location.address.postalCode",
        "short": "US Zip Codes",
        "definition": "US Zip Codes.",
        "alias": [
          "Zip"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.postalCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "exampleString": "9132",
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "vcard",
            "map": "code"
          },
          {
            "identity": "v2",
            "map": "XAD.5"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = ZIP]"
          },
          {
            "identity": "servd",
            "map": "./PostalIdentificationCode"
          }
        ]
      },
      {
        "path": "Location.address.country",
        "short": "Country (can be ISO 3166 3 letter code)",
        "definition": "Country - a nation as commonly understood or generally accepted.",
        "comments": "ISO 3166 3 letter codes can be used in place of a full country name.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.country",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "vcard",
            "map": "country"
          },
          {
            "identity": "v2",
            "map": "XAD.6"
          },
          {
            "identity": "rim",
            "map": "AD.part[parttype = CNT]"
          },
          {
            "identity": "servd",
            "map": "./Country"
          }
        ]
      },
      {
        "path": "Location.address.period",
        "short": "Time period when address was/is in use",
        "definition": "Time period when address was/is in use.",
        "requirements": "Allows addresses to be placed in historical context.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Address.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "examplePeriod": {
          "start": "2010-03-23",
          "end": "2010-07-01"
        },
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "XAD.12 / XAD.13 + XAD.14"
          },
          {
            "identity": "rim",
            "map": "./usablePeriod[type=\"IVL<TS>\"]"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "path": "Location.physicalType",
        "short": "Physical form of the location",
        "definition": "Physical form of the location, e.g. building, room, vehicle, road.",
        "requirements": "For purposes of showing relevant locations in queries, we need to categorize locations.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.physicalType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Physical form of the location",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/location-physical-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".playingEntity [classCode=PLC].code"
          },
          {
            "identity": "w5",
            "map": "class"
          }
        ]
      },
      {
        "path": "Location.position",
        "short": "The absolute geographic location",
        "definition": "The absolute geographic location of the Location, expressed in with the WGS84 datum (This is the same co-ordinate system used in KML).",
        "requirements": "For mobile applications and automated route-finding knowing the exact location of the Location is required.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.position",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".playingEntity [classCode=PLC determinerCode=INSTANCE].positionText"
          }
        ]
      },
      {
        "path": "Location.position.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.position.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Location.position.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Location.position.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Location.position.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "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.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Location.position.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Location.position.longitude",
        "short": "Longitude with WGS84 datum",
        "definition": "Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Location.position.longitude",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)"
          }
        ]
      },
      {
        "path": "Location.position.latitude",
        "short": "Latitude with WGS84 datum",
        "definition": "Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Location.position.latitude",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)"
          }
        ]
      },
      {
        "path": "Location.position.altitude",
        "short": "Altitude with WGS84 datum",
        "definition": "Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.position.altitude",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)"
          }
        ]
      },
      {
        "path": "Location.managingOrganization",
        "short": "The organization that is responsible for the provisioning and upkeep of the location",
        "definition": "The organization that is responsible for the provisioning and upkeep of the location.",
        "comments": "This can also be used as the part of the organization hierarchy where this location provides services. These services can be defined through the HealthcareService resource.",
        "requirements": "Need to know who manages the location.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.managingOrganization",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/daf-organization"
            ]
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".scopingEntity[classCode=ORG determinerKind=INSTANCE]"
          }
        ]
      },
      {
        "path": "Location.partOf",
        "short": "Another Location which this Location is physically part of",
        "definition": "Another Location which this Location is physically part of.",
        "requirements": "For purposes of location, display and identification, knowing which locations are located within other locations is important.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Location.partOf",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".inboundLink[typeCode=PART].source[classCode=SDLC]"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "path": "Location",
        "name": "DAF-Location",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Location"
          }
        ],
        "mapping": [
          {
            "identity": "servd",
            "map": "Organization"
          }
        ]
      },
      {
        "path": "Location.identifier",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "servd",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Location.status",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mustSupport": true
      },
      {
        "path": "Location.name",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "servd",
            "map": "./PrimaryAddress and ./OtherAddresses"
          }
        ]
      },
      {
        "path": "Location.type",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true
      },
      {
        "path": "Location.telecom",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mustSupport": true
      },
      {
        "path": "Location.address",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Address"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "servd",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Location.address.line",
        "min": 0,
        "max": "2",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true
      },
      {
        "path": "Location.address.city",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true
      },
      {
        "path": "Location.address.state",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Two letter USPS alphabetic codes.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/usps-state"
          }
        },
        "mapping": [
          {
            "identity": "servd",
            "map": "./Sites"
          }
        ]
      },
      {
        "path": "Location.address.postalCode",
        "short": "US Zip Codes",
        "definition": "US Zip Codes.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true
      },
      {
        "path": "Location.managingOrganization",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/daf-organization"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}