OHSUHTNCommon
type: Library
node role: treeRoot
id:
  v: OHSUHTNCommon
text:
  status:
    v: extensions
  div:
    v: Id: OHSUHTNCommon Url: Common Logic Version: 0.1.0 Name: OHSUHTNCommon Title: Common Logic Status: draft Date: 2026-02-19 22:08:15+0000 Publisher: Oregon Health and Science University Description: Common logic spanning multiple interventions. Jurisdiction: 840 Copyright: Published by OHSU under an Apache 2.0 License Related Artifacts: Type Resource depends-on http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1 depends-on http://fhir.org/guides/ohsuhypertensionig/Library/FHIRHelpers|4.0.1 depends-on http://loinc.org depends-on SNOMED CT (all versions) depends-on Condition Clinical Status Codes depends-on ConditionVerificationStatus depends-on ActCode depends-on Condition Category Codes depends-on Medicationrequest status depends-on Systolic blood pressure depends-on Diastolic Blood Pressure depends-on Blood Pressure Measured depends-on Ambulatory Blood Pressure Monitoring (ABPM) depends-on Antihypertensive Medications depends-on Anti Hypertensive Drugs depends-on Hypertension depends-on Non essential Hypertension SNOMEDCT depends-on Pregnancy depends-on End Stage Renal Disease depends-on Hospice care ambulatory Parameters: Name Type Min Max In/Out Patient Patient 0 1 Out Patient Under Age 18 boolean 0 1 Out Patient Over Age 100 boolean 0 1 Out Conditions Condition 0 * Out Problem Conditions Condition 0 * Out Encounter Conditions Condition 0 * Out Condition Indicating End Stage Renal Disease Condition 0 * Out Condition Indicating Pregnancy Condition 0 * Out Problem Condition Indicating Preexisting Hypertension Condition 0 * Out Encounter Condition Indicating Preexisting Hypertension Condition 0 * Out Condition Indicating Preexisting Hypertension Condition 0 * Out All Observations Observation 0 * Out Component BP Observations Resource 0 * Out Paired BP Observations Resource 0 * Out All BP Observations Resource 0 * Out Most Recent BP Reading Resource 0 1 Out HTN High Crisis boolean 0 1 Out HTN Low Crisis boolean 0 1 Out HTN Crisis boolean 0 1 Out Blood Pressu…
extension:
  url:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem
    l: cqfm-softwaresystem
  value: Reference
    l: cqf-tooling
    reference:
      v: Device/cqf-tooling
url:
  v: http://fhir.org/guides/ohsuhypertensionig/Library/OHSUHTNCommon
  l: OHSUHTNCommon
version:
  v: 0.1.0
name:
  v: OHSUHTNCommon
title:
  v: Common Logic
status:
  v: draft
date:
  v: 2026-02-19T22:08:15+00:00
publisher:
  v: Oregon Health and Science University
contact:
  name:
    v: Oregon Health and Science University
  telecom:
    system:
      v: url
    value:
      v: https://www.ohsu.edu/
description:
  v: Common logic spanning multiple interventions.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 840
copyright:
  v: Published by OHSU under an Apache 2.0 License
related artifact:
  type:
    v: depends-on
  display:
    v: FHIR model information
  resource:
    v: http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
    l: http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://fhir.org/guides/ohsuhypertensionig/Library/FHIRHelpers|4.0.1
    l: http://fhir.org/guides/ohsuhypertensionig/Library/FHIRHelpers
related artifact:
  type:
    v: depends-on
  display:
    v: Code system LOINC
  resource:
    v: http://loinc.org
    l: loinc.org
related artifact:
  type:
    v: depends-on
  display:
    v: Code system SNOMED
  resource:
    v: http://snomed.info/sct
    l: sct
related artifact:
  type:
    v: depends-on
  display:
    v: Code system ConditionClinicalStatusCodes
  resource:
    v: http://terminology.hl7.org/CodeSystem/condition-clinical
    l: condition-clinical
related artifact:
  type:
    v: depends-on
  display:
    v: Code system ConditionVerificationStatusCodes
  resource:
    v: http://terminology.hl7.org/CodeSystem/condition-ver-status
    l: condition-ver-status
related artifact:
  type:
    v: depends-on
  display:
    v: Code system v3 Code System ActCode
  resource:
    v: http://terminology.hl7.org/CodeSystem/v3-ActCode
    l: v3-ActCode
related artifact:
  type:
    v: depends-on
  display:
    v: Code system ConditionCategorySystem
  resource:
    v: http://terminology.hl7.org/CodeSystem/condition-category
    l: condition-category
related artifact:
  type:
    v: depends-on
  display:
    v: Code system Medication request status
  resource:
    v: http://hl7.org/fhir/CodeSystem/medicationrequest-status
    l: medicationrequest-status
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Systolic Blood Pressure
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1104.2
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1104.2
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Diastolic Blood Pressure
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1045
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1045
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Blood Pressure Measured
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.2012
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.2012
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Ambulatory Blood Pressure Monitoring (ABPM)
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.511
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.511
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Antihypertensive Medications 1
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.10
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1178.10
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Antihypertensive Medications 2
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1200.242
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1200.242
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Hypertension
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.104.12.1016
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.104.12.1016
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Non essential Hypertension SNOMEDCT
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.10
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1032.10
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Pregnancy
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.378
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.378
related artifact:
  type:
    v: depends-on
  display:
    v: Value set End Stage Renal Disease
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.590
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.590

type:
  v: depends-on
display:
  v: Value set Hospice care ambulatory
resource:
  v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15
  l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15

name:
  v: Patient
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Patient

name:
  v: Patient Under Age 18
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Patient Over Age 100
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Conditions
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Condition

name:
  v: Problem Conditions
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Condition

name:
  v: Encounter Conditions
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Condition

name:
  v: Condition Indicating End Stage Renal Disease
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Condition

name:
  v: Condition Indicating Pregnancy
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Condition

name:
  v: Problem Condition Indicating Preexisting Hypertension
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Condition

name:
  v: Encounter Condition Indicating Preexisting Hypertension
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Condition

name:
  v: Condition Indicating Preexisting Hypertension
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Condition

name:
  v: All Observations
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Observation

name:
  v: Component BP Observations
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Paired BP Observations
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: All BP Observations
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Most Recent BP Reading
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Resource

name:
  v: HTN High Crisis
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: HTN Low Crisis
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: HTN Crisis
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Blood Pressure Observations for Last 2 Years
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Blood Pressure Observations for Last 2 Years Descending
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Home Blood Pressure Observations
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Office Blood Pressure Observations
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Ambulatory Blood Pressure Monitoring Observations
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Has BP Set
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Has 12 Home BPs
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Most Recent BP Set
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Resource

name:
  v: Average All BP Last 2 Years
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Resource

name:
  v: Average Most Recent BP Set
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Resource

name:
  v: Patient Has Potential HTN Stage 1 BP
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Patient Has Potential HTN Stage 2 BP
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Qualifying Blood Pressure Goals
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Goal

name:
  v: Most Recently Established Blood Pressure Goal
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Goal

name:
  v: Patient has a BP Goal
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: BP from Most Recent Goal
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Resource

name:
  v: Above Goal Average Most Recent
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Active Medication Requests
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: MedicationRequest

name:
  v: Medication Requests With Medication
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: MedicationRequest

name:
  v: Patient is Using Antihypertensive Medications
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

type:
  v: Patient
profile:
  v: http://hl7.org/fhir/StructureDefinition/Patient
  l: Patient

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  l: Condition
must support:
  v: code

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/StructureDefinition/Observation
  l: Observation
must support:
  v: code

type:
  v: Goal
profile:
  v: http://hl7.org/fhir/StructureDefinition/Goal
  l: Goal
must support:
  v: target

type:
  v: MedicationRequest
profile:
  v: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  l: MedicationRequest
must support:
  v: status
must support:
  v: status.value
must support:
  v: id
must support:
  v: intent
must support:
  v: category
must support:
  v: subject
must support:
  v: authoredOn
must support:
  v: recorder
must support:
  v: dosageInstruction
must support:
  v: dispenseRequest

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json