R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example CodeSystem/example-metadata (Turtle)

Terminology Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

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

Example Code System Metadata

@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:id [ fhir:v "example-metadata"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablecodesystem>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>This case-sensitive code system \n        <code>http://hl7.org/fhir/CodeSystem/example-metadata</code> defines the following codes:\n      </p>\n      <table class=\"codes\">\n        <tr>\n          <td style=\"white-space:nowrap\">\n            <b>Code</b>\n          </td>\n          <td>\n            <b>Definition</b>\n          </td>\n        </tr>\n        <tr>\n          <td style=\"white-space:nowrap\">A\n            <a name=\"example-metadata-A\"> </a>\n          </td>\n          <td>A</td>\n        </tr>\n        <tr>\n          <td style=\"white-space:nowrap\">B\n            <a name=\"example-metadata-B\"> </a>\n          </td>\n          <td>B</td>\n        </tr>\n        <tr>\n          <td style=\"white-space:nowrap\">C\n            <a name=\"example-metadata-C\"> </a>\n          </td>\n          <td>C</td>\n        </tr>\n      </table>\n    </div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "vocab" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/CodeSystem/example-metadata"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.1824" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot1"] ; # 
  fhir:name [ fhir:v "ExampleMetadata"] ; # 
  fhir:title [ fhir:v "Metadata Example"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2021-07-21"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / Terminology Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/Vocab" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/Vocab/index.cfm" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This is an example code system that illustrates usage of the metadata resource elements introduced in R5"] ; # 
  fhir:approvalDate [ fhir:v "2021-07-21"^^xsd:date] ; # 
  fhir:lastReviewDate [ fhir:v "2022-07-21"^^xsd:date] ; # 
  fhir:effectivePeriod [
     fhir:start [ fhir:v "2021-08-01"^^xsd:date ] ;
     fhir:end [ fhir:v "2022-07-31"^^xsd:date ]
  ] ; # 
  fhir:topic ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/definition-topic"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "treatment" ] ;
       fhir:display [ fhir:v "Treatment" ]
     ] )
  ] ) ; # 
  fhir:author ( [
     fhir:name [ fhir:v "ACME CodeSystem Development" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://acme.org/development" ]
     ] )
  ] ) ; # 
  fhir:editor ( [
     fhir:name [ fhir:v "ACME CodeSystem Management" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://acme.org/management" ]
     ] )
  ] ) ; # 
  fhir:reviewer ( [
     fhir:name [ fhir:v "Society for Creative CodeSystem Review" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://example.org/sccr" ]
     ] )
  ] ) ; # 
  fhir:endorser ( [
     fhir:name [ fhir:v "National Foundation for CodeSystem Quality" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://example.org/nfcq" ]
     ] )
  ] ) ; # 
  fhir:relatedArtifact ( [
     fhir:type [ fhir:v "derived-from" ] ;
     fhir:resource [
       fhir:v "http://hl7.org/fhir/CodeSystem/example"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/CodeSystem/example>
     ]
  ] ) ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "A" ] ;
     fhir:display [ fhir:v "A" ] ;
     fhir:definition [ fhir:v "A" ]
  ] [
     fhir:code [ fhir:v "B" ] ;
     fhir:display [ fhir:v "B" ] ;
     fhir:definition [ fhir:v "B" ]
  ] [
     fhir:code [ fhir:v "C" ] ;
     fhir:display [ fhir:v "C" ] ;
     fhir:definition [ fhir:v "C" ]
  ] )] . # 

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


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.