Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example CodeSystem/example-supplement (Turtle)

Vocabulary Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example Code System Supplement

@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 "example-supplement"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "additional" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>A supplement pack for <code>http://hl7.org/fhir/CodeSystem/example</code> that defines the administrative property 'legacy' for whether the test is currently performed </p>\n      <table class=\"grid\">\n        <tr>\n          <td>\n            <b>Code</b>\n          </td>\n          <td>\n            <b>Legacy</b>\n          </td>\n        </tr>\n        <tr>\n          <td>chol-mmol</td>\n          <td>false</td>\n        </tr>\n        <tr>\n          <td>chol-mass</td>\n          <td>true</td>\n        </tr>\n        <tr>\n          <td>chol</td>\n          <td>true</td>\n        </tr>\n      </table>\n    </div>"
  ];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/CodeSystem/example-supplement"];
  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.4.642.4.1820" ]
  ];
  fhir:CodeSystem.version [ fhir:value "201801103"];
  fhir:CodeSystem.name [ fhir:value "CholCodeLegacyStatus"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:CodeSystem.date [ fhir:value "2016-01-28"^^xsd:date];
  fhir:CodeSystem.publisher [ fhir:value "ACME Co"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "FHIR project team" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:CodeSystem.content [ fhir:value "supplement"];
  fhir:CodeSystem.supplements [
     fhir:value "http://hl7.org/fhir/CodeSystem/example";
     fhir:link <http://hl7.org/fhir/CodeSystem/example>
  ];
  fhir:CodeSystem.property [
     fhir:index 0;
     fhir:CodeSystem.property.code [ fhir:value "legacy" ];
     fhir:CodeSystem.property.description [ fhir:value "hether the test is currently performed" ];
     fhir:CodeSystem.property.type [ fhir:value "boolean" ]
  ];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.concept.code [ fhir:value "chol-mmol" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "legacy" ];
       fhir:CodeSystem.concept.property.valueBoolean [ fhir:value "false"^^xsd:boolean ]
     ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.concept.code [ fhir:value "chol-mass" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "legacy" ];
       fhir:CodeSystem.concept.property.valueBoolean [ fhir:value "true"^^xsd:boolean ]
     ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.concept.code [ fhir:value "chol" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "legacy" ];
       fhir:CodeSystem.concept.property.valueBoolean [ fhir:value "true"^^xsd:boolean ]
     ]
  ]] .

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

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

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


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.