@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 -------------------------------------------------------------------

<http://terminology.hl7.org/CodeSystem/v2-0939> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v2-0939"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>URI</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><tr><td>v2-concComment</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concComment</td><td>string</td><td>V2 Concept Comment</td></tr><tr><td>v2-concCommentAsPub</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concCommentAsPub</td><td>string</td><td>V2 Concept Comment As Published</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/v2-0939</code> defines the following codes in a Is-A hierarchy:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>V2 Concept Comment</b></td><td><b>V2 Concept Comment As Published</b></td></tr><tr><td style=\"white-space:nowrap\">OBR-OBX<a name=\"v2-0939-OBR-OBX\"> </a></td><td>OBX segment following an OBR segment</td><td>OBX segment following an OBR segment</td><td>For responses related to the test order</td><td>For responses related to the test order</td></tr><tr><td style=\"white-space:nowrap\">SPM-OBX<a name=\"v2-0939-SPM-OBX\"> </a></td><td>OBX segment following an SPM segment</td><td>OBX segment following an SPM segment</td><td>For responses related to the specimen</td><td>For responses related to the specimen</td></tr><tr><td style=\"white-space:nowrap\">DG1-3<a name=\"v2-0939-DG1-3\"> </a></td><td>Diagnosis Code</td><td>Diagnosis Code</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">NK1-11<a name=\"v2-0939-NK1-11\"> </a></td><td>Next of Kin / Associated Parties Job Code/Class</td><td>Next of Kin / Associated Parties Job Code/Class</td><td>Used to convey patient's or next of kin's employment job class code</td><td>Used to convey patient's or next of kin's employment job class code</td></tr><tr><td style=\"white-space:nowrap\">NK1-13<a name=\"v2-0939-NK1-13\"> </a></td><td>Organization Name - NK1</td><td>Organization Name - NK1</td><td>Next of kin's organization name</td><td>Next of kin's organization name</td></tr><tr><td style=\"white-space:nowrap\">NK1-28<a name=\"v2-0939-NK1-28\"> </a></td><td>Ethnic Group</td><td>Ethnic Group</td><td>Next of kin's ethnicity</td><td>Next of kin's ethnicity</td></tr><tr><td style=\"white-space:nowrap\">NK1-35<a name=\"v2-0939-NK1-35\"> </a></td><td>Race</td><td>Race</td><td>Next of kin's race</td><td>Next of kin's race</td></tr><tr><td style=\"white-space:nowrap\">OBR-16<a name=\"v2-0939-OBR-16\"> </a></td><td>Ordering Provider</td><td>Ordering Provider</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">OBR-13<a name=\"v2-0939-OBR-13\"> </a></td><td>Relevant Clinical Information</td><td>Relevant Clinical Information</td><td>The purpose varies based on the AOE referencing this field.</td><td>The purpose varies based on the AOE referencing this field.</td></tr><tr><td style=\"white-space:nowrap\">OBR-49<a name=\"v2-0939-OBR-49\"> </a></td><td>Result Handling</td><td>Result Handling</td><td>This was used for call or fax results back</td><td>This was used for call or fax results back</td></tr><tr><td style=\"white-space:nowrap\">PID-11<a name=\"v2-0939-PID-11\"> </a></td><td>Patient Address</td><td>Patient Address</td><td>Applies to patient</td><td>Applies to patient</td></tr><tr><td style=\"white-space:nowrap\">PID-3<a name=\"v2-0939-PID-3\"> </a></td><td>Patient Identifier List</td><td>Patient Identifier List</td><td>Applies to patient</td><td>Applies to patient</td></tr><tr><td style=\"white-space:nowrap\">PID-5<a name=\"v2-0939-PID-5\"> </a></td><td>Patient Name</td><td>Patient Name</td><td>Applies to patient</td><td>Applies to patient</td></tr><tr><td style=\"white-space:nowrap\">PID-6<a name=\"v2-0939-PID-6\"> </a></td><td>Mother's Maiden Name</td><td>Mother's Maiden Name</td><td>Applies to patient</td><td>Applies to patient</td></tr><tr><td style=\"white-space:nowrap\">PID-7<a name=\"v2-0939-PID-7\"> </a></td><td>Date/Time of Birth</td><td>Date/Time of Birth</td><td>Applies to patient</td><td>Applies to patient</td></tr><tr><td style=\"white-space:nowrap\">PID-13<a name=\"v2-0939-PID-13\"> </a></td><td>Phone Number - Home</td><td>Phone Number - Home</td><td>deprecated field as of v2.7</td><td>deprecated field as of v2.7</td></tr><tr><td style=\"white-space:nowrap\">PID-14<a name=\"v2-0939-PID-14\"> </a></td><td>Phone Number - Business</td><td>Phone Number - Business</td><td>deprecated field as of v2.7</td><td>deprecated field as of v2.7</td></tr><tr><td style=\"white-space:nowrap\">PID-40<a name=\"v2-0939-PID-40\"> </a></td><td>Phone Number</td><td>Phone Number</td><td>New field in V2.7</td><td>New field in V2.7</td></tr><tr><td style=\"white-space:nowrap\">PRT-5<a name=\"v2-0939-PRT-5\"> </a></td><td>Participation Person</td><td>Participation Person</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">SPM-4<a name=\"v2-0939-SPM-4\"> </a></td><td>Specimen Type</td><td>Specimen Type</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">SPM-8<a name=\"v2-0939-SPM-8\"> </a></td><td>Specimen Source Site</td><td>Specimen Source Site</td><td/><td/></tr></table></div>"
  ] ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0939"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.18.442" ]
  ] ) ; # 
  fhir:version [ fhir:v "2.0.0"] ; # 
  fhir:name [ fhir:v "CommunicationLocation"] ; # 
  fhir:title [ fhir:v "communicationLocation"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2019-12-01"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Health Level Seven International"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "hq@HL7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "HL7-defined code system of concepts specifying the communication location.  Used in HL7 Version 2.x messaging in the OMC segment."] ; # 
  fhir:purpose [ fhir:v "Underlying Master Code System for V2 table 0939 (Communication Location)"] ; # 
  fhir:copyright [ fhir:v "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:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:valueSet [
     fhir:v "http://terminology.hl7.org/ValueSet/v2-0939"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/v2-0939>
  ] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:compositional [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:versionNeeded [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:code [ fhir:v "status" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#status"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Status of the concept" ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "deprecated" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Version of HL7 in which the code was deprecated" ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "v2-concComment" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concComment"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "V2 Concept Comment" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concCommentAsPub"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "V2 Concept Comment As Published" ] ;
     fhir:type [ fhir:v "string" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:id [ fhir:v "6724" ] ;
     fhir:code [ fhir:v "OBR-OBX" ] ;
     fhir:display [ fhir:v "OBX segment following an OBR segment" ] ;
     fhir:definition [ fhir:v "OBX segment following an OBR segment" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "For responses related to the test order" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "For responses related to the test order" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6725" ] ;
     fhir:code [ fhir:v "SPM-OBX" ] ;
     fhir:display [ fhir:v "OBX segment following an SPM segment" ] ;
     fhir:definition [ fhir:v "OBX segment following an SPM segment" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "For responses related to the specimen" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "For responses related to the specimen" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6726" ] ;
     fhir:code [ fhir:v "DG1-3" ] ;
     fhir:display [ fhir:v "Diagnosis Code" ] ;
     fhir:definition [ fhir:v "Diagnosis Code" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6727" ] ;
     fhir:code [ fhir:v "NK1-11" ] ;
     fhir:display [ fhir:v "Next of Kin / Associated Parties Job Code/Class" ] ;
     fhir:definition [ fhir:v "Next of Kin / Associated Parties Job Code/Class" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Used to convey patient's or next of kin's employment job class code" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Used to convey patient's or next of kin's employment job class code" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6728" ] ;
     fhir:code [ fhir:v "NK1-13" ] ;
     fhir:display [ fhir:v "Organization Name - NK1" ] ;
     fhir:definition [ fhir:v "Organization Name - NK1" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Next of kin's organization name" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Next of kin's organization name" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6729" ] ;
     fhir:code [ fhir:v "NK1-28" ] ;
     fhir:display [ fhir:v "Ethnic Group" ] ;
     fhir:definition [ fhir:v "Ethnic Group" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Next of kin's ethnicity" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Next of kin's ethnicity" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6730" ] ;
     fhir:code [ fhir:v "NK1-35" ] ;
     fhir:display [ fhir:v "Race" ] ;
     fhir:definition [ fhir:v "Race" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Next of kin's race" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Next of kin's race" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6731" ] ;
     fhir:code [ fhir:v "OBR-16" ] ;
     fhir:display [ fhir:v "Ordering Provider" ] ;
     fhir:definition [ fhir:v "Ordering Provider" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6732" ] ;
     fhir:code [ fhir:v "OBR-13" ] ;
     fhir:display [ fhir:v "Relevant Clinical Information" ] ;
     fhir:definition [ fhir:v "Relevant Clinical Information" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "The purpose varies based on the AOE referencing this field." ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "The purpose varies based on the AOE referencing this field." ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6733" ] ;
     fhir:code [ fhir:v "OBR-49" ] ;
     fhir:display [ fhir:v "Result Handling" ] ;
     fhir:definition [ fhir:v "Result Handling" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "This was used for call or fax results back" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "This was used for call or fax results back" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6734" ] ;
     fhir:code [ fhir:v "PID-11" ] ;
     fhir:display [ fhir:v "Patient Address" ] ;
     fhir:definition [ fhir:v "Patient Address" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Applies to patient" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Applies to patient" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6735" ] ;
     fhir:code [ fhir:v "PID-3" ] ;
     fhir:display [ fhir:v "Patient Identifier List" ] ;
     fhir:definition [ fhir:v "Patient Identifier List" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Applies to patient" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Applies to patient" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6736" ] ;
     fhir:code [ fhir:v "PID-5" ] ;
     fhir:display [ fhir:v "Patient Name" ] ;
     fhir:definition [ fhir:v "Patient Name" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Applies to patient" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Applies to patient" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6737" ] ;
     fhir:code [ fhir:v "PID-6" ] ;
     fhir:display [ fhir:v "Mother's Maiden Name" ] ;
     fhir:definition [ fhir:v "Mother's Maiden Name" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Applies to patient" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Applies to patient" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6738" ] ;
     fhir:code [ fhir:v "PID-7" ] ;
     fhir:display [ fhir:v "Date/Time of Birth" ] ;
     fhir:definition [ fhir:v "Date/Time of Birth" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Applies to patient" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Applies to patient" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6739" ] ;
     fhir:code [ fhir:v "PID-13" ] ;
     fhir:display [ fhir:v "Phone Number - Home" ] ;
     fhir:definition [ fhir:v "Phone Number - Home" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "deprecated field as of v2.7" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "deprecated field as of v2.7" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6740" ] ;
     fhir:code [ fhir:v "PID-14" ] ;
     fhir:display [ fhir:v "Phone Number - Business" ] ;
     fhir:definition [ fhir:v "Phone Number - Business" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "deprecated field as of v2.7" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "deprecated field as of v2.7" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6741" ] ;
     fhir:code [ fhir:v "PID-40" ] ;
     fhir:display [ fhir:v "Phone Number" ] ;
     fhir:definition [ fhir:v "Phone Number" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "New field in V2.7" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "New field in V2.7" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6742" ] ;
     fhir:code [ fhir:v "PRT-5" ] ;
     fhir:display [ fhir:v "Participation Person" ] ;
     fhir:definition [ fhir:v "Participation Person" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6743" ] ;
     fhir:code [ fhir:v "SPM-4" ] ;
     fhir:display [ fhir:v "Specimen Type" ] ;
     fhir:definition [ fhir:v "Specimen Type" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6744" ] ;
     fhir:code [ fhir:v "SPM-8" ] ;
     fhir:display [ fhir:v "Specimen Source Site" ] ;
     fhir:definition [ fhir:v "Specimen Source Site" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] ) . # 

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

