R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). 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

Example ValueSet/example-expansion (JSON)

Terminology Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any 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<table class=\"grid\">\n\t\t\t\t<tr>\n\t\t\t\t\t<td>http://loinc.org</td>\n\t\t\t\t\t<td>14647-2</td>\n\t\t\t\t\t<td>Cholesterol [Moles/volume] in Serum or Plasma</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td colspan=\"3\">\n\t\t\t\t\t\t<b>Additional Cholesterol codes</b>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td>http://loinc.org</td>\n\t\t\t\t\t<td>2093-3</td>\n\t\t\t\t\t<td>Cholesterol [Mass/volume] in Serum or Plasma</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td>http://loinc.org</td>\n\t\t\t\t\t<td>48620-9</td>\n\t\t\t\t\t<td>Cholesterol [Mass/volume] in Serum or Plasma ultracentrifugate</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td>http://loinc.org</td>\n\t\t\t\t\t<td>9342-7</td>\n\t\t\t\t\t<td>Cholesterol [Percentile]</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td colspan=\"3\">\n\t\t\t\t\t\t<b>Cholesterol Ratios</b>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td>http://loinc.org</td>\n\t\t\t\t\t<td>2096-6</td>\n\t\t\t\t\t<td>Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td>http://loinc.org</td>\n\t\t\t\t\t<td>35200-5</td>\n\t\t\t\t\t<td>Cholesterol/Triglyceride [Mass Ratio] in Serum or Plasma</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td>http://loinc.org</td>\n\t\t\t\t\t<td>48089-7</td>\n\t\t\t\t\t<td>Cholesterol/Apolipoprotein B [Molar ratio] in Serum or Plasma</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td>http://loinc.org</td>\n\t\t\t\t\t<td>55838-7</td>\n\t\t\t\t\t<td>Cholesterol/Phospholipid [Molar ratio] in Serum or Plasma</td>\n\t\t\t\t</tr>\n\t\t\t</table>\n\t\t</div>"
  },
  "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" : "20150622",
  "name" : "LOINCCodesForCholesterolInSerumPlasma",
  "title" : "LOINC Codes for Cholesterol in Serum/Plasma",
  "status" : "draft",
  "experimental" : true,
  "date" : "2015-06-22",
  "publisher" : "FHIR Project team",
  "contact" : [{
    "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.",
  "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" : "LP43571-6"
      }]
    }]
  },
  "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.