HL7 v2.7 Vocabulary
0.2.0 - ci-build

HL7 v2.7 Vocabulary, published by HL7/FO. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/frankoemig/hl7.v2.terminology.v27/ and changes regularly. See the Directory of published versions

: Nature of Service/Test/Observation (2.7 - 1.1.0) - TTL Representation

Active as of 2026-09-22

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

<http://hl7.org/fhir/CodeSystem/natureOfServiceTestObservation> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "natureOfServiceTestObservation"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><ul><li>Include all codes defined in <a href=\"CodeSystem-natureOfServiceTestObservation.html\"><code>http://terminology.hl7.org/v2plusvocab/CodeSystem/natureOfServiceTestObservation</code></a></li></ul></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-v2versionCreated" ] ;
     fhir:Extension.valueString [ fhir:value "2.7" ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-versionHistory" ] ;
     fhir:Extension.valueString [ fhir:value "generate correct history somehow" ]
  ], [
     fhir:index 2 ;
     fhir:Extension.url [ fhir:value "http://terminology.hl7.org/v2plusvocab/StructureDefinition/codesystem-tableNo" ] ;
     fhir:Extension.valueString [ fhir:value "0174" ]
  ] ;
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/v2plusvocab/CodeSystem/natureOfServiceTestObservation"] ;
  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.90" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "http://terminology.hl7.org/v2plusvocab/CodeSystem/v2-0174" ]
  ] ;
  fhir:CodeSystem.version [ fhir:value "1.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "NatureOfServiceTestObservation"] ;
  fhir:CodeSystem.title [ fhir:value "Nature of Service/Test/Observation (2.7 - 1.1.0)"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-09-22T13:12:54+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "HL7/FO"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "HL7/FO" ] ;
     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 identification of a test battery, an entire functional procedure or study, a single test value (observation), multiple test batteries or functional procedures as an orderable unit (profile), or a single test value (observation) calculated from other independent observations, typically used as an indicator for Master Files.  Used in HL7 Version 2.x messaging in the OM1 segment."] ;
  fhir:CodeSystem.copyright [ fhir:value "HL7 Inc., 2026"] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.compositional [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.property [
     fhir:index 0 ;
     fhir:CodeSystem.property.code [ fhir:value "versionIntroduced" ] ;
     fhir:CodeSystem.property.uri [ fhir:value "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionIntroduced" ] ;
     fhir:CodeSystem.property.description [ fhir:value "version when was this code introduced" ] ;
     fhir:CodeSystem.property.type [ fhir:value "string" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.property.code [ fhir:value "versionDeprecated" ] ;
     fhir:CodeSystem.property.uri [ fhir:value "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#versionDeprecated" ] ;
     fhir:CodeSystem.property.description [ fhir:value "version when was this code deprecated" ] ;
     fhir:CodeSystem.property.type [ fhir:value "string" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.property.code [ fhir:value "status" ] ;
     fhir:CodeSystem.property.uri [ fhir:value "http://hl7.org/fhir/concept-properties#status" ] ;
     fhir:CodeSystem.property.description [ fhir:value "A code that indicates the status of the concept. Typical values are active, experimental, deprecated, and retired" ] ;
     fhir:CodeSystem.property.type [ fhir:value "code" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.property.code [ fhir:value "comment" ] ;
     fhir:CodeSystem.property.uri [ fhir:value "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#comment" ] ;
     fhir:CodeSystem.property.description [ fhir:value "A string that provides additional detail pertinent to the use or understanding of the concept" ] ;
     fhir:CodeSystem.property.type [ fhir:value "string" ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.property.code [ fhir:value "usage" ] ;
     fhir:CodeSystem.property.uri [ fhir:value "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#usage" ] ;
     fhir:CodeSystem.property.description [ fhir:value "usage notes for this code" ] ;
     fhir:CodeSystem.property.type [ fhir:value "string" ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.property.code [ fhir:value "modified" ] ;
     fhir:CodeSystem.property.uri [ fhir:value "http://terminology.hl7.org/v2plusvocab/CodeSystem/Property#modified" ] ;
     fhir:CodeSystem.property.description [ fhir:value "date of last modification" ] ;
     fhir:CodeSystem.property.type [ fhir:value "dateTime" ]
  ] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "A" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Atomic service/test/observation" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Atomic service/test/observation (test code or treatment code)" ] ;
     fhir:CodeSystem.concept.property [
       fhir:index 0 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "usage" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "can be associated with one or more OM4 (specimen) segments<p>a single direct observation and would usually be associated with an OM2 and/or OM3 segments" ]
     ], [
       fhir:index 1 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "modified" ] ;
       fhir:CodeSystem.concept.property.valueDateTime [ fhir:value "2025-08-02"^^xsd:date ]
     ], [
       fhir:index 2 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "versionIntroduced" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "2.2" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "C" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Single observation, calculated" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Single observation calculated via a rule or formula from other independent observations (e.g., Alveolar-arterial ratio, cardiac output)" ] ;
     fhir:CodeSystem.concept.property [
       fhir:index 0 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "usage" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "can be associated with one or more OM4 (specimen) segments<p>a derived quantity and would usually be associated with an OM6 segment" ]
     ], [
       fhir:index 1 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "modified" ] ;
       fhir:CodeSystem.concept.property.valueDateTime [ fhir:value "2025-08-02"^^xsd:date ]
     ], [
       fhir:index 2 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "versionIntroduced" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "2.2" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "F" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Functional procedure" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Functional procedure that may consist of one or more interrelated measures (e.g., glucose tolerance test, creatinine clearance), usually done at different times and/or on different specimens" ] ;
     fhir:CodeSystem.concept.property [
       fhir:index 0 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "usage" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "can be associated with one or more OM4 (specimen) segments<p>See comment for value S" ]
     ], [
       fhir:index 1 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "modified" ] ;
       fhir:CodeSystem.concept.property.valueDateTime [ fhir:value "2025-08-02"^^xsd:date ]
     ], [
       fhir:index 2 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "versionIntroduced" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "2.2" ]
     ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "P" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Profile or battery" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Profile or battery consisting of many independent atomic observations (e.g., SMA12, electrolytes), usually done at one instrument on one specimen" ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "de" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Batterieanordnung" ]
     ] ;
     fhir:CodeSystem.concept.property [
       fhir:index 0 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "usage" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "can be associated with one or more OM4 (specimen) segments<p>See comment for value S" ]
     ], [
       fhir:index 1 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "modified" ] ;
       fhir:CodeSystem.concept.property.valueDateTime [ fhir:value "2025-08-02"^^xsd:date ]
     ], [
       fhir:index 2 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "versionIntroduced" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "2.2" ]
     ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "S" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Superset-a set of batteries or procedures" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Superset-a set of batteries or procedures ordered under a single code unit but processed as separate batteries (e.g., routines = CBC, UA, electrolytes)<p>This set indicates that the code being described is used to order multiple service/test/observation b" ] ;
     fhir:CodeSystem.concept.property [
       fhir:index 0 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "usage" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "can be associated with one or more OM4 (specimen) segments<p>Codes P, F, and S identify sets (batteries) and should be associated with an OM5 segment that defines the list of elements.  The definitions for the contained elements would have to be sent in o" ]
     ], [
       fhir:index 1 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "modified" ] ;
       fhir:CodeSystem.concept.property.valueDateTime [ fhir:value "2025-08-02"^^xsd:date ]
     ], [
       fhir:index 2 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "versionIntroduced" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "2.2" ]
     ]
  ] .

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

<http://hl7.org/fhir/CodeSystem/natureOfServiceTestObservation.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/CodeSystem/natureOfServiceTestObservation.ttl> .