R6 Ballot (2nd Draft)

Publish-box (todo)

Example ValueSet/example-filter (Turtle)

Terminology Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

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      <p class=\"res-header-id\">\n        <b>Generated Narrative: ValueSet example-filter</b>\n      </p>\n      <a name=\"example-filter\"> </a>\n      <a name=\"hcexample-filter\"> </a>\n      <a name=\"example-filter-en-AU\"> </a>\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-ballot2"] ; # 
  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: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.