R6 Ballot (2nd Draft)

Publish-box (todo)

Example Bundle/bundle-request-simplesummary (Turtle)

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

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

Retrieve a patient’s conditions, medication statements and blood pressure readings since a given date

@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:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "bundle-request-simplesummary"] ; # 
  fhir:type [ fhir:v "batch"] ; #   This bundle is a batch of reqests to the FHIR RESTful API
#       This particuar batch requests a simple summary for a patient
#       It includes the patient's basic demographics (via the Patient resource),
#       conditions, medication statements and blood pressure readings since
#       January 1, 2015  
  fhir:entry ( [
     fhir:request [
       fhir:method [ fhir:v "GET" ] ;
       fhir:url [ fhir:v "/Patient/example"^^xsd:anyURI ]
     ]
  ] [
     fhir:request [
       fhir:method [ fhir:v "GET" ] ;
       fhir:url [ fhir:v "/Condition?patient=example"^^xsd:anyURI ]
     ]
  ] [
     fhir:request [
       fhir:method [ fhir:v "GET" ] ;
       fhir:url [ fhir:v "/MedicationStatement?patient=example"^^xsd:anyURI ]
     ]
  ] [
     fhir:request [
       fhir:method [ fhir:v "GET" ] ;
       fhir:url [ fhir:v "/Observation?patient=example&code=http://loinc.org|55284-4&date=ge2015-01-01"^^xsd:anyURI ]
     ]
  ] )] . #   Each entry is used to represent a RESTful API request
#       This request retrieves a single Patient resource  

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


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.