This page is part of the FHIR Specification (v1.2.0: STU 3 Draft). 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 using code filter (intensional)
{
"resourceType": "ValueSet",
"id": "example-intensional",
"meta": {
"profile": [
"http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition"
]
},
"text": {
"status": "generated",
"div": "<div>\n <p>Value set "LOINC Codes for Cholesterol": This is an example value set that includes \n all the codes for serum cholesterol from LOINC v2.36.</p>\n <p>Developed by: FHIR project team (example)</p>\n <p>Published for testing on 13-June 2012</p>\n <p>This value set includes all the LOINC codes in LOINC Part Concept Cholesterol | Bld-Ser-Plas (LP43571-6), except for 5932-9 Cholesterol [Presence] in Blood by Test strip</p>\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 </div>"
},
"url": "http://hl7.org/fhir/ValueSet/example-intensional",
"_url": {
"fhir_comments": [
" \n\t for this example, we use a real URI, since this example does have a canonical address\n\t\tat which it's posted. Alternatively, We could have used an OID, or a UUID "
]
},
"identifier": {
"fhir_comments": [
" an imaginary identifier. This is a non FHIR identifier - might be used in a \n\t v2 context (though you always need to translate namespaces for v2) "
],
"system": "http://acme.com/identifiers/valuesets",
"value": "loinc-cholesterol-ext"
},
"version": "20150622",
"_version": {
"fhir_comments": [
" for version, we are going to simply use the day of publication. This is also \n arbitrary - whatever is here is what people use to refer to the version. \n Could also be a UUID too "
]
},
"name": "LOINC Codes for Cholesterol in Serum/Plasma",
"_name": {
"fhir_comments": [
" set of loinc codes for cholesterol for LONC 2.36 "
]
},
"status": "draft",
"experimental": true,
"publisher": "HL7 International",
"contact": [
{
"name": "FHIR project team",
"telecom": [
{
"system": "other",
"value": "http://hl7.org/fhir"
}
]
}
],
"date": "2015-06-22",
"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": {
"fhir_comments": [
" \n\t in extensional value sets, it's often done\n not to specify a locked date, or a version of the\n\t\tcode system - we're saying, whatever are the right\n\t\tcodes in the version you are using \n\t "
],
"include": [
{
"system": "http://loinc.org",
"filter": [
{
"fhir_comments": [
" \n instead of listing the codes (see the intensional example)\n\t\t\t we do something else: all codes in LOINC part LP43571-6\n\t\t\t\t\n\t\t\t\tDoing it like this means we can't change the displays (per the \n\t\t\t\tintensional example). \n\t\t\t\t\n\t\t\t\t "
],
"property": "parent",
"op": "=",
"value": "LP43571-6"
}
]
}
],
"exclude": [
{
"fhir_comments": [
" \n \t\tThe part LP43571-6 includes the weird code \n\t\t 5932-9 Cholesterol [Presence] in Blood by Test strip \n\t\t\t- we don't want that one. no. \n\t\t "
],
"system": "http://loinc.org",
"concept": [
{
"code": "5932-9",
"display": "Cholesterol [Presence] in Blood by Test strip"
}
]
}
]
}
}
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.