This page is part of the Genetic Reporting Implementation Guide (v0.3.0: STU 1 Ballot 2) based on FHIR R4. The current version which supercedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions

Example - Service request for high-resolution HLA-A genotyping - TTL Representation

(back to narrative)

Raw ttl

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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 "servicerequest-hla-a-r4"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/servicerequest";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/servicerequest>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <pre>High resolution HLA-A typing for sample 001-123456789</pre>\n        </div>"
  ];
  fhir:ServiceRequest.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "https:/aDonorRegistry.com" ];
     fhir:Identifier.value [ fhir:value "199688.2.1..1.83" ]
  ];
  fhir:ServiceRequest.status [ fhir:value "completed"];
  fhir:ServiceRequest.intent [ fhir:value "order"];
  fhir:ServiceRequest.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:108252007;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "108252007" ];
       fhir:Coding.display [ fhir:value "Laboratory procedure" ]     ]
  ];
  fhir:ServiceRequest.priority [ fhir:value "routine"];
  fhir:ServiceRequest.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:57290-9;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "57290-9" ];
       fhir:Coding.display [ fhir:value "HLA-A [Type] by High resolution" ]     ]
  ];
  fhir:ServiceRequest.subject [
     fhir:Reference.display [ fhir:value "001^246802468" ]
  ];
  fhir:ServiceRequest.requester [
     fhir:Reference.reference [ fhir:value "Organization/123" ];
     fhir:Reference.type [ fhir:value "Organization" ];
     fhir:Reference.display [ fhir:value "aDonorRegistry" ]
  ];
  fhir:ServiceRequest.performer [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Organization/456" ];
     fhir:Reference.type [ fhir:value "Organization" ];
     fhir:Reference.display [ fhir:value "aTypingLab, Inc" ]
  ];
  fhir:ServiceRequest.specimen [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Specimen/f456" ];
     fhir:Reference.type [ fhir:value "Specimen" ];
     fhir:Reference.display [ fhir:value "buccal swab: 123456789" ]
  ].

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

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