Release 5

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 (JSON)

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

Raw JSON (canonical form + also see JSON Format Specification)

Simple Code System

{
  "resourceType" : "CodeSystem",
  "id" : "example",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
  },
  "text" : {
    "status" : "additional",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      \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      \n      <p>Developed by: FHIR project team (example)</p>\n      \n      <p>Published for testing on 28-Jan 2016</p>\n      \n      <p>This code system defines all the ACME codes for serum cholesterol:</p>\n      \n      <table class=\"grid\">\n        \n        <tr>\n          \n          <td>\n            \n            <b>Code</b>\n          \n          </td>\n          \n          <td>\n            \n            <b>Display</b>\n          \n          </td>\n          \n          <td>\n            \n            <b>Definition</b>\n          \n          </td>\n        \n        </tr>\n        \n        <tr>\n          \n          <td>chol-mmol</td>\n          \n          <td>SChol (mmol/L)</td>\n          \n          <td>Serum Cholesterol, in mmol/L</td>\n        \n        </tr>\n        \n        <tr>\n          \n          <td>chol-mass</td>\n          \n          <td>SChol (mg/L)</td>\n          \n          <td>Serum Cholesterol, in mg/L</td>\n        \n        </tr>\n        \n        <tr>\n          \n          <td>chol</td>\n          \n          <td>SChol</td>\n          \n          <td>Serum Cholesterol</td>\n        \n        </tr>\n      \n      </table>\n    \n    </div>"
  },
  "url" : "http://hl7.org/fhir/CodeSystem/example",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.4.1827"
  },
  {
    "system" : "http://acme.com/identifiers/codesystems",
    "value" : "internal-cholesterol-inl"
  }],
  "version" : "5.0.0",
  "name" : "ACMECholCodesBlood",
  "title" : "ACME Codes for Cholesterol in Serum/Plasma",
  "status" : "draft",
  "experimental" : true,
  "date" : "2016-01-28",
  "publisher" : "Acme Co",
  "contact" : [{
    "name" : "FHIR project team",
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  }],
  "description" : "This is an example code system that includes all the ACME codes for serum/plasma cholesterol from v2.36.",
  "caseSensitive" : true,
  "content" : "complete",
  "filter" : [{
    "code" : "acme-plasma",
    "description" : "An internal filter used to select codes that are only used with plasma",
    "operator" : ["="],
    "value" : "the value of this filter is either 'true' or 'false'"
  }],
  "concept" : [{
    "code" : "chol-mmol",
    "display" : "SChol (mmol/L)",
    "definition" : "Serum Cholesterol, in mmol/L",
    "designation" : [{
      "use" : {
        "system" : "http://acme.com/config/fhir/codesystems/internal",
        "code" : "internal-label"
      },
      "value" : "From ACME POC Testing"
    }]
  },
  {
    "code" : "chol-mass",
    "display" : "SChol (mg/L)",
    "definition" : "Serum Cholesterol, in mg/L",
    "designation" : [{
      "use" : {
        "system" : "http://acme.com/config/fhir/codesystems/internal",
        "code" : "internal-label"
      },
      "value" : "From Paragon Labs"
    }]
  },
  {
    "code" : "chol",
    "display" : "SChol",
    "definition" : "Serum Cholesterol",
    "designation" : [{
      "use" : {
        "system" : "http://acme.com/config/fhir/codesystems/internal",
        "code" : "internal-label"
      },
      "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.