{
  "resourceType": "StructureDefinition",
  "id": "profile-location-patientchart",
  "url": "http://telus.com/fhir/patientChart/StructureDefinition/profile-location",
  "name": "LocationPatientChart",
  "title": "Location eServices",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location",
        "path": "Location",
        "comment": "Usage Note:  This is not currently used in MedDialog/eServices2.0 specification or returned from the TELUS Provider Registry."
      },
      {
        "id": "Location.id",
        "path": "Location.id",
        "mustSupport": true
      },
      {
        "id": "Location.meta",
        "path": "Location.meta",
        "mustSupport": true
      },
      {
        "id": "Location.meta.lastUpdated",
        "path": "Location.meta.lastUpdated",
        "mustSupport": true
      },
      {
        "id": "Location.meta.source",
        "path": "Location.meta.source",
        "mustSupport": true
      },
      {
        "id": "Location.meta.profile",
        "path": "Location.meta.profile",
        "comment": "Usage:  Each implementation project will determine if this will be supported.   It may be useful for validating message instances against this specific profile.\r\n\r\nIt is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set.",
        "mustSupport": true
      },
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "mustSupport": true
      },
      {
        "id": "Location.name",
        "path": "Location.name",
        "mustSupport": true
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "mustSupport": true
      },
      {
        "id": "Location.type.coding",
        "path": "Location.type.coding",
        "mustSupport": true
      },
      {
        "id": "Location.type.coding.system",
        "path": "Location.type.coding.system",
        "mustSupport": true
      },
      {
        "id": "Location.type.coding.code",
        "path": "Location.type.coding.code",
        "mustSupport": true
      },
      {
        "id": "Location.type.text",
        "path": "Location.type.text",
        "mustSupport": true
      },
      {
        "id": "Location.telecom",
        "path": "Location.telecom",
        "mustSupport": true
      },
      {
        "id": "Location.telecom.system",
        "path": "Location.telecom.system",
        "mustSupport": true
      },
      {
        "id": "Location.telecom.value",
        "path": "Location.telecom.value",
        "mustSupport": true
      },
      {
        "id": "Location.address",
        "path": "Location.address",
        "mustSupport": true
      },
      {
        "id": "Location.address.use",
        "path": "Location.address.use",
        "mustSupport": true
      },
      {
        "id": "Location.address.type",
        "path": "Location.address.type",
        "mustSupport": true
      },
      {
        "id": "Location.address.line",
        "path": "Location.address.line",
        "mustSupport": true
      },
      {
        "id": "Location.address.city",
        "path": "Location.address.city",
        "mustSupport": true
      },
      {
        "id": "Location.address.state",
        "path": "Location.address.state",
        "mustSupport": true
      },
      {
        "id": "Location.address.postalCode",
        "path": "Location.address.postalCode",
        "mustSupport": true
      },
      {
        "id": "Location.address.country",
        "path": "Location.address.country",
        "mustSupport": true
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "mustSupport": true
      },
      {
        "id": "Location.managingOrganization.reference",
        "path": "Location.managingOrganization.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.managingOrganization.display",
        "path": "Location.managingOrganization.display",
        "mustSupport": true
      }
    ]
  }
}