2022 CDC Clinical Practice Guideline for Prescribing Opioids Implementation Guide
2022.1.0 - Release 2022.1

This page is part of the 2022 CDC Clinical Practice Guideline for Prescribing Opioids Implementation Guide (v2022.1.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Library: HelloWorldPatientView

Official URL: http://fhir.org/guides/cdc/opioid-cds/Library/HelloWorldPatientView Version: 1.0.0
Active as of 2026-03-18 Computable Name: HelloWorldPatientView

Copyright/Legal: Centers for Disease Control and Prevention (CDC)

Id: HelloWorldPatientView
Url: HelloWorldPatientView
Version: 1.0.0
Name: HelloWorldPatientView
Status: active
Type:

system: http://terminology.hl7.org/CodeSystem/library-type

code: logic-library

Date: 2026-03-18 16:10:11+1100
Publisher: CDC / Security Risk Solutions, Inc. (SRS)
Copyright:

Centers for Disease Control and Prevention (CDC)

Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
PatientPatient01Out
Infostring01Out
Warningstring01Out
Criticalstring01Out
Main Action Condition Expression Is Trueboolean01Out
Get Titlestring01Out
Get Descriptionstring01Out
Get Indicatorstring01Out
Data Requirements:
TypeProfileMSCode Filter
Patient http://hl7.org/fhir/StructureDefinition/Patient
Content: text/cql
library HelloWorldPatientView version '1.0.0'

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'

context Patient

define "Info":
  'info'

define "Warning":
  'warning'

define "Critical":
  'critical'

define "Main Action Condition Expression Is True":
  true

define "Get Title":
  'Hello World!'

define "Get Description":
  'The CDS Service is alive and communicating successfully!'

define "Get Indicator":
  'info'
Content: application/elm+xml
Encoded data (7796 characters)
Content: application/elm+json
Encoded data (12756 characters)