FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example OperationDefinition/example-query-high-risk (Turtle)

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

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example Named Query of Patients based on risk assessments

@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:OperationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-query-high-risk"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: OperationDefinition</b><a name=\"example-query-high-risk\"> </a><a name=\"hcexample-query-high-risk\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource OperationDefinition &quot;example-query-high-risk&quot; </p></div><p><b>StructureDefinition Work Group</b>: fhir</p><p><b>url</b>: <code>http://hl7.org/fhir/OperationDefinition/example-query-high-risk</code></p><p><b>version</b>: 0.0.1</p><p><b>name</b>: ExampleOfHighRiskPatientQuery</p><p><b>title</b>: Example of High-Risk Patient Query</p><p><b>status</b>: draft</p><p><b>kind</b>: query</p><p><b>publisher</b>: HL7 International / FHIR Infrastructure</p><p><b>contact</b>: <a href=\"http://www.hl7.org/Special/committees/fiwg\">http://www.hl7.org/Special/committees/fiwg</a>, <a href=\"http://www.hl7.org/Special/committees/fiwg/index.cfm\">http://www.hl7.org/Special/committees/fiwg/index.cfm</a></p><p><b>description</b>: Example Named Query of Patients based on risk assessments</p><p><b>code</b>: example-query-high-risk</p><p><b>resource</b>: Patient</p><p><b>system</b>: false</p><p><b>type</b>: true</p><p><b>instance</b>: false</p><blockquote><p><b>parameter</b></p><p><b>name</b>: ward</p><p><b>use</b>: in</p><p><b>min</b>: 0</p><p><b>max</b>: *</p><p><b>documentation</b>: Ward filters to apply to patient locations</p><p><b>type</b>: string</p><p><b>searchType</b>: reference</p></blockquote><blockquote><p><b>parameter</b></p><p><b>name</b>: result</p><p><b>use</b>: out</p><p><b>min</b>: 1</p><p><b>max</b>: 1</p><p><b>documentation</b>: Searchset bundle</p><p><b>type</b>: Bundle</p></blockquote></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "fhir" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/OperationDefinition/example-query-high-risk"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.0.1"] ; # 
  fhir:name [ fhir:v "ExampleOfHighRiskPatientQuery"] ; # 
  fhir:title [ fhir:v "Example of High-Risk Patient Query"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:kind [ fhir:v "query"] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg/index.cfm" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Example Named Query of Patients based on risk assessments"] ; # 
  fhir:code [ fhir:v "example-query-high-risk"] ; # 
  fhir:resource ( [ fhir:v "Patient"] ) ; # 
  fhir:system [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:type [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:instance [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:parameter ( [
     fhir:name [ fhir:v "ward" ] ;
     fhir:use [ fhir:v "in" ] ;
     fhir:min [ fhir:v "0"^^xsd:integer ] ;
     fhir:max [ fhir:v "*" ] ;
     fhir:documentation [ fhir:v "Ward filters to apply to patient locations" ] ;
     fhir:type [ fhir:v "string" ] ;
     fhir:searchType [ fhir:v "reference" ]
  ] [
     fhir:name [ fhir:v "result" ] ;
     fhir:use [ fhir:v "out" ] ;
     fhir:min [ fhir:v "1"^^xsd:integer ] ;
     fhir:max [ fhir:v "1" ] ;
     fhir:documentation [ fhir:v "Searchset bundle" ] ;
     fhir:type [ fhir:v "Bundle" ]
  ] )] . # 

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


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.