Validation Results for PDMP

Generated Thu Sep 12 05:00:06 UTC 2024, FHIR version 4.0.1 for hl7.fhir.us.pdmp#1.0.0 (canonical = http://hl7.org/fhir/us/pdmp (history)). See Full QA Report

Quality Checks
Publisher Version:IG Publisher Version: v1.6.24
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
Pub-Modemilestone
statustrial-use
Release-LabelSTU1
sequenceSTU1
descThis is the STU1 version of the US Prescription Drug Monitoring Program (PDMP) FHIR IG. It is sponsored by the HL7 Pharmacy Work Group
changeschanges.html
  • Proposed path for this publication does not start with the canonical URL (http://hl7.org/fhir/us/pdmp vs http://hl7.org/fhir/us/pdmp)
  • Proposed path for this milestone publication should usually be canonical with either sequence or version appended
Supressed Messages:30 Suppressed Issues
Dependency Checks:
PackageVersionFHIRCanonicalWeb BaseComment
.. hl7.fhir.us.pdmp1.0.0R4http://hl7.org/fhir/us/pdmp
... hl7.terminology.r46.0.2 MR4http://terminology.hl7.orghttp://terminology.hl7.org/6.0.2
... hl7.fhir.uv.extensions.r45.1.0 MR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/5.1.0
... hl7.fhir.us.core6.1.0 OR4http://hl7.org/fhir/us/corehttp://hl7.org/fhir/us/core/STU6.1Latest Release is 7.0.0
.... hl7.terminology.r45.0.0 OR4http://terminology.hl7.orghttp://terminology.hl7.org/5.0.0Latest Release is 6.0.2
.... hl7.fhir.uv.extensions.r41.0.0 OR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/1.0.0Latest Release is 5.1.0
.... 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 OR4http://hl7.org/fhir/smart-app-launchhttp://hl7.org/fhir/smart-app-launch/STU2.1Latest Release is 2.2.0
..... hl7.terminology.r45.0.0 OR4http://terminology.hl7.orghttp://terminology.hl7.org/5.0.0see above. Latest Release is 6.0.2
.... us.nlm.vsac0.11.0 OR4http://fhir.org/packages/us.nlm.vsachttp://fhir.org/packages/us.nlm.vsacLatest Release is 0.19.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.3.0
Templates: pdmp.template#null -> hl7.fhir.template#current -> hl7.base.template#current -> fhir.base.template#current. Tools: 0.2.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: Comparison with version 1.0.0-ballot
IPA Comparison: n/a
IPS Comparison: n/a
Summary: errors = 5, warn = 0, info = 0, broken links = 0
FilenameErrorsWarningsHints
Build Errors000
/scratch/repo/fsh-generated/resources/Bundle-pdmp-bundle-history-result-2100
/scratch/repo/fsh-generated/resources/Bundle-pdmp-bundle-response-message-1100
/scratch/repo/fsh-generated/resources/MedicationDispense-pdmp-meddispense-1100
/scratch/repo/fsh-generated/resources/Parameters-pdmp-history-output-parameters-1100
/scratch/repo/fsh-generated/resources/Parameters-pdmp-history-output-parameters-2-minimal-history100

n/a Show Validation Information


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

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

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

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

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

Certain PMIX code systems added to HTA/THO in late July 2024 do not appear to be on the FHIR terminiology server yet

Duplicate anchor warning related to anchors created by the publisher (this Zulip thread indicates these can be ignored: https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Publisher.20v1.2E6.2E12)

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 independently. 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. These code systems are included in THO without values.

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