{
  "resourceType": "StructureDefinition",
  "id": "shr-entity-Facility",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR Facility Profile</b></p>\n  <p>Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility.</p>\n  <p><b>SHR Mapping Summary</b></p>\n  <p><pre>shr.entity.Facility maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-location:\n  FacilityName maps to name\n  Location.Address maps to address\n  Location.Geoposition.Latitude maps to position.latitude\n  Location.Geoposition.Longitude maps to position.longitude\n  Location.Geoposition.Altitude maps to position.altitude\n  ContactPoint maps to telecom\n  ManagingOrganization maps to managingOrganization\n  Type maps to type\n</pre></p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Facility",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.entity.Facility"
    }
  ],
  "version": "0.0.1",
  "name": "SHR Facility Profile",
  "status": "draft",
  "date": "2017-12-20",
  "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://standardhealthrecord.org"
        }
      ]
    }
  ],
  "description": "Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US",
          "display": "United States Minor Outlying Islands (the)"
        }
      ]
    }
  ],
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "servd",
      "uri": "http://www.omg.org/spec/ServD/1.0/",
      "name": "ServD"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location:shr-entity-Facility",
        "path": "Location",
        "short": "SHR Facility Profile",
        "definition": "Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility.",
        "mustSupport": false
      },
      {
        "id": "Location:shr-entity-Facility.extension:relatedencounter",
        "path": "Location.extension",
        "sliceName": "relatedencounter",
        "definition": "If content was generated during a patient encounter, related encounter is the encounter where the information was gained.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension"
          }
        ]
      },
      {
        "id": "Location:shr-entity-Facility.extension:author",
        "path": "Location.extension",
        "sliceName": "author",
        "definition": "The person or organization who created the entry and is responsible for (and may certify) the content.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension"
          }
        ]
      },
      {
        "id": "Location:shr-entity-Facility.extension:informant",
        "path": "Location.extension",
        "sliceName": "informant",
        "definition": "The person or entity that provided the information in the entry, as distinct from who created the entry, e.g. the subject (patient), medical professional, family member, device or software program.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension"
          }
        ]
      },
      {
        "id": "Location:shr-entity-Facility.extension:mobilefacility",
        "path": "Location.extension",
        "sliceName": "mobilefacility",
        "definition": "A facility that moves from place to place, such as Meals-On-Wheels.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-MobileFacility-extension"
          }
        ]
      },
      {
        "id": "Location:shr-entity-Facility.type",
        "path": "Location.type",
        "min": 1,
        "max": "1",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "LocationType"
            }
          ],
          "strength": "required",
          "description": "Indicates the type of function performed at the location.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType"
          }
        }
      },
      {
        "id": "Location:shr-entity-Facility.telecom",
        "path": "Location.telecom",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "ContactPoint",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-ContactPoint"
          }
        ]
      },
      {
        "id": "Location:shr-entity-Facility.address",
        "path": "Location.address",
        "type": [
          {
            "code": "Address",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address"
          }
        ]
      },
      {
        "id": "Location:shr-entity-Facility.managingOrganization",
        "path": "Location.managingOrganization",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Organization"
          }
        ]
      }
    ]
  }
}