Release 4B

This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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

Valueset-example-filter.ttl

Vocabulary Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any 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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:ValueSet;
  fhir:Resource.id [ fhir:value "example-filter"];
  fhir:ValueSet.url [ fhir:value "http://hl7.org/fhir/ValueSet/example-filter"];
  fhir:ValueSet.name [ fhir:value "ACMECholCodesPlasma"];
  fhir:ValueSet.title [ fhir:value "ACME Codes for Cholesterol: Plasma only"];
  fhir:ValueSet.status [ fhir:value "draft"];
  fhir:ValueSet.experimental [ fhir:value "true"];
  fhir:ValueSet.date [ fhir:value "2018-11-01"];
  fhir:ValueSet.publisher [ fhir:value "HL7 International"];
  fhir:ValueSet.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "FHIR project team" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:ValueSet.description [ fhir:value "ACME Codes for Cholesterol: Plasma only - demonstrating the use of a filter defined in a CodeSystem"];
  fhir:ValueSet.compose [
     fhir:ValueSet.include [
       fhir:index 0;
       fhir:ValueSet.system [ fhir:value "http://hl7.org/fhir/CodeSystem/example" ];
       fhir:ValueSet.filter [
         fhir:index 0;
         fhir:ValueSet.property [ fhir:value "acme-plasma" ];
         fhir:ValueSet.op [ fhir:value "=" ];
         fhir:ValueSet.value [ fhir:value "true" ]
       ]
     ]
  ] .

# -------------------------------------------------------------------------------------


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.