This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions
Example ValueSet/example-filter (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
ValueSet Example using code filter (intensional) defined in a code system resource
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:ValueSet ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "example-filter"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <ul>\n <li>Include codes from \n <a href=\"codesystem-example.html\">\n <code>http://hl7.org/fhir/CodeSystem/example</code>\n </a> where acme-plasma = true\n </li>\n </ul>\n </div>"
] ; #
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [ fhir:v "vocab" ]
] ) ; #
fhir:url [ fhir:v "http://hl7.org/fhir/ValueSet/example-filter"^^xsd:anyURI] ; #
fhir:identifier ( [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.3.3148" ]
] ) ; #
fhir:version [ fhir:v "6.0.0-ballot1"] ; #
fhir:name [ fhir:v "ACMECholCodesPlasma"] ; #
fhir:title [ fhir:v "ACME Codes for Cholesterol: Plasma only"] ; #
fhir:status [ fhir:v "draft"] ; #
fhir:experimental [ fhir:v "true"^^xsd:boolean] ; #
fhir:date [ fhir:v "2018-11-01"^^xsd:date] ; #
fhir:publisher [ fhir:v "HL7 International / Terminology Infrastructure"] ; #
fhir:contact ( [
fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/Vocab" ]
] )
] [
fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/Vocab/index.cfm" ]
] )
] ) ; #
fhir:description [ fhir:v "ACME Codes for Cholesterol: Plasma only - demonstrating the use of a filter defined in a CodeSystem"] ; #
fhir:compose [
fhir:include ( [
fhir:system [ fhir:v "http://hl7.org/fhir/CodeSystem/example"^^xsd:anyURI ] ;
fhir:filter ( [
fhir:property [ fhir:v "acme-plasma" ] ;
fhir:op [ fhir:v "=" ] ;
fhir:value [ fhir:v "true" ]
] )
] ) ;
fhir:property ( [ fhir:v "status" ] )
]] . #
# -------------------------------------------------------------------------------------
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.