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 OperationDefinition/example-query-high-risk (XML)
Raw XML (canonical form + also see XML Format Specification)
Jump past Narrative
Example Named Query of Patients based on risk assessments (id = "example-query-high-risk")
<?xml version="1.0" encoding="UTF-8"?>
<OperationDefinition xmlns="http://hl7.org/fhir">
<id value="example-query-high-risk"/>
<text> <status value="extensions"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: OperationDefinition</b> <a name="example-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 "example-query-high-risk" </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> </text> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"><valueCode value="fhir"/> </extension>
<url value="http://hl7.org/fhir/OperationDefinition/example-query-high-risk"/>
<version value="0.0.1"/>
<name value="ExampleOfHighRiskPatientQuery"/>
<title value="Example of High-Risk Patient Query"/>
<status value="draft"/>
<kind value="query"/>
<publisher value="HL7 International / FHIR Infrastructure"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/fiwg"/>
</telecom>
</contact>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/fiwg/index.cfm"/>
</telecom>
</contact>
<description value="Example Named Query of Patients based on risk assessments"/>
<code value="example-query-high-risk"/>
<resource value="Patient"/>
<system value="false"/>
<type value="true"/>
<instance value="false"/>
<parameter>
<name value="ward"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<documentation value="Ward filters to apply to patient locations"/>
<type value="string"/>
<searchType value="reference"/>
</parameter>
<parameter>
<name value="result"/>
<use value="out"/>
<min value="1"/>
<max value="1"/>
<documentation value="Searchset bundle"/>
<type value="Bundle"/>
</parameter>
</OperationDefinition>
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.