Common Data Models Harmonization
1.0.0 - STU 1 Publication

Common Data Models Harmonization, published by HL7 International - Biomedical Research and Regulation Work Group. This is not an authorized publication; it is the continuous build for version 1.0.0). This version is based on the current content of https://github.com/HL7/cdmh/ and changes regularly. See the Directory of published versions

: CDMH Lab Results - Example - TTL Representation

Raw ttl | Download


@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:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-name" ];
       fhir:Extension.valueString [ fhir:value "Urine Bacteria Example" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-description" ];
       fhir:Extension.valueMarkdown [ fhir:value "This is a urine bacteria example for the *CDMH Observation Lab Profile*." ]     ];
     fhir:Meta.versionId [ fhir:value "206540" ];
     fhir:Meta.lastUpdated [ fhir:value "2016-04-18T03:56:41.250+00:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-lab-results";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-lab-results>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>CDMH Lab Results Example</b></p>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-pcornet-lab-result-source" ];
     fhir:Extension.valueCode [ fhir:value "DR" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-pcornet-lab-test-priority" ];
     fhir:Extension.valueCode [ fhir:value "E" ]
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ];
       fhir:Coding.code [ fhir:value "laboratory" ];
       fhir:Coding.display [ fhir:value "Laboratory" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Laboratory" ]
  ];
  fhir:Observation.code [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Element.id [ fhir:value "1" ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-pcornet-lab-loinc-code-source" ];
       fhir:Extension.valueCode [ fhir:value "HL" ]     ];
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:25145-4;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "25145-4" ];
       fhir:Coding.display [ fhir:value "Bacteria [Presence] in Urine sediment by Light microscopy" ]     ];
     fhir:CodeableConcept.text [ fhir:value "BACTERIA" ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Amy Shaw" ]
  ];
  fhir:Observation.effectiveDateTime [ fhir:value "2005-07-05"^^xsd:date];
  fhir:Observation.valueCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:260350009;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "260350009" ];
       fhir:Coding.display [ fhir:value "++++" ]     ];
     fhir:CodeableConcept.text [ fhir:value "4+" ]
  ];
  fhir:Observation.referenceRange [
     fhir:index 0;
     fhir:Observation.referenceRange.text [ fhir:value "0-1+" ]
  ].

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

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