This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
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: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 "5.0.0"] ; #
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"] ; #
fhir:contact ( [
fhir:name [ fhir:v "FHIR project team" ] ;
fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://hl7.org/fhir" ]
] )
] ) ; #
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.