{
  "resourceType": "StructureDefinition",
  "url": "https://nshealth.ca/fhir/LogicalModel-HealthcareRegistry-Location",
  "name": "LogicalModelHealthcareRegistryLocation",
  "status": "draft",
  "description": "A model to describe the data items required to represent a physical location within the Health Service Registry.\r\nThe location is owned by an Organization and healthcare services may be delivered from the location.",
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": false,
  "type": "https://nshealth.ca/fhir/LogicalModel-HealthcareRegistry-Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "LogicalModel-HealthcareRegistry-Location",
        "path": "LogicalModel-HealthcareRegistry-Location",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "LogicalModel-HealthcareRegistry-Location.status",
        "path": "LogicalModel-HealthcareRegistry-Location.status",
        "short": "Status",
        "definition": "The status of the location (note will need to align to Location Resource in due course)\r\nactive | suspended | inactive",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/code"
            ]
          }
        ]
      },
      {
        "id": "LogicalModel-HealthcareRegistry-Location.operationalStatus",
        "path": "LogicalModel-HealthcareRegistry-Location.operationalStatus",
        "short": "The operational status of the location",
        "comment": "This will end up being an extension on the FHIR profile.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Coding"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://nshealth.ca/fhir/ValueSet/LocationOperationalStatus"
        }
      },
      {
        "id": "LogicalModel-HealthcareRegistry-Location.name",
        "path": "LogicalModel-HealthcareRegistry-Location.name",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "LogicalModel-HealthcareRegistry-Location.description",
        "path": "LogicalModel-HealthcareRegistry-Location.description",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/string"
            ]
          }
        ]
      },
      {
        "id": "LogicalModel-HealthcareRegistry-Location.type",
        "path": "LogicalModel-HealthcareRegistry-Location.type",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://nshealth.ca/fhir/ValueSet/LocationFunctionType"
        }
      },
      {
        "id": "LogicalModel-HealthcareRegistry-Location.physicalType",
        "path": "LogicalModel-HealthcareRegistry-Location.physicalType",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Coding"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://nshealth.ca/fhir/ValueSet/LocationPhysicalType"
        }
      },
      {
        "id": "LogicalModel-HealthcareRegistry-Location.address",
        "path": "LogicalModel-HealthcareRegistry-Location.address",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Address"
            ]
          }
        ]
      },
      {
        "id": "LogicalModel-HealthcareRegistry-Location.zone",
        "path": "LogicalModel-HealthcareRegistry-Location.zone",
        "comment": "This will end up being an extension on the FHIR profile.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Coding"
            ]
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "https://nshealth.ca/fhir/ValueSet/NSHAManagementZone"
        }
      },
      {
        "id": "LogicalModel-HealthcareRegistry-Location.cluster",
        "path": "LogicalModel-HealthcareRegistry-Location.cluster",
        "comment": "This will end up being an extension on the FHIR profile.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Coding"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://nshealth.ca/fhir/ValueSet/NSHAManagementCluster"
        }
      },
      {
        "id": "LogicalModel-HealthcareRegistry-Location.position",
        "path": "LogicalModel-HealthcareRegistry-Location.position",
        "short": "The absolute geographic location",
        "definition": "The absolute geographic location",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "LogicalModel-HealthcareRegistry-Location.position.longitude",
        "path": "LogicalModel-HealthcareRegistry-Location.position.longitude",
        "short": "Longitude with WGS84 datum",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      },
      {
        "id": "LogicalModel-HealthcareRegistry-Location.position.latitude",
        "path": "LogicalModel-HealthcareRegistry-Location.position.latitude",
        "short": "Latitude with WGS84 datum",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/decimal"
            ]
          }
        ]
      }
    ]
  }
}