2022 CDC Clinical Practice Guideline for Prescribing Opioids Implementation Guide
2022.1.1 - Release 2022.1
This page is part of the 2022 CDC Clinical Practice Guideline for Prescribing Opioids Implementation Guide (v2022.1.1: 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
| Official URL: http://fhir.org/guides/cdc/opioid-cds/Library/MMECalculator | Version: 3.0.0 | |||
| Active as of 2021-11-25 | Computable Name: MMECalculator | |||
| Other Identifiers: OID:2.16.840.1.114222.28.7 | ||||
Usage:Clinical Focus: Medication requested (situation), Clinical Focus: Chronic pain (finding) |
||||
Copyright/Legal: Copyright 2019+ Centers for Disease Control and Prevention (CDC) |
||||
This library contains logic to surface the MME calculation functionality provided by the OMTKLogic library by extracting appropriate information from FHIR R4 MedicationRequest resource.
Exception parsing generated Narrative (see /tmp/liquid-d5487617-7131-4f64-b601-3ee1fad71530.html): unable to parse character reference ' quantity.code.value) end /* Extracts the relevant information for prescription calculation from a list of FHIR MedicationRequest resources. This assumes a MedicationRequest that conforms to the MMEMedicationRequest profile, specifically: * 1 and only 1 dosageInstruction * 1 and only 1 doseAndRate * 1 timing with 1 repeat * frequency, frequencyMax, defaulting to 1 * period, periodUnit, defaulting to 1 '' (last text = ' ' at line 322 column 40