Release 4B R5 Final QA

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0-draft-final: Final QA Preview for R5 - STU see ballot notes ). 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

Bundle-search-warning.ttl

Example Bundle/bundle-search-warning (Turtle)

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.fullUrl [ fhir:value "urn:uuid:2866af9c-137d-4458-a8a9-eeeec0ce5583" ];
     fhir:Bundle.entry.resource <urn:uuid:2866af9c-137d-4458-a8a9-eeeec0ce5583>;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "outcome" ]

[a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "bundle-search-warning"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2017-03-14T08:23:30+11:00"^^xsd:dateTime ]
  ] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:total [ fhir:v "0"^^xsd:nonNegativeInteger] ; # 
  fhir:link ( [
     fhir:relation [ fhir:v "self" ] ;
     fhir:url [ fhir:v "https://example.org/fhir/Observation?patient.identifier=http://example.com/fhir/identifier/mrn|123456"^^xsd:anyURI ]
  ] ) ; # 
  fhir:entry ( [
     fhir:fullUrl [ fhir:v "urn:uuid:2866af9c-137d-4458-a8a9-eeeec0ce5583"^^xsd:anyURI ] ;
     fhir:resource ( <urn:uuid:2866af9c-137d-4458-a8a9-eeeec0ce5583> ) ;
     fhir:search [
       fhir:mode [ fhir:v "outcome" ] #   this is not a match - it's about the search  

     ]
  ] .

  ] )] . # 


<urn:uuid:2866af9c-137d-4458-a8a9-eeeec0ce5583> 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" ]

<urn:uuid:2866af9c-137d-4458-a8a9-eeeec0ce5583> a fhir:OperationOutcome ;
  fhir:id [ fhir:v "warning"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">There is no matching patient for MRN 123456</div>"
  ] ; # 
  fhir:issue ( [
     fhir:severity [ fhir:v "warning" ] ;
     fhir:code [ fhir:v "not-found" ] ;
     fhir:details [
       fhir:text [ fhir:v "There is no matching patient for MRN 123456" ]

     ]
  ] .

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