This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
Example CodeSystem/example (XML)
Raw XML (canonical form + also see XML Format Specification)
Jump past Narrative
Simple Code System (id = "example")
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="example"/>
<meta>
<profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/>
</meta>
<text>
<status value="additional"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p> CodeSystem "ACME Codes for Cholesterol": This is an example code system
that includes
all the codes for serum cholesterol defined by ACME inc.</p>
<p> Developed by: FHIR project team (example)</p>
<p> Published for testing on 28-Jan 2016</p>
<p> This code system defines all the ACME codes for serum cholesterol:</p>
<table class="grid">
<tr>
<td>
<b> Code</b>
</td>
<td>
<b> Display</b>
</td>
<td>
<b> Definition</b>
</td>
</tr>
<tr>
<td> chol-mmol</td>
<td> SChol (mmol/L)</td>
<td> Serum Cholesterol, in mmol/L</td>
</tr>
<tr>
<td> chol-mass</td>
<td> SChol (mg/L)</td>
<td> Serum Cholesterol, in mg/L</td>
</tr>
<tr>
<td> chol</td>
<td> SChol</td>
<td> Serum Cholesterol</td>
</tr>
</table>
</div>
</text>
<url value="http://hl7.org/fhir/CodeSystem/example"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.4.1827"/>
</identifier>
<identifier>
<system value="http://acme.com/identifiers/codesystems"/>
<value value="internal-cholesterol-inl"/>
</identifier>
<version value="5.0.0"/>
<name value="ACMECholCodesBlood"/>
<title value="ACME Codes for Cholesterol in Serum/Plasma"/>
<status value="draft"/>
<experimental value="true"/>
<date value="2016-01-28"/>
<publisher value="Acme Co"/>
<contact>
<name value="FHIR project team"/>
<telecom>
<system value="url"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<description value="This is an example code system that includes all the ACME codes for serum/plasma
cholesterol from v2.36."/>
<caseSensitive value="true"/>
<content value="complete"/>
<filter>
<code value="acme-plasma"/>
<description value="An internal filter used to select codes that are only used with plasma"/>
<operator value="="/>
<value value="the value of this filter is either 'true' or 'false'"/>
</filter>
<concept>
<code value="chol-mmol"/>
<display value="SChol (mmol/L)"/>
<definition value="Serum Cholesterol, in mmol/L"/>
<designation>
<use>
<system value="http://acme.com/config/fhir/codesystems/internal"/>
<code value="internal-label"/>
</use>
<value value="From ACME POC Testing"/>
</designation>
</concept>
<concept>
<code value="chol-mass"/>
<display value="SChol (mg/L)"/>
<definition value="Serum Cholesterol, in mg/L"/>
<designation>
<use>
<system value="http://acme.com/config/fhir/codesystems/internal"/>
<code value="internal-label"/>
</use>
<value value="From Paragon Labs"/>
</designation>
</concept>
<concept>
<code value="chol"/>
<display value="SChol"/>
<definition value="Serum Cholesterol"/>
<designation>
<use>
<system value="http://acme.com/config/fhir/codesystems/internal"/>
<code value="internal-label"/>
</use>
<value value="Obdurate Labs uses this with both kinds of units..."/>
</designation>
</concept>
</CodeSystem>
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.