Release 4

Observation-example-TPMT-diplotype.ttl

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example of a TPMT diplotype that link to two TPMT haplotype observations

@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 -------------------------------------------------------------------

<http://hl7.org/fhir/Observation/example-TPMT-diplotype> a fhir:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example-TPMT-diplotype"];
  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-TPMT-diplotype</p><p><b>status</b>: final</p><p><b>code</b>: Diplotype Call <span>(Details : {SNOMED CT code '363779003' = 'Genotype determination', given as 'Genotype determination'})</span></p><p><b>subject</b>: <a>E***********</a></p><p><b>issued</b>: Apr 3, 2013 3:30:10 PM</p><p><b>value</b>: *1/*4</p><p><b>derivedFrom</b>: </p><ul><li><a>Observation/example-TPMT-haplotype-one</a></li><li><a>Observation/example-TPMT-haplotype-two</a></li></ul></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene" ];
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://www.genenames.org" ];
         fhir:Coding.code [ fhir:value "12014" ];
         fhir:Coding.display [ fhir:value "TPMT" ]
       ]
     ]
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:363779003;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "363779003" ];
       fhir:Coding.display [ fhir:value "Genotype determination" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Diplotype Call" ]
  ];
  fhir:Observation.subject [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "E***********" ]
  ];
  fhir:Observation.issued [ fhir:value "2013-04-03T15:30:10+01:00"^^xsd:dateTime];
  fhir:Observation.valueString [ fhir:value "*1/*4"];
  fhir:Observation.derivedFrom [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Observation/example-TPMT-haplotype-one>;
     fhir:Reference.reference [ fhir:value "Observation/example-TPMT-haplotype-one" ]
  ], [
     fhir:index 1;
     fhir:link <http://hl7.org/fhir/Observation/example-TPMT-haplotype-two>;
     fhir:Reference.reference [ fhir:value "Observation/example-TPMT-haplotype-two" ]
  ] .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Observation/example-TPMT-haplotype-one> a fhir:Observation .

<http://hl7.org/fhir/Observation/example-TPMT-haplotype-two> a fhir:Observation .

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

<http://hl7.org/fhir/Observation/example-TPMT-diplotype.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Observation/example-TPMT-diplotype.ttl> .

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


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.