OHSU Hypertension Implementation Guide
0.1.0 - CI Build Unknown region code '840'

OHSU Hypertension Implementation Guide, published by Oregon Health and Science University. This is not an authorized publication; it is the continuous build for version 0.1.0). This version is based on the current content of https://github.com/OHSUCMP/htnu18ig/ and changes regularly. See the Directory of published versions

Library: Very High Blood Pressure Alert Logic

Official URL: http://fhir.org/guides/ohsuhypertensionig/Library/HypertensiveEmergency Version: 0.1.0
Draft as of 2023-05-11 Computable Name: HypertensiveEmergency

Copyright/Legal: Published by OHSU under an Apache 2.0 License

Decision logic for identifying a recent very high blood pressure

Id: HypertensiveEmergency
Url: http://fhir.org/guides/ohsuhypertensionig/Library/HypertensiveEmergency
Version: 0.1.0
Name: HypertensiveEmergency
Title: Very High Blood Pressure Alert Logic
Status: draft
Date: 2023-05-11 22:13:39+0000
Publisher: Oregon Health and Science University
Description:

Decision logic for identifying a recent very high blood pressure

Jurisdiction: 840
Copyright:

Published by OHSU under an Apache 2.0 License

Related Artifacts:
TypeResource
depends-onhttp://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
depends-onhttp://fhir.org/guides/ohsuhypertensionig/Library/FHIRHelpers|4.0.1
depends-onhttp://fhir.org/guides/ohsuhypertensionig/Library/OHSUHTNCommon|0.1
depends-onhttp://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1104.2
depends-onhttp://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.2.1045
depends-onhttp://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.2012
Parameters:
NameTypeMinMaxIn/Out
PatientPatient01out
In Populationboolean01out
Recommendationstring01out
Rationalestring01out
Suggestionsstring01out
Selection Behaviorstring01out
Linksstring01out
Rationale Combined Datastring01out
Indicator Statusstring01out
TEST Most Recent BP ReadingResource01out
TEST BP Within 14 daysboolean01out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient
Observation http://hl7.org/fhir/StructureDefinition/Observation ;
Content: text/cql
library HypertensiveEmergency version '0.1'

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1' called FHIRHelpers
include OHSUHTNCommon version '0.1' called Common

context Patient

define "In Population":
  Common."HTN Crisis"

define "Recommendation":
  if "In Population" then 'Warning: Very high blood pressure. Please recheck the pressure in 5 minutes; if it is still >180/120, consult your care team immediately.'
  else null

define "Rationale Combined Data":
  "Rationale" + '|' + "Suggestions" + '|' + "Selection Behavior" + '|' + "Links"

define "Rationale":
  if "In Population" then '{{#patient}}Your blood pressure is high (> 180 mmHg systolic and/or > 120 mmHg diastolic). Contact your care team immediately, or <strong>seek immediate care</strong> if you do not feel well.{{/patient}}{{#careTeam}}Patient\'s blood pressure is > 180 systolic or > 120 diastolic. Consider immediate evaluation for treatment or escalation of care.{{/careTeam}}'
  else null

define "Indicator Status":
  if "In Population" then 'critical'
  else null

define "Suggestions":
  if "In Population" then '[ { "id": "contact-suggestion", "label": "Contact care team", "type": "suggestion-link", "actions": [{"label":"Contact your care team about your high blood pressure", "url":"/contact?token=urgent-bp"}] } ]'
  else null

define "Selection Behavior":
  'at-most-one'

define "Links":
  '[{"label":"AHA: When to call 911 for high blood pressure", "url":"https://www.heart.org/en/health-topics/high-blood-pressure/understanding-blood-pressure-readings/hypertensive-crisis-when-you-should-call-911-for-high-blood-pressure"}]'

define "TEST Most Recent BP Reading":
  Common."Most Recent BP Reading"

define "TEST BP Within 14 days":
  Common."BP Within 14 days"
Content: application/elm+xml
Encoded data (21052 characters)
Content: application/elm+json
Encoded data (34332 characters)