NCPI FHIR Implementation Guide
0.2.0 - ci-build

NCPI FHIR Implementation Guide - Local Development build (v0.2.0). See the Directory of published versions

: Example of Raw Data - 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:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example-observation-data-row-1"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"example-observation-data-row-1\"> </a></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 Observation &quot;example-observation-data-row-1&quot; </p></div><p><b>status</b>: final</p><p><b>code</b>: demographics <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-example-study-data-dictionary-dataset-codesystem-1.html\">Dataset CodeSystem (lists all tables)</a>#demographics)</span></p><p><b>subject</b>: <a href=\"Patient-ncpi-research-study-01-patient-01.html\">Patient/ncpi-research-study-01-patient-01</a></p><p><b>specimen</b>: <a href=\"Specimen-ncpi-research-study-01-specimen-01.html\">Specimen/ncpi-research-study-01-specimen-01</a></p><blockquote><p><b>component</b></p><p><b>code</b>: Subject's Unique Identifier <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-example-study-data-dictionary-datatable-codesystem-1.html\">Datatable CodeSystem (lists all variables)</a>#subjectid)</span></p><p><b>value</b>: SUB0001</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Gender <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-example-study-data-dictionary-datatable-codesystem-1.html\">Datatable CodeSystem (lists all variables)</a>#gender)</span></p><p><b>value</b>: female <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/codesystem-administrative-gender.html\">AdministrativeGender</a>#female)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Subject's BMI, Measured at Enrollment <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-example-study-data-dictionary-datatable-codesystem-1.html\">Datatable CodeSystem (lists all variables)</a>#bmi)</span></p><p><b>value</b>: 34.1 kg/m2<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code kg/m2 = 'kg/m2')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Subject's status (Case or Control) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-example-study-data-dictionary-datatable-codesystem-1.html\">Datatable CodeSystem (lists all variables)</a>#status)</span></p><p><b>value</b>: Case <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (umls#C99269)</span></p></blockquote></div>"
  ]; # 
  fhir:Observation.status [ fhir:value "final"]; # 
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "https://nih-ncpi.github.io/ncpi-fhir-ig/CodeSystem/example-study-data-dictionary-dataset-codesystem-1" ];
       fhir:Coding.code [ fhir:value "demographics" ]     ]
  ]; # 
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/ncpi-research-study-01-patient-01" ]
  ]; # 
  fhir:Observation.specimen [
     fhir:Reference.reference [ fhir:value "Specimen/ncpi-research-study-01-specimen-01" ]
  ]; # 
  fhir:Observation.component [
     fhir:index 0;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://nih-ncpi.github.io/ncpi-fhir-ig/CodeSystem/example-study-data-dictionary-datatable-codesystem-1" ];
         fhir:Coding.code [ fhir:value "subjectid" ]       ]     ];
     fhir:Observation.component.valueString [ fhir:value "SUB0001" ]
  ], [
     fhir:index 1;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://nih-ncpi.github.io/ncpi-fhir-ig/CodeSystem/example-study-data-dictionary-datatable-codesystem-1" ];
         fhir:Coding.code [ fhir:value "gender" ]       ]     ];
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/administrative-gender" ];
         fhir:Coding.code [ fhir:value "female" ];
         fhir:Coding.display [ fhir:value "female" ]       ]     ]
  ], [
     fhir:index 2;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://nih-ncpi.github.io/ncpi-fhir-ig/CodeSystem/example-study-data-dictionary-datatable-codesystem-1" ];
         fhir:Coding.code [ fhir:value "bmi" ]       ]     ];
     fhir:Observation.component.valueQuantity [
       fhir:Quantity.value [ fhir:value "34.1"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "kg/m2" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "kg/m2" ]     ]
  ], [
     fhir:index 3;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://nih-ncpi.github.io/ncpi-fhir-ig/CodeSystem/example-study-data-dictionary-datatable-codesystem-1" ];
         fhir:Coding.code [ fhir:value "status" ]       ]     ];
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://uts.nlm.nih.gov/uts/umls" ];
         fhir:Coding.code [ fhir:value "C99269" ];
         fhir:Coding.display [ fhir:value "Case" ]       ]     ]
  ]. # 

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

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