--- type: "example" title: "ValueSet Example: valueset-example-intensional" resource: "ValueSet" example: "valueset-example-intensional" --- # ValueSet Example: valueset-example-intensional ## Narrative Value set "LOINC Codes for Cholesterol": This is an example value set that includes all the codes for serum cholesterol from LOINC v2.36. Developed by: FHIR project team (example) Published for testing on 13-June 2012 This value set includes all the LOINC codes in LOINC Part Concept Cholesterol | Bld-Ser-Plas (LP382412-7), except for 5932-9 Cholesterol \[Presence\] in Blood by Test strip 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 ## Example XML ```xml

Value set "LOINC Codes for Cholesterol": This is an example value set that includes all the codes for serum cholesterol from LOINC v2.36.

Developed by: FHIR project team (example)

Published for testing on 13-June 2012

This value set includes all the LOINC codes in LOINC Part Concept Cholesterol | Bld-Ser-Plas (LP382412-7), except for 5932-9 Cholesterol [Presence] in Blood by Test strip

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

<status value="draft"/> <experimental value="true"/> <date value="2015-06-22"/> <publisher value="HL7 International / Terminology Infrastructure"/> <contact> <telecom> <system value="url"/> <value value="http://hl7.org/fhir"/> </telecom> </contact> <contact> <telecom> <system value="url"/> <value value="http://www.hl7.org/Special/committees/Vocab/index.cfm"/> </telecom> </contact> <description value="This is an example value set that includes all the LOINC codes for serum/plasma cholesterol from v2.36."/> <copyright value="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"/> <!-- In intensional value sets a locked date or a version of the code system is often not specified. Instead, we're saying, select the right codes in the version you are using based on the filter criteria --> <compose> <include> <system value="http://loinc.org"/> <!-- Instead of listing the codes (see the extensional example) we do something else: all codes in LOINC part LP382412-7 Doing it like this means we can't change the displays (per the extensional example). --> <filter> <property value="parent"/> <op value="="/> <value value="LP382412-7"/> </filter> </include> <!-- The part LP382412-7 includes the weird code 5932-9 Cholesterol [Presence] in Blood by Test strip - we don't want that one. no. --> <exclude> <system value="http://loinc.org"/> <concept> <code value="5932-9"/> <display value="Cholesterol [Presence] in Blood by Test strip"/> </concept> </exclude> </compose> </ValueSet> ```