Pharma
type: Library
node role: treeRoot
id:
  v: Pharma
text:
  status:
    v: extensions
  div:
    v: Id: Pharma Url: Therapy - Medicines Logic Version: 0.1.0 Name: Pharma Title: Therapy - Medicines Logic Status: draft Date: 2026-02-19 22:08:15+0000 Publisher: Oregon Health and Science University Description: Decision logic for recommendations concerning hypertension medications 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 Common Logicversion: null0.1.0) depends-on ConditionVerificationStatus depends-on Condition Category Codes depends-on Medicationrequest status depends-on Hypertension depends-on Non essential Hypertension SNOMEDCT depends-on End Stage Renal Disease depends-on Pregnancy depends-on Systolic blood pressure depends-on Diastolic Blood Pressure depends-on Blood Pressure Measured depends-on Antihypertensive Medications depends-on Anti Hypertensive Drugs Parameters: Name Type Min Max In/Out Patient Patient 0 1 Out Meets Inclusion Criteria boolean 0 1 Out Meets Exclusion Criteria boolean 0 1 Out In Population boolean 0 1 Out Receive Therapy boolean 0 1 Out Enter Workflow boolean 0 1 Out Recommendation string 0 1 Out Rationale string 0 1 Out Suggestions string 0 1 Out Selection Behavior string 0 1 Out Links string 0 1 Out Rationale Combined Data string 0 1 Out Indicator Status string 0 1 Out Test Antihypertensive Medications boolean 0 1 Out Data Requirements: Type Profile MS Code Filter Patient http://hl7.org/fhir/StructureDefinition/Patient Condition http://hl7.org/fhir/StructureDefinition/Condition ; Observation http://hl7.org/fhir/StructureDefinition/Observation ; Goal http://hl7.org/fhir/StructureDefinition/Goal ; MedicationRequest http://hl7.org/fhir/StructureDefinition/MedicationRequest ;;;;;;;;;; Content: text/cql library Pharma version '0.1'#xD; #xD; using FHIR version '4.0.1'#xD; #xD; include FHIRHelpers version '4.0.1' calle…
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/Pharma
  l: Pharma
version:
  v: 0.1.0
name:
  v: Pharma
title:
  v: Therapy - Medicines 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: Decision logic for recommendations concerning hypertension medications
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: Library Common
  resource:
    v: http://fhir.org/guides/ohsuhypertensionig/Library/OHSUHTNCommon|0.1
    l: http://fhir.org/guides/ohsuhypertensionig/Library/OHSUHTNCommon
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 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 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 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
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 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 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
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: Meets Inclusion Criteria
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Meets Exclusion Criteria
  use:
    v: out
  min:
    v: 0
  max:
    v: 1

v: boolean

name:
  v: In Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Receive Therapy
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Enter Workflow
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Recommendation
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Rationale
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Suggestions
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Selection Behavior
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Links
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Rationale Combined Data
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Indicator Status
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Test 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