@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "location-physical-type"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2020-04-09T21:10:28.568+00:00" ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem";
       fhir:index 0
     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "pa" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "1" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/location-physical-type"];
  fhir:CodeSystem.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.1.1108" ]
  ];
  fhir:CodeSystem.version [ fhir:value "2.0.0"];
  fhir:CodeSystem.name [ fhir:value "LocationType"];
  fhir:CodeSystem.title [ fhir:value "Location type"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2024-02-15T19:01:04+00:00"];
  fhir:CodeSystem.publisher [ fhir:value "Health Level Seven International"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org" ]
     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "hq@HL7.org" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "This example value set defines a set of codes that can be used to indicate the physical form of the Location.\r\rThis includes several 'non physical' codes which are still considered a location."];
  fhir:CodeSystem.copyright [ fhir:value "This material derives from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license"];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/location-physical-type"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "si" ];
     fhir:CodeSystem.display [ fhir:value "Site" ];
     fhir:CodeSystem.definition [ fhir:value "A collection of buildings or other locations such as a site or a campus." ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.code [ fhir:value "bu" ];
     fhir:CodeSystem.display [ fhir:value "Building" ];
     fhir:CodeSystem.definition [ fhir:value "Any Building or structure. This may contain rooms, corridors, wings, etc. It might not have walls, or a roof, but is considered a defined/allocated space." ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.code [ fhir:value "wi" ];
     fhir:CodeSystem.display [ fhir:value "Wing" ];
     fhir:CodeSystem.definition [ fhir:value "A Wing within a Building, this often contains levels, rooms and corridors." ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.code [ fhir:value "wa" ];
     fhir:CodeSystem.display [ fhir:value "Ward" ];
     fhir:CodeSystem.definition [ fhir:value "A Ward is a section of a medical facility that may contain rooms and other types of location." ]
  ], [
     fhir:index 4;
     fhir:CodeSystem.code [ fhir:value "lvl" ];
     fhir:CodeSystem.display [ fhir:value "Level" ];
     fhir:CodeSystem.definition [ fhir:value "A Level in a multi-level Building/Structure." ]
  ], [
     fhir:index 5;
     fhir:CodeSystem.code [ fhir:value "co" ];
     fhir:CodeSystem.display [ fhir:value "Corridor" ];
     fhir:CodeSystem.definition [ fhir:value "Any corridor within a Building, that may connect rooms." ]
  ], [
     fhir:index 6;
     fhir:CodeSystem.code [ fhir:value "ro" ];
     fhir:CodeSystem.display [ fhir:value "Room" ];
     fhir:CodeSystem.definition [ fhir:value "A space that is allocated as a room, it may have walls/roof etc., but does not require these." ]
  ], [
     fhir:index 7;
     fhir:CodeSystem.code [ fhir:value "bd" ];
     fhir:CodeSystem.display [ fhir:value "Bed" ];
     fhir:CodeSystem.definition [ fhir:value "A space that is allocated for sleeping/laying on. This is not the physical bed/trolley that may be moved about, but the space it may occupy." ]
  ], [
     fhir:index 8;
     fhir:CodeSystem.code [ fhir:value "ve" ];
     fhir:CodeSystem.display [ fhir:value "Vehicle" ];
     fhir:CodeSystem.definition [ fhir:value "A means of transportation." ]
  ], [
     fhir:index 9;
     fhir:CodeSystem.code [ fhir:value "ho" ];
     fhir:CodeSystem.display [ fhir:value "House" ];
     fhir:CodeSystem.definition [ fhir:value "A residential dwelling. Usually used to reference a location that a person/patient may reside." ]
  ], [
     fhir:index 10;
     fhir:CodeSystem.code [ fhir:value "ca" ];
     fhir:CodeSystem.display [ fhir:value "Cabinet" ];
     fhir:CodeSystem.definition [ fhir:value "A container that can store goods, equipment, medications or other items." ]
  ], [
     fhir:index 11;
     fhir:CodeSystem.code [ fhir:value "rd" ];
     fhir:CodeSystem.display [ fhir:value "Road" ];
     fhir:CodeSystem.definition [ fhir:value "A defined path to travel between 2 points that has a known name." ]
  ], [
     fhir:index 12;
     fhir:CodeSystem.code [ fhir:value "area" ];
     fhir:CodeSystem.display [ fhir:value "Area" ];
     fhir:CodeSystem.definition [ fhir:value "A defined physical boundary of something, such as a flood risk zone, region, postcode" ]
  ], [
     fhir:index 13;
     fhir:CodeSystem.code [ fhir:value "jdn" ];
     fhir:CodeSystem.display [ fhir:value "Jurisdiction" ];
     fhir:CodeSystem.definition [ fhir:value "A wide scope that covers a conceptual domain, such as a Nation (Country wide community or Federal Government - e.g. Ministry of Health),  Province or State (community or Government), Business (throughout the enterprise), Nation with a business scope of an agency (e.g. CDC, FDA etc.) or a Business segment (UK Pharmacy), not just an physical boundary" ]
  ], [
     fhir:index 14;
     fhir:CodeSystem.code [ fhir:value "vi" ];
     fhir:CodeSystem.display [ fhir:value "Virtual" ];
     fhir:CodeSystem.definition [ fhir:value "A location that is virtual in nature, such as a conference call or virtual meeting space" ]
  ] .

# -------------------------------------------------------------------------------------

