R6 Ballot (2nd Draft)

Publish-box (todo)

Example ValueSet/example (JSON)

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

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

ValueSet Example using enumeration of codes (extensional)

{
  "resourceType" : "ValueSet",
  "id" : "example",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"]
  },
  "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>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "vocab"
  }],
  "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" : "6.0.0-ballot2",
  "name" : "LOINCCodesForCholesterolInSerumPlasma",
  "title" : "LOINC Codes for Cholesterol in Serum/Plasma",
  "status" : "draft",
  "experimental" : true,
  "date" : "2015-06-22",
  "publisher" : "HL7 International / Terminology Infrastructure",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/Vocab"
    }]
  }],
  "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"
    }
  }],
  "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]"
      }]
    }]
  }
}

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.