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

: phenotype-example-1 - 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:Condition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "phenotype-example-1"]; # 
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://nih-ncpi.github.io/ncpi-fhir-ig/StructureDefinition/phenotype";
       fhir:index 0;
       fhir:link <https://nih-ncpi.github.io/ncpi-fhir-ig/StructureDefinition/phenotype>     ]
  ]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Condition</b><a name=\"phenotype-example-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 Condition &quot;phenotype-example-1&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-phenotype.html\">NCPI Phenotype</a></p></div><p><b>verificationStatus</b>: Confirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-condition-ver-status.html\">ConditionVerificationStatus</a>#confirmed)</span></p><p><b>code</b>: Present: Vesicoureteral reflux <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-hpo.html\">Human Phenotype Ontology</a>#HP:0000076 &quot;Vesicoureteral reflux&quot;)</span></p><p><b>subject</b>: <a href=\"Patient-patient-example-1.html\">Patient/patient-example-1</a> &quot; SMITH&quot;</p><p><b>recordedDate</b>: </p></div>"
  ]; # 
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ]
  ]; # 
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://purl.obolibrary.org/obo/hp.owl" ];
       fhir:Coding.code [ fhir:value "HP:0000076" ];
       fhir:Coding.display [ fhir:value "Vesicoureteral reflux" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Present: Vesicoureteral reflux" ]
  ]; # 
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/patient-example-1" ]
  ]; # 
  fhir:Condition.recordedDate [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "target" ];
         fhir:Extension.valueReference [
           fhir:Reference.reference [ fhir:value "Patient/patient-example-1" ]         ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "targetPath" ];
         fhir:Extension.valueString [ fhir:value "birthDate" ]       ], [
         fhir:index 2;
         fhir:Extension.url [ fhir:value "relationship" ];
         fhir:Extension.valueCode [ fhir:value "after" ]       ], [
         fhir:index 3;
         fhir:Extension.url [ fhir:value "offset" ];
         fhir:Extension.valueDuration [
           fhir:Quantity.value [ fhir:value "2"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "w" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "weeks" ]         ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime" ]     ]
  ]. # 

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

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