STU 3 Ballot

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). 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 R3

Codesystem-example.ttl

Raw Turtle, JSON-LD

Simple Code System

@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/example> a fhir:CodeSystem;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition";
       fhir:index 0
     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>CodeSystem &quot;ACME Codes for Cholesterol&quot;: This is an example code system that includes \n        all the codes for serum cholesterol defined by ACME inc.</p>\n      <p>Developed by: FHIR project team (example)</p>\n      <p>Published for testing on 28-Jan 2016</p>\n      <p>This code system defines all the ACME codes for serum cholesterol:</p>\n      <table class=\"grid\">\n        <tr>\n          <td>\n            <b>Code</b>\n          </td>\n          <td>\n            <b>Display</b>\n          </td>\n          <td>\n            <b>Definition</b>\n          </td>\n        </tr>\n        <tr>\n          <td>chol-mmol</td>\n          <td>SChol (mmol/L)</td>\n          <td>Serum Cholesterol, in mmol/L</td>\n        </tr>\n        <tr>\n          <td>chol-mass</td>\n          <td>SChol (mg/L)</td>\n          <td>Serum Cholesterol, in mg/L</td>\n        </tr>\n        <tr>\n          <td>chol</td>\n          <td>SChol</td>\n          <td>Serum Cholesterol</td>\n        </tr>\n      </table>\n    </div>"
  ];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/CodeSystem/example"];
  fhir:CodeSystem.identifier [
     fhir:Identifier.system [ fhir:value "http://acme.com/identifiers/codesystems" ];
     fhir:Identifier.value [ fhir:value "internal-cholesterol-inl" ]
  ];
  fhir:CodeSystem.version [ fhir:value "20160128"];
  fhir:CodeSystem.name [ fhir:value "ACME Codes for Cholesterol in Serum/Plasma"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:CodeSystem.publisher [ fhir:value "HL7 International"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:CodeSystem.contact.name [ fhir:value "FHIR project team" ];
     fhir:CodeSystem.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "other" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:CodeSystem.date [ fhir:value "2016-01-28"^^xsd:date];
  fhir:CodeSystem.description [ fhir:value "This is an example code system that includes all the ACME codes for serum/plasma cholesterol from v2.36."];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.concept.code [ fhir:value "chol-mmol" ];
     fhir:CodeSystem.concept.display [ fhir:value "SChol (mmol/L)" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Serum Cholesterol, in mmol/L" ];
     fhir:CodeSystem.concept.designation [
       fhir:index 0;
       fhir:CodeSystem.concept.designation.use [
         fhir:Coding.system [ fhir:value "http://acme.com/config/fhir/codesystems/internal" ];
         fhir:Coding.code [ fhir:value "internal-label" ]
       ];
       fhir:CodeSystem.concept.designation.value [ fhir:value "From ACME POC Testing" ]
     ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.concept.code [ fhir:value "chol-mass" ];
     fhir:CodeSystem.concept.display [ fhir:value "SChol (mg/L)" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Serum Cholesterol, in mg/L" ];
     fhir:CodeSystem.concept.designation [
       fhir:index 0;
       fhir:CodeSystem.concept.designation.use [
         fhir:Coding.system [ fhir:value "http://acme.com/config/fhir/codesystems/internal" ];
         fhir:Coding.code [ fhir:value "internal-label" ]
       ];
       fhir:CodeSystem.concept.designation.value [ fhir:value "From Paragon Labs" ]
     ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.concept.code [ fhir:value "chol" ];
     fhir:CodeSystem.concept.display [ fhir:value "SChol" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Serum Cholesterol" ];
     fhir:CodeSystem.concept.designation [
       fhir:index 0;
       fhir:CodeSystem.concept.designation.use [
         fhir:Coding.system [ fhir:value "http://acme.com/config/fhir/codesystems/internal" ];
         fhir:Coding.code [ fhir:value "internal-label" ]
       ];
       fhir:CodeSystem.concept.designation.value [ fhir:value "Obdurate Labs uses this with both kinds of units..." ]
     ]
  ] .

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


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.