John Moehrke Test ValueSets Example
0.1.0 - ci-build International flag

John Moehrke Test ValueSets Example, published by John Moehrke (Moehrke Research LLC). This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/JohnMoehrke/test-valuesets/ and changes regularly. See the Directory of published versions

: test codeSystem with various properties - TTL Representation

Active as of 2026-01-30

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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:id [ fhir:v "cs-testy"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem cs-testy</b></p><a name=\"cs-testy\"> </a><a name=\"hccs-testy\"> </a><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>Name</b></td><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td></tr><tr><td>Inactive</td><td>inactive</td><td>http://hl7.org/fhir/concept-properties#inactive</td><td>boolean</td></tr><tr><td>status</td><td>status</td><td>http://hl7.org/fhir/concept-properties#status</td><td>code</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://johnmoehrke.github.io/test-valuesets/CodeSystem/cs-testy</code> 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><td><b>Inactive</b></td><td><b>status</b></td></tr><tr><td style=\"white-space:nowrap\">GoodCode1<a name=\"cs-testy-GoodCode1\"> </a></td><td>Good Code 1</td><td>example Code that is good first</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">GoodCode2<a name=\"cs-testy-GoodCode2\"> </a></td><td>Good Code 2</td><td>example Code that is good second</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">GoodCode3<a name=\"cs-testy-GoodCode3\"> </a></td><td>Good Code 3</td><td>example Code that is good third</td><td/><td/></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">nothingInactive<a name=\"cs-testy-nothingInactive\"> </a></td><td>Test for Nothing Inactive</td><td>Inactive code.</td><td>true</td><td/></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">nothingRetired<a name=\"cs-testy-nothingRetired\"> </a></td><td>Test for Nothing Retired</td><td>Retired code.</td><td/><td>retired</td></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">nothingInactiveRetired<a name=\"cs-testy-nothingInactiveRetired\"> </a></td><td>Test for Nothing Inactive Retired</td><td>Inactive Retired code.</td><td>true</td><td>retired</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
fhir:v "http://johnmoehrke.github.io/test-valuesets/CodeSystem/cs-testy"^^xsd:anyURI ;
fhir:l <http://johnmoehrke.github.io/test-valuesets/CodeSystem/cs-testy>
  ] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "CS_testy"] ; # 
  fhir:title [ fhir:v "test codeSystem with various properties"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-01-30T21:46:28+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "John Moehrke (Moehrke Research LLC)"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "John Moehrke (Moehrke Research LLC)" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://healthcaresecprivacy.blogspot.com" ]     ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "JohnMoehrke@gmail.com" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Various status of codes"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [
fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>       ] ;
fhir:code [ fhir:v "001" ]     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
fhir:code [ fhir:v "inactive" ] ;
fhir:uri [
fhir:v "http://hl7.org/fhir/concept-properties#inactive"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/concept-properties#inactive>     ] ;
fhir:type [ fhir:v "boolean" ]
  ] [
fhir:code [ fhir:v "status" ] ;
fhir:uri [
fhir:v "http://hl7.org/fhir/concept-properties#status"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/concept-properties#status>     ] ;
fhir:type [ fhir:v "code" ]
  ] ) ; # 
  fhir:concept ( [
fhir:code [ fhir:v "GoodCode1" ] ;
fhir:display [ fhir:v "Good Code 1" ] ;
fhir:definition [ fhir:v "example Code that is good first" ]
  ] [
fhir:code [ fhir:v "GoodCode2" ] ;
fhir:display [ fhir:v "Good Code 2" ] ;
fhir:definition [ fhir:v "example Code that is good second" ]
  ] [
fhir:code [ fhir:v "GoodCode3" ] ;
fhir:display [ fhir:v "Good Code 3" ] ;
fhir:definition [ fhir:v "example Code that is good third" ]
  ] [
fhir:code [ fhir:v "nothingInactive" ] ;
fhir:display [ fhir:v "Test for Nothing Inactive" ] ;
fhir:definition [ fhir:v "Inactive code." ] ;
    ( fhir:property [
fhir:code [ fhir:v "inactive" ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true       ]     ] )
  ] [
fhir:code [ fhir:v "nothingRetired" ] ;
fhir:display [ fhir:v "Test for Nothing Retired" ] ;
fhir:definition [ fhir:v "Retired code." ] ;
    ( fhir:property [
fhir:code [ fhir:v "status" ] ;
fhir:value [
a fhir:Code ;
fhir:v "retired"       ]     ] )
  ] [
fhir:code [ fhir:v "nothingInactiveRetired" ] ;
fhir:display [ fhir:v "Test for Nothing Inactive Retired" ] ;
fhir:definition [ fhir:v "Inactive Retired code." ] ;
    ( fhir:property [
fhir:code [ fhir:v "inactive" ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true       ]     ] [
fhir:code [ fhir:v "status" ] ;
fhir:value [
a fhir:Code ;
fhir:v "retired"       ]     ] )
  ] ) . #