Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Bundle-request-simplesummary.ttl

Example Bundle/bundle-request-simplesummary (Turtle)

Maturity Level : N/A
Responsible Owner: FHIR Infrastructure Work Group Standards Status : Informative Compartments : Not linked to any 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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/Bundle/bundle-request-simplesummary> a fhir:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "bundle-request-simplesummary"];
  fhir:Bundle.type [ fhir:value "batch"];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "GET" ];
       fhir:Bundle.entry.request.url [ fhir:value "/Patient/example" ]

<http://hl7.org/fhir/Bundle/bundle-request-simplesummary> 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:l <http://hl7.org/fhir//Patient/example>
       ]

     ]
  ], [
     fhir:index 1;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "GET" ];
       fhir:Bundle.entry.request.url [ fhir:value "/Condition?patient=example" ]

  ] [
     fhir:request [
       fhir:method [ fhir:v "GET" ] ;
       fhir:url [
         fhir:v "/Condition?patient=example"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir//Condition?patient=example>
       ]

     ]
  ], [
     fhir:index 2;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "GET" ];
       fhir:Bundle.entry.request.url [ fhir:value "/MedicationStatement?patient=example" ]

  ] [
     fhir:request [
       fhir:method [ fhir:v "GET" ] ;
       fhir:url [
         fhir:v "/MedicationStatement?patient=example"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir//MedicationStatement?patient=example>
       ]

     ]
  ], [
     fhir:index 3;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "GET" ];
       fhir:Bundle.entry.request.url [ fhir:value "/Observation?patient=example&code=http://loinc.org|55284-4&date=ge2015-01-01" ]

  ] [
     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 ;
         fhir:l <http://hl7.org/fhir//Observation?patient=example&code=http://loinc.org&version=55284-4&date=ge2015-01-01>
       ]

     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Bundle/bundle-request-simplesummary.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Bundle/bundle-request-simplesummary.ttl> .

  ] ) . #   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.