R6 Ballot (2nd Draft)

Publish-box (todo)

Example ValueSet/example-expansion (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 a prepared expansion

{
  "resourceType" : "ValueSet",
  "id" : "example-expansion",
  "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      <table class=\"grid\">\n\t\t\t\t\n        <tr>\n\t\t\t\t\t\n          <td>http://loinc.org</td>\n\t\t\t\t\t\n          <td>14647-2</td>\n\t\t\t\t\t\n          <td>Cholesterol [Moles/volume] in Serum or Plasma</td>\n\t\t\t\t\n        </tr>\n\t\t\t\t\n        <tr>\n\t\t\t\t\t\n          <td colspan=\"3\">\n\t\t\t\t\t\t\n            <b>Additional Cholesterol codes</b>\n\t\t\t\t\t\n          </td>\n\t\t\t\t\n        </tr>\n\t\t\t\t\n        <tr>\n\t\t\t\t\t\n          <td>http://loinc.org</td>\n\t\t\t\t\t\n          <td>2093-3</td>\n\t\t\t\t\t\n          <td>Cholesterol [Mass/volume] in Serum or Plasma</td>\n\t\t\t\t\n        </tr>\n\t\t\t\t\n        <tr>\n\t\t\t\t\t\n          <td>http://loinc.org</td>\n\t\t\t\t\t\n          <td>48620-9</td>\n\t\t\t\t\t\n          <td>Cholesterol [Mass/volume] in Serum or Plasma ultracentrifugate</td>\n\t\t\t\t\n        </tr>\n\t\t\t\t\n        <tr>\n\t\t\t\t\t\n          <td>http://loinc.org</td>\n\t\t\t\t\t\n          <td>9342-7</td>\n\t\t\t\t\t\n          <td>Cholesterol [Percentile]</td>\n\t\t\t\t\n        </tr>\n\t\t\t\t\n        <tr>\n\t\t\t\t\t\n          <td colspan=\"3\">\n\t\t\t\t\t\t\n            <b>Cholesterol Ratios</b>\n\t\t\t\t\t\n          </td>\n\t\t\t\t\n        </tr>\n\t\t\t\t\n        <tr>\n\t\t\t\t\t\n          <td>http://loinc.org</td>\n\t\t\t\t\t\n          <td>2096-6</td>\n\t\t\t\t\t\n          <td>Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma</td>\n\t\t\t\t\n        </tr>\n\t\t\t\t\n        <tr>\n\t\t\t\t\t\n          <td>http://loinc.org</td>\n\t\t\t\t\t\n          <td>35200-5</td>\n\t\t\t\t\t\n          <td>Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma</td>\n\t\t\t\t\n        </tr>\n\t\t\t\t\n        <tr>\n\t\t\t\t\t\n          <td>http://loinc.org</td>\n\t\t\t\t\t\n          <td>48089-7</td>\n\t\t\t\t\t\n          <td>Cholesterol/Apolipoprotein B [Molar ratio] in Serum or Plasma</td>\n\t\t\t\t\n        </tr>\n\t\t\t\t\n        <tr>\n\t\t\t\t\t\n          <td>http://loinc.org</td>\n\t\t\t\t\t\n          <td>55838-7</td>\n\t\t\t\t\t\n          <td>Cholesterol/Phospholipid [Molar ratio] in Serum or Plasma</td>\n\t\t\t\t\n        </tr>\n\t\t\t\n      </table>\n\t\t\n    </div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "vocab"
  }],
  "url" : "http://hl7.org/fhir/ValueSet/example-expansion",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.3.3141"
  }],
  "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.",
  "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" : {
    "include" : [{
      "system" : "http://loinc.org",
      "filter" : [{
        "property" : "parent",
        "op" : "=",
        "value" : "LP382412-7"
      }]
    }]
  },
  "expansion" : {
    "extension" : [{
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource",
      "valueUri" : "http://hl7.org/fhir/ValueSet/example"
    }],
    "identifier" : "urn:uuid:42316ff8-2714-4680-9980-f37a6d1a71bc",
    "timestamp" : "2015-06-22T13:56:07Z",
    "total" : 8,
    "offset" : 0,
    "parameter" : [{
      "name" : "version",
      "valueString" : "2.50"
    }],
    "property" : [{
      "code" : "PROPERTY",
      "uri" : "http://loinc.org/property/PROPERTY"
    }],
    "contains" : [{
      "system" : "http://loinc.org",
      "version" : "2.50",
      "code" : "14647-2",
      "display" : "Cholesterol [Moles/volume] in Serum or Plasma",
      "property" : [{
        "code" : "PROPERTY",
        "valueCode" : "SCnc"
      }]
    },
    {
      "abstract" : true,
      "display" : "Cholesterol codes",
      "contains" : [{
        "system" : "http://loinc.org",
        "version" : "2.50",
        "code" : "2093-3",
        "display" : "Cholesterol [Mass/volume] in Serum or Plasma",
        "property" : [{
          "code" : "PROPERTY",
          "valueCode" : "SCnc"
        }]
      },
      {
        "system" : "http://loinc.org",
        "version" : "2.50",
        "code" : "48620-9",
        "display" : "Cholesterol [Mass/volume] in Serum or Plasma ultracentrifugate",
        "property" : [{
          "code" : "PROPERTY",
          "valueCode" : "MCnc"
        }]
      },
      {
        "system" : "http://loinc.org",
        "version" : "2.50",
        "code" : "9342-7",
        "display" : "Cholesterol [Percentile]",
        "property" : [{
          "code" : "PROPERTY",
          "valueCode" : "Prctl"
        }]
      }]
    },
    {
      "abstract" : true,
      "display" : "Cholesterol Ratios",
      "contains" : [{
        "system" : "http://loinc.org",
        "version" : "2.50",
        "code" : "2096-6",
        "display" : "Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma",
        "property" : [{
          "code" : "PROPERTY",
          "valueCode" : "SCnc"
        }]
      },
      {
        "system" : "http://loinc.org",
        "version" : "2.50",
        "code" : "35200-5",
        "display" : "Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma",
        "property" : [{
          "code" : "PROPERTY",
          "valueCode" : "SCnc"
        }]
      },
      {
        "system" : "http://loinc.org",
        "version" : "2.50",
        "code" : "48089-7",
        "display" : "Cholesterol/Apolipoprotein B [Molar ratio] in Serum or Plasma",
        "property" : [{
          "code" : "PROPERTY",
          "valueCode" : "SCnc"
        }]
      },
      {
        "system" : "http://loinc.org",
        "version" : "2.50",
        "code" : "55838-7",
        "display" : "Cholesterol/Phospholipid [Molar ratio] in Serum or Plasma",
        "property" : [{
          "code" : "PROPERTY",
          "valueCode" : "SCnc"
        }]
      }]
    }]
  }
}

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.