Validation Results for PDMP

Generated Fri Jun 14 00:09:09 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 Errors Only

Quality Checks
Publisher Version:IG Publisher Version: v1.6.11
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:
  • Version 1.0.0-ballot has already been published
  • Publication Request is for version v1.0.0-ballot which is already published
Supressed Messages:20 Suppressed Issues
Dependency Checks:
PackageVersionFHIRCanonicalWeb BaseComment
.. hl7.fhir.us.pdmp1.0.0-ballotR4http://hl7.org/fhir/us/pdmp
... hl7.terminology.r45.5.0 MR4http://terminology.hl7.orghttp://terminology.hl7.org/5.5.0
... 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 5.5.0
.... 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 5.5.0
.... us.nlm.vsac0.11.0 OR4http://fhir.org/packages/us.nlm.vsachttp://fhir.org/packages/us.nlm.vsacLatest Release is 0.18.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.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:
IPA Comparison: n/a
IPS Comparison: n/a
Summary: errors = 5, warn = 0, info = 3, broken links = 0
FilenameErrorsWarningsHints
Build Errors000
/scratch/repo/fsh-generated/resources/Bundle-pdmp-bundle-history-result-1000
/scratch/repo/fsh-generated/resources/Bundle-pdmp-bundle-history-result-2100
/scratch/repo/fsh-generated/resources/Bundle-pdmp-bundle-request-message-1000
/scratch/repo/fsh-generated/resources/Bundle-pdmp-bundle-response-message-1100
/scratch/repo/fsh-generated/resources/CapabilityStatement-pdmp-client000
/scratch/repo/fsh-generated/resources/CapabilityStatement-pdmp-server000
/scratch/repo/fsh-generated/resources/CodeSystem-temporary-pdmp-response-status000
/scratch/repo/fsh-generated/resources/CodeSystem-temporary-pmix-method-of-payment000
/scratch/repo/fsh-generated/resources/CodeSystem-temporary-pmix-opioid-treatment-code000
/scratch/repo/fsh-generated/resources/CodeSystem-temporary-pmix-patient-alert-category-code000
/scratch/repo/fsh-generated/resources/CodeSystem-temporary-pmix-response-status000
/scratch/repo/fsh-generated/resources/CodeSystem-temporary-pmix-species-type-code000
/scratch/repo/fsh-generated/resources/CodeSystem-temporary-pmix-transmission-form-of-rx-origin000
/scratch/repo/fsh-generated/resources/ImplementationGuide-hl7.fhir.us.pdmp000
/scratch/repo/fsh-generated/resources/MedicationAdministration-pdmp-medadmin-1000
/scratch/repo/fsh-generated/resources/MedicationDispense-pdmp-meddispense-1100
/scratch/repo/fsh-generated/resources/MedicationDispense-pdmp-meddispense-2000
/scratch/repo/fsh-generated/resources/MessageDefinition-pdmp-request000
/scratch/repo/fsh-generated/resources/MessageDefinition-pdmp-response000
/scratch/repo/fsh-generated/resources/OperationDefinition-pdmp-history000
/scratch/repo/fsh-generated/resources/Organization-pdmp-pharmacy-1000
/scratch/repo/fsh-generated/resources/Parameters-pdmp-history-input-parameters-1000
/scratch/repo/fsh-generated/resources/Parameters-pdmp-history-input-parameters-2-minimum000
/scratch/repo/fsh-generated/resources/Parameters-pdmp-history-input-parameters-3-veterinary000
/scratch/repo/fsh-generated/resources/Parameters-pdmp-history-input-parameters-4-delegate000
/scratch/repo/fsh-generated/resources/Parameters-pdmp-history-output-parameters-1100
/scratch/repo/fsh-generated/resources/Parameters-pdmp-history-output-parameters-2-minimal-history100
/scratch/repo/fsh-generated/resources/Parameters-pdmp-history-output-parameters-3-patient-not-found000
/scratch/repo/fsh-generated/resources/Parameters-pdmp-history-output-parameters-4-link-response000
/scratch/repo/fsh-generated/resources/Parameters-pdmp-history-output-parameters-5-pre-stage-response000
/scratch/repo/fsh-generated/resources/Parameters-pdmp-history-output-parameters-6-non-fatal-warning000
/scratch/repo/fsh-generated/resources/Parameters-pdmp-history-output-parameters-7-fatal-error000
/scratch/repo/fsh-generated/resources/Patient-pdmp-patient-1000
/scratch/repo/fsh-generated/resources/Patient-pdmp-patient-2-veterinary000
/scratch/repo/fsh-generated/resources/Patient-pdmp-patient-3000
/scratch/repo/fsh-generated/resources/RelatedPerson-relatedperson-2-veterinary000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-activity-period-extension000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-bundle-history-result000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-bundle-request-message000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-bundle-response-message000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-extension-lme000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-extension-method-of-payment000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-extension-mme000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-extension-opioid-treatment-code000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-extension-rx-fill-number000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-extension-rx-transmission-method000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-header-timestamp-extension000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-medicationadministration000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-medicationdispense000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-messageheader-request000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-messageheader-response000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-organization-pharmacy003
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-parameters-request000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-parameters-response000
/scratch/repo/fsh-generated/resources/StructureDefinition-pdmp-patient000
/scratch/repo/fsh-generated/resources/ValueSet-pdmp-opioid-treatment-code000
/scratch/repo/fsh-generated/resources/ValueSet-pdmp-patient-alert-category-code000
/scratch/repo/fsh-generated/resources/ValueSet-pdmp-response-status000
/scratch/repo/fsh-generated/resources/ValueSet-pdmp-rx-transmission-method000
/scratch/repo/fsh-generated/resources/ValueSet-pdmp-species-type000
/scratch/repo/fsh-generated/resources/ValueSet-pmix-method-of-payment000

n/a Show Validation Information


fsh-generated/resources/Bundle-pdmp-bundle-history-result-1.json Show Validation Information (11)


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-request-message-1.json Show Validation Information (15)


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/CapabilityStatement-pdmp-client.json Show Validation Information (1)


fsh-generated/resources/CapabilityStatement-pdmp-server.json Show Validation Information (1)


fsh-generated/resources/CodeSystem-temporary-pdmp-response-status.json Show Validation Information (1)


fsh-generated/resources/CodeSystem-temporary-pmix-method-of-payment.json Show Validation Information (1)


fsh-generated/resources/CodeSystem-temporary-pmix-opioid-treatment-code.json Show Validation Information (1)


fsh-generated/resources/CodeSystem-temporary-pmix-patient-alert-category-code.json Show Validation Information (1)


fsh-generated/resources/CodeSystem-temporary-pmix-response-status.json Show Validation Information (1)


fsh-generated/resources/CodeSystem-temporary-pmix-species-type-code.json Show Validation Information (1)


fsh-generated/resources/CodeSystem-temporary-pmix-transmission-form-of-rx-origin.json Show Validation Information (1)


fsh-generated/resources/ImplementationGuide-hl7.fhir.us.pdmp.json Show Validation Information (1)


fsh-generated/resources/MedicationAdministration-pdmp-medadmin-1.json Show Validation Information (1)


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/MedicationDispense-pdmp-meddispense-2.json Show Validation Information (1)


fsh-generated/resources/MessageDefinition-pdmp-request.json Show Validation Information (1)


fsh-generated/resources/MessageDefinition-pdmp-response.json Show Validation Information (1)


fsh-generated/resources/OperationDefinition-pdmp-history.json Show Validation Information (1)


fsh-generated/resources/Organization-pdmp-pharmacy-1.json Show Validation Information (1)


fsh-generated/resources/Parameters-pdmp-history-input-parameters-1.json Show Validation Information (11)


fsh-generated/resources/Parameters-pdmp-history-input-parameters-2-minimum.json Show Validation Information (11)


fsh-generated/resources/Parameters-pdmp-history-input-parameters-3-veterinary.json Show Validation Information (14)


fsh-generated/resources/Parameters-pdmp-history-input-parameters-4-delegate.json Show Validation Information (19)


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

fsh-generated/resources/Parameters-pdmp-history-output-parameters-3-patient-not-found.json Show Validation Information (2)


fsh-generated/resources/Parameters-pdmp-history-output-parameters-4-link-response.json Show Validation Information (1)


fsh-generated/resources/Parameters-pdmp-history-output-parameters-5-pre-stage-response.json Show Validation Information (2)


fsh-generated/resources/Parameters-pdmp-history-output-parameters-6-non-fatal-warning.json Show Validation Information (2)


fsh-generated/resources/Parameters-pdmp-history-output-parameters-7-fatal-error.json Show Validation Information (2)


fsh-generated/resources/Patient-pdmp-patient-1.json Show Validation Information (1)


fsh-generated/resources/Patient-pdmp-patient-2-veterinary.json Show Validation Information (1)


fsh-generated/resources/Patient-pdmp-patient-3.json Show Validation Information (1)


fsh-generated/resources/RelatedPerson-relatedperson-2-veterinary.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-activity-period-extension.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-bundle-history-result.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-bundle-request-message.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-bundle-response-message.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-extension-lme.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-extension-method-of-payment.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-extension-mme.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-extension-opioid-treatment-code.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-extension-rx-fill-number.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-extension-rx-transmission-method.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-header-timestamp-extension.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-medicationadministration.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-medicationdispense.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-messageheader-request.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-messageheader-response.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-organization-pharmacy.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition​.snapshot​.element[18]​.pattern​.ofType(Identifier)informationThe repeating element has a pattern. The pattern will apply to all the repeats (this has not been clear to all users)
StructureDefinition​.snapshot​.element[19]​.pattern​.ofType(Identifier)informationThe repeating element has a pattern. The pattern will apply to all the repeats (this has not been clear to all users)
StructureDefinition​.snapshot​.element[20]​.pattern​.ofType(Identifier)informationThe repeating element has a pattern. The pattern will apply to all the repeats (this has not been clear to all users)

fsh-generated/resources/StructureDefinition-pdmp-parameters-request.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-parameters-response.json Show Validation Information (1)


fsh-generated/resources/StructureDefinition-pdmp-patient.json Show Validation Information (1)


fsh-generated/resources/ValueSet-pdmp-opioid-treatment-code.json Show Validation Information (1)


fsh-generated/resources/ValueSet-pdmp-patient-alert-category-code.json Show Validation Information (1)


fsh-generated/resources/ValueSet-pdmp-response-status.json Show Validation Information (1)


fsh-generated/resources/ValueSet-pdmp-rx-transmission-method.json Show Validation Information (1)


fsh-generated/resources/ValueSet-pdmp-species-type.json Show Validation Information (1)


fsh-generated/resources/ValueSet-pmix-method-of-payment.json Show Validation Information (1)

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