HL7 Terminology (THO)
3.1.0 - Publication International flag

This page is part of the HL7 Terminology (v3.1.0: Release) based on FHIR R4. The current version which supercedes this version is 5.2.0. For a full list of available versions, see the Directory of published versions

: locationRelationship - TTL Representation

Active as of 2019-12-01

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:CodeSystem;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "v2-0325"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Properties</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>URL</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>status</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#status</td><td>code</td><td>Status of the concept</td></tr><tr><td>deprecated</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated</td><td>code</td><td>Version of HL7 in which the code was deprecated</td></tr></table><p>This code system http://terminology.hl7.org/CodeSystem/v2-0325 defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">RX<a name=\"v2-0325-RX\"> </a></td><td>Nearest  pharmacy</td><td>Nearest  pharmacy</td></tr><tr><td style=\"white-space:nowrap\">RX2<a name=\"v2-0325-RX2\"> </a></td><td>Second nearest pharmacy</td><td>Second nearest pharmacy</td></tr><tr><td style=\"white-space:nowrap\">LAB<a name=\"v2-0325-LAB\"> </a></td><td>Nearest  lab</td><td>Nearest  lab</td></tr><tr><td style=\"white-space:nowrap\">LB2<a name=\"v2-0325-LB2\"> </a></td><td>Second nearest lab</td><td>Second nearest lab</td></tr><tr><td style=\"white-space:nowrap\">DTY<a name=\"v2-0325-DTY\"> </a></td><td>Nearest  dietary location</td><td>Nearest  dietary location</td></tr><tr><td style=\"white-space:nowrap\">ALI<a name=\"v2-0325-ALI\"> </a></td><td>Location Alias(es)</td><td>Location Alias(es)</td></tr><tr><td style=\"white-space:nowrap\">PAR<a name=\"v2-0325-PAR\"> </a></td><td>Parent location</td><td>Parent location</td></tr></table></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.valueCode [ fhir:value "inm" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.valueCode [ fhir:value "pa" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0325"];
  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.18.198" ]
  ];
  fhir:CodeSystem.version [ fhir:value "2.1.0"];
  fhir:CodeSystem.name [ fhir:value "LocationRelationship"];
  fhir:CodeSystem.title [ fhir:value "locationRelationship"];
  fhir:CodeSystem.status [ fhir:value "active"];
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean];
  fhir:CodeSystem.date [ fhir:value "2019-12-01"^^xsd:date];
  fhir:CodeSystem.publisher [ fhir:value "HL7, Inc"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/" ]     ]
  ];
  fhir:CodeSystem.description [ fhir:value "Code system of concepts specifying an identifier code to show which relationship is being communicated with the segment.  Used in HL7 Version 2.x messaging in the Location Relationship (LRL) segment."];
  fhir:CodeSystem.purpose [ fhir:value "Underlying Master Code System for V2 table 0325 (Location Relationship ID)"];
  fhir:CodeSystem.copyright [ fhir:value "Copyright HL7. Licensed under creative commons public domain"];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean];
  fhir:CodeSystem.valueSet [
     fhir:value "http://terminology.hl7.org/ValueSet/v2-0325";
     fhir:link <http://terminology.hl7.org/ValueSet/v2-0325>
  ];
  fhir:CodeSystem.hierarchyMeaning [ fhir:value "is-a"];
  fhir:CodeSystem.compositional [ fhir:value "false"^^xsd:boolean];
  fhir:CodeSystem.versionNeeded [ fhir:value "false"^^xsd:boolean];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.property [
     fhir:index 0;
     fhir:CodeSystem.property.code [ fhir:value "status" ];
     fhir:CodeSystem.property.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#status" ];
     fhir:CodeSystem.property.description [ fhir:value "Status of the concept" ];
     fhir:CodeSystem.property.type [ fhir:value "code" ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.property.code [ fhir:value "deprecated" ];
     fhir:CodeSystem.property.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated" ];
     fhir:CodeSystem.property.description [ fhir:value "Version of HL7 in which the code was deprecated" ];
     fhir:CodeSystem.property.type [ fhir:value "code" ]
  ];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:Element.id [ fhir:value "3052" ];
     fhir:CodeSystem.concept.code [ fhir:value "RX" ];
     fhir:CodeSystem.concept.display [ fhir:value "Nearest  pharmacy" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Nearest  pharmacy" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ], [
     fhir:index 1;
     fhir:Element.id [ fhir:value "3053" ];
     fhir:CodeSystem.concept.code [ fhir:value "RX2" ];
     fhir:CodeSystem.concept.display [ fhir:value "Second nearest pharmacy" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Second nearest pharmacy" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ], [
     fhir:index 2;
     fhir:Element.id [ fhir:value "3054" ];
     fhir:CodeSystem.concept.code [ fhir:value "LAB" ];
     fhir:CodeSystem.concept.display [ fhir:value "Nearest  lab" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Nearest  lab" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ], [
     fhir:index 3;
     fhir:Element.id [ fhir:value "3055" ];
     fhir:CodeSystem.concept.code [ fhir:value "LB2" ];
     fhir:CodeSystem.concept.display [ fhir:value "Second nearest lab" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Second nearest lab" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ], [
     fhir:index 4;
     fhir:Element.id [ fhir:value "3056" ];
     fhir:CodeSystem.concept.code [ fhir:value "DTY" ];
     fhir:CodeSystem.concept.display [ fhir:value "Nearest  dietary location" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Nearest  dietary location" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ], [
     fhir:index 5;
     fhir:Element.id [ fhir:value "3057" ];
     fhir:CodeSystem.concept.code [ fhir:value "ALI" ];
     fhir:CodeSystem.concept.display [ fhir:value "Location Alias(es)" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Location Alias(es)" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ], [
     fhir:index 6;
     fhir:Element.id [ fhir:value "3058" ];
     fhir:CodeSystem.concept.code [ fhir:value "PAR" ];
     fhir:CodeSystem.concept.display [ fhir:value "Parent location" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Parent location" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "A" ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.