age since birth measurement datum
An age measurement datum that is the result of the measurement of the age of an organism since birth, the process of emergence and separation of offspring from the mother.
pateintAgeAtEnc
placeholderProp37
placeholderProp38
placeholderProp39
placeholderProp40
placeholderProp41
placeholderProp42
over-18/over-120 systolic blood pressure measurement
over-18 health care encounter
placeholderClass
IF { ?person a <http://purl.obolibrary.org/obo/NCBITaxon_9606> . ?dobDatum a <http://www.ebi.ac.uk/efo/EFO_0004950> ; <http://purl.obolibrary.org/obo/IAO_0000136> ?birthInst ; <http://purl.obolibrary.org/obo/IAO_0000004> ?dobVal . ?birthInst a <http://purl.obolibrary.org/obo/UBERON_0035946> , <http://transformunify.org/ontologies/TURBO_0010201> . ?hce a <http://purl.obolibrary.org/obo/OGMS_0000097> ; <http://purl.obolibrary.org/obo/BFO_0000055> ?patRole . ?patRole a <http://purl.obolibrary.org/obo/OMRSE_00000011> ; <http://purl.obolibrary.org/obo/RO_0000052> ?person . ?hceStart a <http://purl.obolibrary.org/obo/BFO_0000035> ; <http://purl.obolibrary.org/obo/RO_0002223> ?hce . ?hceStartDate a <http://purl.obolibrary.org/obo/IAO_0000416> ; <http://purl.obolibrary.org/obo/IAO_0000136> ?hceStart ; <http://purl.obolibrary.org/obo/IAO_0000004> ?hceStartDateVal . FILTER ((?hceStartDateVal - ?dobVal)>"P18Y"^^<http://www.w3.org/2001/XMLSchema#duration>) } THEN { ?hce a <http://transformunify.org/ontologies/TURBO_0010335> . }
IF { ?hce a <http://purl.obolibrary.org/obo/OGMS_0000097> ; <http://purl.obolibrary.org/obo/OBI_0000299> ?sbpMd . ?sbpMd a <http://purl.obolibrary.org/obo/HTN_00000001> ; <http://purl.obolibrary.org/obo/IAO_0000136> ?SBP ; <http://purl.obolibrary.org/obo/OBI_0001938> ?sbpValspec . ?SBP a <http://purl.obolibrary.org/obo/VSO_0000038> . ?sbpValspec a <http://purl.obolibrary.org/obo/OBI_0001933> ; <http://purl.obolibrary.org/obo/IAO_0000039> <http://purl.obolibrary.org/obo/UO_0000272> ; <http://purl.obolibrary.org/obo/OBI_0002135> ?sbpVal . FILTER (?sbpVal>120) } THEN { ?sbpMd a <http://transformunify.org/ontologies/TURBO_0010334> . }
IF { ?h1 a <http://transformunify.org/ontologies/TURBO_0010335> ; <http://purl.obolibrary.org/obo/OBI_0000299> ?o18o1201 . ?o18o1201 a <http://transformunify.org/ontologies/TURBO_0010334> ; <http://purl.obolibrary.org/obo/IAO_0000136> ?SBP1 . ?SBP1 a <http://purl.obolibrary.org/obo/VSO_0000038> ; <http://purl.obolibrary.org/obo/RO_0000052> ?p1 . ?p1 a <http://purl.obolibrary.org/obo/NCBITaxon_9606> . ?h2 a <http://transformunify.org/ontologies/TURBO_0010335> ; <http://purl.obolibrary.org/obo/OBI_0000299> ?o18o1202 . ?o18o1202 a <http://transformunify.org/ontologies/TURBO_0010334> ; <http://purl.obolibrary.org/obo/IAO_0000136> ?SBP2 . ?SBP2 a <http://purl.obolibrary.org/obo/VSO_0000038> ; <http://purl.obolibrary.org/obo/RO_0000052> ?p2 . ?p2 a <http://purl.obolibrary.org/obo/NCBITaxon_9606> . FILTER (?h1!=?h2) FILTER (?p1=?p2) BIND(uuid() AS ?pheno) } THEN { ?pheno a <http://purl.obolibrary.org/obo/HTN_00000004> ; <http://purl.obolibrary.org/obo/RO_0000052> ?p1 . }
encounter date - birth date > 18 year? that's an adult encounter
blood pressure measurement from over-18 encounter has value > 120
person with over-18, over-120 blood pressure measurement datums from two separate encounters has a documented hypertension phenotype