This page is part of the Quality Improvement Core Framework (v3.1.0: STU 3) based on FHIR R3. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

ReferralRequest example

Formats: Narrative, XML, JSON, Turtle

Raw ttl

@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:ReferralRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-referralrequest";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>meta</b>: </p><p><b>status</b>: cancelled</p><p><b>intent</b>: order</p><p><b>type</b>: Referral for procedure <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '700274009' = 'Referral for procedure', given as 'Referral for procedure'})</span></p><p><b>priority</b>: routine</p><p><b>serviceRequested</b>: Myringotomy and insertion of short-term tympanic ventilation tube (procedure) <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '172676009' = 'Myringotomy and insertion of short-term grommet', given as 'Myringotomy and insertion of short-term tympanic ventilation tube (procedure)'})</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); -unknown-(HOME), ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 25/12/1974; </a></p><p><b>context</b>: <a href=\"Encounter-example.html\">Generated Summary: id: example; status: in-progress; <span title=\"{http://hl7.org/fhir/v3/ActCode IMP}\">inpatient encounter</span></a></p><p><b>occurrence</b>: 13/02/2014</p><p><b>authoredOn</b>: 14/02/2014</p><p><b>specialty</b>: Pediatric otolaryngology <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '417887005' = 'Pediatric otolaryngology', given as 'Pediatric otolaryngology'})</span></p><p><b>reasonCode</b>: Otitis media <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '65363002' = 'Otitis media', given as 'Otitis media'})</span></p></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/referralrequest-reasonRefused" ];
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:609589008;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "609589008" ];
         fhir:Coding.display [ fhir:value "Refused by parents of subject" ]       ]     ]
  ];
  fhir:ReferralRequest.status [ fhir:value "cancelled"];
  fhir:ReferralRequest.intent [ fhir:value "order"];
  fhir:ReferralRequest.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:700274009;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "700274009" ];
       fhir:Coding.display [ fhir:value "Referral for procedure" ]     ]
  ];
  fhir:ReferralRequest.priority [ fhir:value "routine"];
  fhir:ReferralRequest.serviceRequested [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:172676009;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "172676009" ];
       fhir:Coding.display [ fhir:value "Myringotomy and insertion of short-term tympanic ventilation tube (procedure)" ]     ]
  ];
  fhir:ReferralRequest.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:ReferralRequest.context [
     fhir:Reference.reference [ fhir:value "Encounter/example" ]
  ];
  fhir:ReferralRequest.occurrenceDateTime [ fhir:value "2014-02-13"^^xsd:date];
  fhir:ReferralRequest.authoredOn [ fhir:value "2014-02-14"^^xsd:date];
  fhir:ReferralRequest.specialty [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:417887005;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "417887005" ];
       fhir:Coding.display [ fhir:value "Pediatric otolaryngology" ]     ]
  ];
  fhir:ReferralRequest.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:65363002;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "65363002" ];
       fhir:Coding.display [ fhir:value "Otitis media" ]     ]
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.