Release 4B

This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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

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

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

Simple Code System

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "example"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem";
       fhir:index 0
     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/CodeSystem/example"];
  fhir:CodeSystem.identifier [
     fhir:index 0;
     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 "ACMECholCodesBlood"];
  fhir:CodeSystem.title [ fhir:value "ACME Codes for Cholesterol in Serum/Plasma"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "true"];
  fhir:CodeSystem.date [ fhir:value "2016-01-28"];
  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.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"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.filter [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "acme-plasma" ];
     fhir:CodeSystem.description [ fhir:value "An internal filter used to select codes that are only used with plasma" ];
     fhir:CodeSystem.operator [
       fhir:value "=";
       fhir:index 0
     ];
     fhir:CodeSystem.value [ fhir:value "the value of this filter is either 'true' or 'false'" ]
  ];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "chol-mmol" ];
     fhir:CodeSystem.display [ fhir:value "SChol (mmol/L)" ];
     fhir:CodeSystem.definition [ fhir:value "Serum Cholesterol, in mmol/L" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://acme.com/config/fhir/codesystems/internal" ];
         fhir:Coding.code [ fhir:value "internal-label" ]
       ];
       fhir:CodeSystem.value [ fhir:value "From ACME POC Testing" ]
     ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.code [ fhir:value "chol-mass" ];
     fhir:CodeSystem.display [ fhir:value "SChol (mg/L)" ];
     fhir:CodeSystem.definition [ fhir:value "Serum Cholesterol, in mg/L" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://acme.com/config/fhir/codesystems/internal" ];
         fhir:Coding.code [ fhir:value "internal-label" ]
       ];
       fhir:CodeSystem.value [ fhir:value "From Paragon Labs" ]
     ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.code [ fhir:value "chol" ];
     fhir:CodeSystem.display [ fhir:value "SChol" ];
     fhir:CodeSystem.definition [ fhir:value "Serum Cholesterol" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://acme.com/config/fhir/codesystems/internal" ];
         fhir:Coding.code [ fhir:value "internal-label" ]
       ];
       fhir:CodeSystem.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.