Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). 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 R2

Valueset-example.json

Example ValueSet/example (JSON)

Vocabulary Terminology Infrastructure Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any No defined compartments

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

ValueSet Example using enumeration of codes (extensional)

{
  "resourceType": "ValueSet",
  "id": "example-extensional",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/StructureDefinition/shareablevalueset"
    ]

  "resourceType" : "ValueSet",
  "id" : "example",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"]

  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\t\t<p>Value set &quot;LOINC Codes for Cholesterol&quot;: This is an example value set that includes \n        all the  codes for serum cholesterol from LOINC v2.36.</p>\n\t\t\t<p>Developed by: FHIR project team (example)</p>\n\t\t\t<p>Published for testing on 13-June 2012</p>\n\t\t\t<p>This value set includes the following LOINC codes:</p>\n\t\t\t<ul>\n\t\t\t\t<li>14647-2: Cholesterol [Moles/Volume]</li>\n\t\t\t\t<li>2093-3: Cholesterol [Mass/Volume]</li>\n\t\t\t\t<li>35200-5: Cholesterol [Mass Or Moles/Volume] </li>\n\t\t\t\t<li>9342-7: Cholesterol [Percentile]</li>\n\t\t\t</ul>\n\t\t\t<p>This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.</p>\n\t\t</div>"

  "text" : {
    "status" : "additional",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\t\t\n      <p>Value set &quot;LOINC Codes for Cholesterol&quot;: This is an example value set that includes \n        all the  codes for serum cholesterol from LOINC v2.36.</p>\n\t\t\t\n      <p>Developed by: FHIR project team (example)</p>\n\t\t\t\n      <p>Published for testing on 13-June 2012</p>\n\t\t\t\n      <p>This value set includes the following LOINC codes:</p>\n\t\t\t\n      <ul>\n\t\t\t\t\n        <li>14647-2: Cholesterol [Moles/Volume]</li>\n\t\t\t\t\n        <li>2093-3: Cholesterol [Mass/Volume]</li>\n\t\t\t\t\n        <li>35200-5: Cholesterol [Mass Or Moles/Volume] </li>\n\t\t\t\t\n        <li>9342-7: Cholesterol [Percentile]</li>\n\t\t\t\n      </ul>\n\t\t\t\n      <p>This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.</p>\n\t\t\n    </div>"

  },
  "url": "http://hl7.org/fhir/ValueSet/example-extensional",
  "identifier": [
    {
      "system": "http://acme.com/identifiers/valuesets",
      "value": "loinc-cholesterol-int"
    }
  ],
  "version": "20150622",
  "name": "LOINC Codes for Cholesterol in Serum/Plasma",
  "status": "draft",
  "experimental": true,
  "date": "2015-06-22",
  "publisher": "HL7 International",
  "contact": [
    {
      "name": "FHIR project team",
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]

  "url" : "http://hl7.org/fhir/ValueSet/example",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.3.3292"
  },
  {
    "system" : "http://acme.com/identifiers/valuesets",
    "value" : "loinc-cholesterol-int"
  }],
  "version" : "5.0.0",
  "name" : "LOINCCodesForCholesterolInSerumPlasma",
  "title" : "LOINC Codes for Cholesterol in Serum/Plasma",
  "status" : "draft",
  "experimental" : true,
  "date" : "2015-06-22",
  "publisher" : "HL7 International",
  "contact" : [{
    "name" : "FHIR project team",
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  }],
  "description" : "This is an example value set that includes all the LOINC codes for serum/plasma cholesterol from v2.36.",
  "useContext" : [{
    "code" : {
      "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
      "code" : "age"
    },
    "valueQuantity" : {
      "value" : 18,
      "comparator" : ">",
      "unit" : "yrs",
      "system" : "http://unitsofmeasure.org",
      "code" : "a"

    }
  ],
  "description": "This is an example value set that includes all the LOINC codes for serum/plasma cholesterol from v2.36.",
  "useContext": [
    {
      "code": {
        "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code": "age"

  }],
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "US"
    }]
  }],
  "purpose" : "This value set was published by ACME Inc in order to make clear which codes are used for Cholesterol by AcmeClinicals (Adult Ambulatory care support in USA)",
  "copyright" : "This content from LOINC ® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.",
  "compose" : {
    "lockedDate" : "2012-06-13",
    "inactive" : true,
    "include" : [{
      "system" : "http://loinc.org",
      "version" : "2.36",
      "concept" : [{
        "code" : "14647-2",
        "display" : "Cholesterol [Moles/Volume]"

      },
      "valueQuantity": {
        "value": 18,
        "comparator": ">",
        "unit": "yrs",
        "system": "http://unitsofmeasure.org",
        "code": "a"
      }
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US"
        }
      ]
    }
  ],
  "purpose": "This value set was published by ACME Inc in order to make clear which codes are used for Cholesterol by AcmeClinicals (Adult Ambulatory care support in USA)",
  "copyright": "This content from LOINC ® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.",
  "compose": {
    "lockedDate": "2012-06-13",
    "inactive": true,
    "include": [

      {
        "system": "http://loinc.org",
        "version": "2.36",
        "concept": [
          {
            "code": "14647-2",
            "display": "Cholesterol [Moles/Volume]"
          },
          {
            "code": "2093-3",
            "display": "Cholesterol [Mass/Volume]"
          },
          {
            "code": "35200-5",
            "display": "Cholesterol [Mass Or Moles/Volume]"
          },
          {
            "code": "9342-7",
            "display": "Cholesterol [Percentile]"
          }
        ]
      }
    ]

        "code" : "2093-3",
        "display" : "Cholesterol [Mass/Volume]"
      },
      {
        "code" : "35200-5",
        "display" : "Cholesterol [Mass Or Moles/Volume]"
      },
      {
        "code" : "9342-7",
        "display" : "Cholesterol [Percentile]"
      }]
    }]

  }
}

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.