STU 3 Candidate

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

Example-gao-order.ttl

Raw Turtle, JSON-LD

A 50-year-old male is ordered a CT of the Head for his headache by an identified practitioner.

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/owl#> .
@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//Order/example-gao-order> a fhir:Order;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example-gao-order"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/StructureDefinition/gao-order";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.contained [
     fhir:index 0;
     fhir:Patient [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "patient" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/gao-patient";
           fhir:index 0         ]       ];
       fhir:Patient.gender [ fhir:value "male" ];
       fhir:Patient.birthDate [ fhir:value "1965-11-20"^^xs:date ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 1;
     fhir:Practitioner [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "practitioner" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/gao-practitioner";
           fhir:index 0         ]       ];
       fhir:Practitioner.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ];
         fhir:Identifier.value [ fhir:value "9999999999" ]       ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 2;
     fhir:DiagnosticOrder [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "diagnosticorder" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/gao-diagnosticorder";
           fhir:index 0         ]       ];
       fhir:DiagnosticOrder.subjectReference [
         fhir:Reference.reference [ fhir:value "example-gao-order#patient" ]       ];
       fhir:DiagnosticOrder.orderer [
         fhir:Reference.reference [ fhir:value "example-gao-order#practitioner" ]       ];
       fhir:DiagnosticOrder.item [
         fhir:index 0;
         fhir:DiagnosticOrder.item.code [
           a loinc:30799-1;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a loinc:30799-1;
             fhir:Coding.system [ fhir:value "http://loinc.org" ];
             fhir:Coding.code [ fhir:value "30799-1" ];
             fhir:Coding.display [ fhir:value "Head CT WO contrast" ]           ];
           fhir:CodeableConcept.text [ fhir:value "CT Head without contrast" ]         ]       ]     ]
  ];
  fhir:Order.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://example.com/OrderIdentifier" ];
     fhir:Identifier.value [ fhir:value "123" ]
  ];
  fhir:Order.date [ fhir:value "2015-11-20"^^xs:date];
  fhir:Order.subjectReference [
     fhir:Reference.reference [ fhir:value "#patient" ]
  ];
  fhir:Order.sourceReference [
     fhir:Reference.reference [ fhir:value "#practitioner" ]
  ];
  fhir:Order.reasonCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://example.com" ];
       fhir:Coding.code [ fhir:value "x" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Headache" ]
  ];
  fhir:Order.detail [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#diagnosticorder" ]
  ].

# -------------------------------------------------------------------------------------


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.