QI-Core Implementation Guide
4.1.0 - release

Publication Build: This will be filled in by the publication tooling

## : ServiceRequest elective example - TTL Representation

Raw ttl | Download

    @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:ServiceRequest;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "elective-example"];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"elective-example\" </p></div><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>code</b>: Stomach Bypass <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#442338001 \"Bypass of stomach (procedure)\")</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Patient/example</a> \" CHALMERS\"</p><p><b>authoredOn</b>: 2015-03-30</p><p><b>requester</b>: <span>: Dr. Beverly Crusher</span></p><p><b>performer</b>: <a href=\"Practitioner-example.html\">Practitioner/example: Dr Cecil Surgeon</a> \" CAREFUL\"</p></div>"
      ];
      fhir:DomainResource.modifierExtension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-isElective" ];
         fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
      ];
      fhir:ServiceRequest.status [ fhir:value "completed"];
      fhir:ServiceRequest.intent [ fhir:value "order"];
      fhir:ServiceRequest.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:442338001;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "442338001" ];
           fhir:Coding.display [ fhir:value "Bypass of stomach (procedure)" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Stomach Bypass" ]
      ];
      fhir:ServiceRequest.subject [
         fhir:Reference.reference [ fhir:value "Patient/example" ]
      ];
      fhir:ServiceRequest.authoredOn [ fhir:value "2015-03-30"^^xsd:date];
      fhir:ServiceRequest.requester [
         fhir:Reference.display [ fhir:value "Dr. Beverly Crusher" ]
      ];
      fhir:ServiceRequest.performer [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Practitioner/example" ];
         fhir:Reference.display [ fhir:value "Dr Cecil Surgeon" ]
      ].

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

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