Open Nursing Core FHIR Implementation Guide (ONC-IG)
1.0.0 - release

Open Nursing Core FHIR Implementation Guide (ONC-IG) - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: ONC NEWS2 Auto-Calculation Logic - TTL Representation

Active as of 2026-07-10

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/Library/onc-news2-cql> a fhir:Library ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "onc-news2-cql"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n<div>\n    <table class=\"grid dict\">\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Title: </b></th>\n            <td style=\"padding-left: 4px;\">ONC NEWS2 Auto-Calculation Logic</td>\n        </tr>\n        \n\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Id: </b></th>\n            <td style=\"padding-left: 4px;\">onc-news2-cql</td>\n        </tr>\n        \n\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">1.0.0</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Url: </b></th>\n            <td style=\"padding-left: 4px;\"><a href=\"Library-onc-news2-cql.html\">ONC NEWS2 Auto-Calculation Logic</a></td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Experimental: </b></th>\n            <td style=\"padding-left: 4px;\">true</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Type: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>system: </b> <span><a href=\"http://terminology.hl7.org/7.2.0/CodeSystem-library-type.html\">http://terminology.hl7.org/CodeSystem/library-type</a></span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>logic-library</span>\n                        </p>\n                        \n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Date: </b></th>\n            <td style=\"padding-left: 4px;\">2026-07-10 11:01:35+0000</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Publisher: </b></th>\n            <td style=\"padding-left: 4px;\">The Open Nursing Community</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Description: </b></th>\n            <td style=\"padding-left: 4px;\"><div><p>Logic library for calculating National Early Warning Score 2 (NEWS2) from FHIR Observations.</p>\n</div></td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n        \n        <tr>\n          <td colspan=\"2\">\n            <table>\n              <tr><th><a id=\"cql-content\"><b>Content: </b></a> text/cql</th></tr>\n              <tr><td><pre><code class=\"language-cql\"/></pre></td></tr>\n            </table>\n          </td>\n        </tr>\n        \n        \n        \n    </table>\n</div>\n</div>"
  ] ;
  fhir:Library.url [ fhir:value "http://opennursingcore.org/Library/ONC-NEWS2-CQL"] ;
  fhir:Library.version [ fhir:value "1.0.0"] ;
  fhir:Library.name [ fhir:value "ONC_NEWS2_Logic"] ;
  fhir:Library.title [ fhir:value "ONC NEWS2 Auto-Calculation Logic"] ;
  fhir:Library.status [ fhir:value "active"] ;
  fhir:Library.experimental [ fhir:value "true"^^xsd:boolean] ;
  fhir:Library.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/library-type" ] ;
       fhir:Coding.code [ fhir:value "logic-library" ]
     ]
  ] ;
  fhir:Library.date [ fhir:value "2026-07-10T11:01:35+00:00"^^xsd:dateTime] ;
  fhir:Library.publisher [ fhir:value "The Open Nursing Community"] ;
  fhir:Library.description [ fhir:value "Logic library for calculating National Early Warning Score 2 (NEWS2) from FHIR Observations."] ;
  fhir:Library.content [
     fhir:index 0 ;
     fhir:Attachment.contentType [ fhir:value "text/cql" ] ;
     fhir:Attachment.url [ fhir:value "input/cql/ONC_NEWS2_Logic.cql" ]
  ] .

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

<http://hl7.org/fhir/Library/onc-news2-cql.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Library/onc-news2-cql.ttl> .