Validation Results for PDMP

Generated Thu Apr 04 15:45:08 UTC 2024, FHIR version 4.0.1 for hl7.fhir.us.pdmp#1.0.0-ballot (canonical = http://hl7.org/fhir/us/pdmp (history)). See Full QA Report

Quality Checks
Publisher Version:IG Publisher Version: v1.6.4
Publication Code:pdmp . PackageId = hl7.fhir.us.pdmp, Canonical = http://hl7.org/fhir/us/pdmp
Realm Check for US:

Snomed: The IG doesn't use SNOMED CT

Profiles: All OK

Publication Request:
package-idhl7.fhir.us.pdmp
version1.0.0-ballot
pathhttp://hl7.org/fhir/us/pdmp/2024May
Pub-Modeworking release
statusballot
Release-LabelSTU1 Ballot
sequenceSTU1
descThis is the proposed STU1 version of the US Prescription Drug Monitoring Program (PDMP) FHIR IG for ballot in May 2024. It is sponsored by the HL7 Pharmacy Work Group
changeschanges.html
firsttrue
categoryMedications / Immunizations
titleUS Prescription Drug Monitoring Program (PDMP)
introductionPrescription Drug Monitoring Programs (PDMPs) are state-based databases that provide prescribers, pharmacists, and health authorities timely information about controlled substance, and in some states non-controlled substance dispensing and patient behaviors. Use of information stored in PDMPs during care delivery helps avoid drug misuse and diversion and can provide improved patient care and safety. To reduce opioid misuse and for other purposes, states have implemented policies mandating providers to reference PDMPs to obtain patients history before prescribing or dispensing certain medications. The Prescription Drug Monitoring Program (PDMP) FHIR Implementation Guide defines a method for providers to access patient PDMP information using the HL7 FHIR standard.
ci-buildhttps://build.fhir.org/ig/HL7/fhir-pdmp
  • Error fetching package-list from http://hl7.org/fhir/us/pdmp: Not Found
  • Proposed path for this publication should usually be the canonical with the version or sequence appended and then some kind of label (typically '-snapshot')
Supressed Messages:20 Suppressed Issues
Dependency Checks:
PackageVersionFHIRCanonicalWeb BaseComment
.. hl7.fhir.us.pdmp1.0.0-ballotR4http://hl7.org/fhir/us/pdmp
... hl7.terminology.r45.3.0 OR4http://terminology.hl7.orghttp://terminology.hl7.org/5.3.0Latest Release is 5.5.0
... hl7.fhir.uv.extensions.r41.0.0 MR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/1.0.0
... hl7.fhir.us.core6.1.0 MR4http://hl7.org/fhir/us/corehttp://hl7.org/fhir/us/core/STU6.1
.... hl7.terminology.r45.0.0 OR4http://terminology.hl7.orghttp://terminology.hl7.org/5.0.0Latest Release is 5.5.0
.... hl7.fhir.uv.extensions.r41.0.0 MR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/1.0.0see above
.... hl7.fhir.uv.bulkdata2.0.0 MR4http://hl7.org/fhir/uv/bulkdatahttp://hl7.org/fhir/uv/bulkdata/STU2
.... hl7.fhir.uv.smart-app-launch2.1.0 MR4http://hl7.org/fhir/smart-app-launchhttp://hl7.org/fhir/smart-app-launch/STU2.1
..... hl7.terminology.r45.0.0 OR4http://terminology.hl7.orghttp://terminology.hl7.org/5.0.0see above. Latest Release is 5.5.0
.... us.nlm.vsac0.10.0 OR4http://fhir.org/packages/us.nlm.vsachttp://fhir.org/packages/us.nlm.vsacLatest Release is 0.17.0
.... hl7.fhir.uv.sdc3.0.0 MR4http://hl7.org/fhir/uv/sdchttp://hl7.org/fhir/uv/sdc/STU3
..... hl7.fhir.r4.examples4.0.1 OR4http://hl7.org/fhirhttp://hl7.org/fhir/R4Latest Release is 5.0.0
.... us.cdc.phinvads0.12.0 MR4http://fhir.org/packages/us.cdc.phinvadshttp://fhir.org/packages/us.cdc.phinvads
.... ihe.formatcode.fhir1.1.0 OR4https://profiles.ihe.net/fhir/ihe.formatcode.fhirhttps://profiles.ihe.net/fhir/ihe.formatcode.fhir/1.1.0Latest Release is 1.2.0
Templates: pdmp.template#null -> hl7.fhir.template#current -> hl7.base.template#current -> fhir.base.template#current. Tools: 0.1.0
Dependent IGs:no references
Global Profiles:(none declared)
Terminology Server(s):http://tx.fhir.org/r4 (details)
HTA Analysis:no Non-HL7 references found
R5 Dependencies:(none)
Draft Dependencies:
Modifier Extensions:(none)
Previous Version Comparison: Unable to compare with previous version: Unable to find version history at http://hl7.org/fhir/us/pdmp (Problem #1 with package-list.json at http://hl7.org/fhir/us/pdmp: Not Found)
IPA Comparison: n/a
IPS Comparison: n/a
Summary: errors = 5, warn = 0, info = 0, broken links = 0
FilenameErrorsWarningsHints
Build Errors000
C:\temp\hl7.fhir.us.pdmp#1.0.0-ballot\fsh-generated\resources\Bundle-pdmp-bundle-history-result-2100
C:\temp\hl7.fhir.us.pdmp#1.0.0-ballot\fsh-generated\resources\Bundle-pdmp-bundle-response-message-1100
C:\temp\hl7.fhir.us.pdmp#1.0.0-ballot\fsh-generated\resources\MedicationDispense-pdmp-meddispense-1100
C:\temp\hl7.fhir.us.pdmp#1.0.0-ballot\fsh-generated\resources\Parameters-pdmp-history-output-parameters-1100
C:\temp\hl7.fhir.us.pdmp#1.0.0-ballot\fsh-generated\resources\Parameters-pdmp-history-output-parameters-2-minimal-history100

n/a Show Validation Information


C:\temp\hl7.fhir.us.pdmp#1.0.0-ballot\fsh-generated\resources\Bundle-pdmp-bundle-history-result-2.json Show Validation Information (34)

PathSeverityMessage
Bundle​.entry[0]​.resource​/*MedicationDispense​/meddispense-res-1*​/ (l13​/c8)errorConstraint failed: mdd-1: 'whenHandedOver cannot be before whenPrepared' (defined in http://hl7.org/fhir/StructureDefinition/MedicationDispense)java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.hl7.fhir.r5.model.BaseDateTimeType.getYear()" is null (log: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.hl7.fhir.r5.model.BaseDateTimeType.getYear()" is null)

Editor's Comment: A base MedicationDispense invariant causes an error when a Data Absent Reason extension is used for whenHandedOver. Discussed in CGP WG on 3/7/24 and a jira to address this was created: https://jira.hl7.org/browse/FHIR-44999

C:\temp\hl7.fhir.us.pdmp#1.0.0-ballot\fsh-generated\resources\Bundle-pdmp-bundle-response-message-1.json Show Validation Information (19)

PathSeverityMessage
Bundle​.entry[1]​.resource​/*Parameters​/aecbb129-9a73-4b59-9d66-ff5cdb3f3164*​/​.parameter[0]​.resource​/*Bundle​/bundle-history-data-in-msg-1*​/​.entry[0]​.resource​/*MedicationDispense​/null*​/ (l85​/c20)errorConstraint failed: mdd-1: 'whenHandedOver cannot be before whenPrepared'java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.hl7.fhir.r5.model.BaseDateTimeType.getYear()" is null (log: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.hl7.fhir.r5.model.BaseDateTimeType.getYear()" is null)

Editor's Comment: A base MedicationDispense invariant causes an error when a Data Absent Reason extension is used for whenHandedOver. Discussed in CGP WG on 3/7/24 and a jira to address this was created: https://jira.hl7.org/browse/FHIR-44999

C:\temp\hl7.fhir.us.pdmp#1.0.0-ballot\fsh-generated\resources\MedicationDispense-pdmp-meddispense-1.json Show Validation Information (1)

PathSeverityMessage
MedicationDispense (l1/c2)errorConstraint failed: mdd-1: 'whenHandedOver cannot be before whenPrepared' (defined in http://hl7.org/fhir/StructureDefinition/MedicationDispense)java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.hl7.fhir.r5.model.BaseDateTimeType.getYear()" is null (log: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.hl7.fhir.r5.model.BaseDateTimeType.getYear()" is null)

Editor's Comment: A base MedicationDispense invariant causes an error when a Data Absent Reason extension is used for whenHandedOver. Discussed in CGP WG on 3/7/24 and a jira to address this was created: https://jira.hl7.org/browse/FHIR-44999

C:\temp\hl7.fhir.us.pdmp#1.0.0-ballot\fsh-generated\resources\Parameters-pdmp-history-output-parameters-1.json Show Validation Information (13)

PathSeverityMessage
Parameters​.parameter[0]​.resource​/*Bundle​/bundle-history-data-1*​/​.entry[0]​.resource​/*MedicationDispense​/null*​/ (l25​/c14)errorConstraint failed: mdd-1: 'whenHandedOver cannot be before whenPrepared'java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.hl7.fhir.r5.model.BaseDateTimeType.getYear()" is null (log: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.hl7.fhir.r5.model.BaseDateTimeType.getYear()" is null)

Editor's Comment: A base MedicationDispense invariant causes an error when a Data Absent Reason extension is used for whenHandedOver. Discussed in CGP WG on 3/7/24 and a jira to address this was created: https://jira.hl7.org/browse/FHIR-44999

C:\temp\hl7.fhir.us.pdmp#1.0.0-ballot\fsh-generated\resources\Parameters-pdmp-history-output-parameters-2-minimal-history.json Show Validation Information (13)

PathSeverityMessage
Parameters​.parameter[0]​.resource​/*Bundle​/bundle-history-data-2-minimal*​/​.entry[0]​.resource​/*MedicationDispense​/null*​/ (l25​/c14)errorConstraint failed: mdd-1: 'whenHandedOver cannot be before whenPrepared'java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.hl7.fhir.r5.model.BaseDateTimeType.getYear()" is null (log: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.hl7.fhir.r5.model.BaseDateTimeType.getYear()" is null)

Editor's Comment: A base MedicationDispense invariant causes an error when a Data Absent Reason extension is used for whenHandedOver. Discussed in CGP WG on 3/7/24 and a jira to address this was created: https://jira.hl7.org/browse/FHIR-44999

Suppressed Messages (Warnings, hints, broken links)

A base MedicationDispense invariant causes an error when a Data Absent Reason extension is used for whenHandedOver. Discussed in CGP WG on 3/7/24 and a jira to address this was created: https://jira.hl7.org/browse/FHIR-44999

Identifier types in the example instances below are intentionally of a type that does not have a slice definition in the US Core Practitioner identifier element

Inherited from the base MedicationDispense resource

MessageHeader profiles do not have separate examples b/c they aren't used indepenently. Instead, profile pages contain links to full message examples for pdmp-messageheader-request, pdmp-messageheader-response, pdmp-parameters-request

Slicing information note references the MedicationDispense 'whenHandedOver cannot be before whenPrepared' invariant error (see note above)

The PMIX code systems are open source and freely available to be used by implementers. Steps underway to add to HTA

The US Core Organization profile sets identifier patterns in repeating slices for NPI, CLIA and NAIC. The pattern is expected to hold for all repetitions of that slice. (It's fixing the 'system' for the identifier.)

We believe the single value of this code system is unique to the PDMP use case. It may be added to a related PMIX code system or kept within the IG

Errors sorted by type