Genomics Reporting Implementation Guide
1.1.0 - Ballot

This page is part of the Genetic Reporting Implementation Guide (v1.1.0: STU 2 Ballot 1) 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 - Patient - 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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:Patient;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "CGPatientExample01"];
  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><p><b>identifier</b>: Medical Record Number: m123 (USUAL)</p><p><b>name</b>: Adam B. Everyman </p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1951-01-20</p><p><b>address</b>: 123 Main St Anytown 12345 US </p><h3>Contacts</h3><table class=\"grid\"><tr><td>-</td><td><b>Telecom</b></td></tr><tr><td>*</td><td>ph: 555-555-5555(HOME), <a href=\"mailto:adam.everyman@example.com\">adam.everyman@example.com</a></td></tr></table><h3>Communications</h3><table class=\"grid\"><tr><td>-</td><td><b>Language</b></td></tr><tr><td>*</td><td><span title=\"Codes: {urn:ietf:bcp:47 en-US}\">English</span></td></tr></table></div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
         fhir:Coding.code [ fhir:value "MR" ];
         fhir:Coding.display [ fhir:value "Medical Record Number" ]       ]     ];
     fhir:Identifier.system [ fhir:value "http://hospital.example.org" ];
     fhir:Identifier.value [ fhir:value "m123" ]
  ];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Everyman" ];
     fhir:HumanName.given [
       fhir:value "Adam";
       fhir:index 0     ], [
       fhir:value "B.";
       fhir:index 1     ]
  ];
  fhir:Patient.gender [ fhir:value "male"];
  fhir:Patient.birthDate [ fhir:value "1951-01-20"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "123 Main St";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Anytown" ];
     fhir:Address.postalCode [ fhir:value "12345" ];
     fhir:Address.country [ fhir:value "US" ]
  ];
  fhir:Patient.contact [
     fhir:index 0;
     fhir:Patient.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "phone" ];
       fhir:ContactPoint.value [ fhir:value "555-555-5555" ];
       fhir:ContactPoint.use [ fhir:value "home" ]     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "adam.everyman@example.com" ]     ]
  ];
  fhir:Patient.communication [
     fhir:index 0;
     fhir:Patient.communication.language [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "urn:ietf:bcp:47" ];
         fhir:Coding.code [ fhir:value "en-US" ];
         fhir:Coding.display [ fhir:value "English (Region=United States)" ]       ];
       fhir:CodeableConcept.text [ fhir:value "English" ]     ]
  ].

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

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