This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). 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 R3
Response for the example transaction
@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 xs: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- <http://hl7.org/fhir//Bundle/bundle-response> a fhir:Bundle; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "bundle-response"]; fhir:Resource.meta [ fhir:Meta.lastUpdated [ fhir:value "2014-08-18T01:43:33Z"^^xs:dateTime ] ]; fhir:Bundle.type [ fhir:value "transaction-response"]; fhir:Bundle.entry [ fhir:index 0; fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Patient/12423" ]; fhir:Bundle.entry.resource [ fhir:Patient [ fhir:index 0; fhir:Resource.id [ fhir:value "12423" ]; fhir:Resource.meta [ fhir:Meta.versionId [ fhir:value "1" ]; fhir:Meta.lastUpdated [ fhir:value "2014-08-18T01:43:31Z"^^xs:dateTime ] ]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:Patient.active [ fhir:value "true"^^xs:boolean ]; fhir:Patient.name [ fhir:index 0; fhir:HumanName.use [ fhir:value "official" ]; fhir:HumanName.family [ fhir:value "Chalmers"; fhir:index 0 ]; fhir:HumanName.given [ fhir:value "Peter"; fhir:index 0 ]; fhir:HumanName.given [ fhir:value "James"; fhir:index 1 ] ]; fhir:Patient.gender [ fhir:value "male" ]; fhir:Patient.birthDate [ fhir:value "1974-12-25"^^xs:date ] ] ]; fhir:Bundle.entry.response [ fhir:Bundle.entry.response.status [ fhir:value "201 Created" ]; fhir:Bundle.entry.response.location [ fhir:value "Patient/12423/_history/1" ]; fhir:Bundle.entry.response.etag [ fhir:value "W/\"1\"" ]; fhir:Bundle.entry.response.lastModified [ fhir:value "2014-08-18T01:43:33Z"^^xs:dateTime ] ] ]; fhir:Bundle.entry [ fhir:index 1; fhir:Bundle.entry.response [ fhir:Bundle.entry.response.status [ fhir:value "200 OK" ] ] ]; fhir:Bundle.entry [ fhir:index 2; fhir:Bundle.entry.response [ fhir:Bundle.entry.response.status [ fhir:value "200 OK" ]; fhir:Bundle.entry.response.location [ fhir:value "Patient/123/_history/4" ]; fhir:Bundle.entry.response.etag [ fhir:value "W/\"4\"" ] ] ]; fhir:Bundle.entry [ fhir:index 3; fhir:Bundle.entry.response [ fhir:Bundle.entry.response.status [ fhir:value "201 Created" ]; fhir:Bundle.entry.response.location [ fhir:value "Patient/12424/_history/1" ]; fhir:Bundle.entry.response.etag [ fhir:value "W/\"1\"" ] ] ]; fhir:Bundle.entry [ fhir:index 4; fhir:Bundle.entry.response [ fhir:Bundle.entry.response.status [ fhir:value "200 ok" ]; fhir:Bundle.entry.response.location [ fhir:value "Patient/123a/_history/3" ]; fhir:Bundle.entry.response.etag [ fhir:value "W/\"3\"" ] ] ]; fhir:Bundle.entry [ fhir:index 5; fhir:Bundle.entry.response [ fhir:Bundle.entry.response.status [ fhir:value "202 Accepted" ] ] ]; fhir:Bundle.entry [ fhir:index 6; fhir:Bundle.entry.response [ fhir:Bundle.entry.response.status [ fhir:value "DELETE" ] ] ]; fhir:Bundle.entry [ fhir:index 7; fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:7f9724ed-ef8d-4434-aacb-41869db83233" ]; fhir:Bundle.entry.resource [ fhir:Parameters [ fhir:index 0; fhir:Parameters.parameter [ fhir:index 0; fhir:Parameters.parameter.name [ fhir:value "name" ]; fhir:Parameters.parameter.valueString [ fhir:value "LOINC" ] ] ] ]; fhir:Bundle.entry.response [ fhir:Bundle.entry.response.status [ fhir:value "200 ok" ] ] ]; fhir:Bundle.entry [ fhir:index 8; fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:e7bcef8e-5ef9-4d2b-87d5-b42b1eec9125" ]; fhir:Bundle.entry.resource [ fhir:Bundle [ fhir:index 0; fhir:Resource.id [ fhir:value "fb6ed6cb-324e-4588-87cd-0c92c68986ca" ]; fhir:Bundle.type [ fhir:value "searchset" ] ] ]; fhir:Bundle.entry.response [ fhir:Bundle.entry.response.status [ fhir:value "200 OK" ] ] ]; fhir:Bundle.entry [ fhir:index 9; fhir:Bundle.entry.response [ fhir:Bundle.entry.response.status [ fhir:value "304 Not Modified" ] ] ]. # -------------------------------------------------------------------------------------
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.