This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU) in it's permanent home (it will always be available at this URL). 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
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
An example an empty search result with a warning
@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 ------------------------------------------------------------------- <http://hl7.org/fhir/Bundle/bundle-search-warning> a fhir:Bundle; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "bundle-search-warning"]; fhir:Resource.meta [ fhir:Meta.lastUpdated [ fhir:value "2017-03-14T08:23:30+11:00"^^xsd:dateTime ] ]; fhir:Bundle.type [ fhir:value "searchset"]; fhir:Bundle.total [ fhir:value "0"^^xsd:nonNegativeInteger]; fhir:Bundle.link [ fhir:index 0; fhir:Bundle.link.relation [ fhir:value "self" ]; fhir:Bundle.link.url [ fhir:value "https://example.org/fhir/Observation?patient.identifier=http://example.com/fhir/identifier/mrn|123456" ] ]; fhir:Bundle.entry [ fhir:index 0; fhir:Bundle.entry.resource [ a fhir:OperationOutcome; fhir:Resource.id [ fhir:value "warning" ]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">There is no matching patient for MRN 123456</div>" ]; fhir:OperationOutcome.issue [ fhir:index 0; fhir:OperationOutcome.issue.severity [ fhir:value "warning" ]; fhir:OperationOutcome.issue.code [ fhir:value "not-found" ]; fhir:OperationOutcome.issue.details [ fhir:CodeableConcept.text [ fhir:value "There is no matching patient for MRN 123456" ] ] ] ]; fhir:Bundle.entry.search [ fhir:Bundle.entry.search.mode [ fhir:value "outcome" ] ] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/Bundle/bundle-search-warning.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/Bundle/bundle-search-warning.ttl> . # -------------------------------------------------------------------------------------
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.