{
  "resourceType": "StructureDefinition",
  "id": "eicr-location",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2018-09-29T20:27:06.866+00:00"
  },
  "url": "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-location",
  "version": "0.0.0",
  "name": "eicr-location",
  "title": "eICR Location",
  "status": "draft",
  "date": "2018-08-01",
  "description": "The location/facility in which care was provided when the case was triggered.",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location",
        "path": "Location",
        "short": "eICR Location",
        "definition": "The location/facility in which care was provided when the case was triggered.",
        "mustSupport": false,
        "isModifier": false
      },
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "short": "Facility ID Number",
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "short": "Facility Type",
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Location.address.city",
        "path": "Location.address.city",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.address.state",
        "path": "Location.address.state",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/us/ecr/StructureDefinition/ecr-organization"
          }
        ],
        "mustSupport": true
      }
    ]
  }
}