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 Variable Summary with categories (gender) - 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-study-summary-gender"]; # 
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://nih-ncpi.github.io/ncpi-fhir-ig/StructureDefinition/study-variable-summary";
       fhir:index 0;
       fhir:link <https://nih-ncpi.github.io/ncpi-fhir-ig/StructureDefinition/study-variable-summary>     ]
  ]; # 
  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-study-summary-gender\"> </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-study-summary-gender&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-study-variable-summary.html\">Study Variable Summary</a></p></div><p><b>status</b>: final</p><p><b>code</b>: Summary Report <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (umls#C0242482)</span></p><p><b>subject</b>: <a href=\"Group-example-summary-group-1.html\">Group/example-summary-group-1</a></p><p><b>focus</b>: <a href=\"ResearchStudy-ncpi-research-study-01.html\">ResearchStudy/ncpi-research-study-01</a></p><p><b>value</b>: Gender <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (umls#C0079399; <a href=\"CodeSystem-example-study-data-dictionary-datatable-codesystem-1.html\">Datatable CodeSystem (lists all variables)</a>#gender)</span></p><blockquote><p><b>component</b></p><p><b>code</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><p><b>value</b>: 205</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Male <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/codesystem-administrative-gender.html\">AdministrativeGender</a>#male)</span></p><p><b>value</b>: 183</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Missing <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (umls#C1705492)</span></p><p><b>value</b>: 12</p></blockquote></div>"
  ]; # 
  fhir:Observation.status [ fhir:value "final"]; # 
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "https://uts.nlm.nih.gov/uts/umls" ];
       fhir:Coding.code [ fhir:value "C0242482" ];
       fhir:Coding.display [ fhir:value "Summary Report" ]     ]
  ]; # 
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Group/example-summary-group-1" ]
  ]; # 
  fhir:Observation.focus [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "ResearchStudy/ncpi-research-study-01" ]
  ]; # 
  fhir:Observation.valueCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "https://uts.nlm.nih.gov/uts/umls" ];
       fhir:Coding.code [ fhir:value "C0079399" ];
       fhir:Coding.display [ fhir:value "Gender" ]     ], [
       fhir:index 1;
       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 [
     fhir:index 0;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/administrative-gender" ];
         fhir:Coding.code [ fhir:value "female" ]       ]     ];
     fhir:Observation.component.valueInteger [ fhir:value "205"^^xsd:integer ]
  ], [
     fhir:index 1;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/administrative-gender" ];
         fhir:Coding.code [ fhir:value "male" ]       ]     ];
     fhir:Observation.component.valueInteger [ fhir:value "183"^^xsd:integer ]
  ], [
     fhir:index 2;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://uts.nlm.nih.gov/uts/umls" ];
         fhir:Coding.code [ fhir:value "C1705492" ];
         fhir:Coding.display [ fhir:value "Missing" ]       ]     ];
     fhir:Observation.component.valueInteger [ fhir:value "12"^^xsd:integer ]
  ]. # 

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

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