MedicationDispesnseStatusVS Error in USCDIV3 Testing

23 views
Skip to first unread message

sagar karnik

unread,
Sep 23, 2025, 7:28:09 AM (11 days ago) Sep 23
to Edge Test Tool (ETT)
Hi Team

We are Validating USCDIV3 CCDA and getting below error (image attached for reference).

Result Description: Consol Medication Dispense V4 SHALL contain exactly one [1..1] code (CONF:4537-32974), which SHALL be selected from ValueSet MedicationDispesnseStatusVS 2.16.840.1.113883.4.642.3.1312 STATIC

XPath/ClinicalDocument/component/structuredBody/component[3]/section/entry/substanceAdministration/entryRelationship[3]/supply

Line Number: 967


We have added the MedicationDispesnseStatusVS  Code in the CDA still the error is not resolving. Can you help us with it? The CDA is attached for reference.


Thanks,

Sagar

MedicationDispesnseStatusVS_Error.jpg
170.315_b2_ciri__r11_svap_uscdiv3_sample1_v1_org_6.xml

Mat Davis

unread,
Sep 23, 2025, 7:48:05 AM (11 days ago) Sep 23
to Edge Test Tool (ETT)
Hi Sagar.

Based on your error message alone, I found the following:

1. Navigate to here for Medication Dispense Template details - https://www.hl7.org/ccdasearch/pdfs/2.16.840.1.113883.10.20.22.4.18.pdf
2. Search for and review "CONF:4537-32974" from your error message
3. Search for and review the valueset table "Table 54" from your error message by searching for that valueset OID - "2.16.840.1.113883.4.642.3.1312"
4. Confirm you are using a value from that valueset in the expected XML data element

Let us know if you can resolve the issue using the information above.

Thanks - Mat

sagar karnik

unread,
Sep 23, 2025, 12:04:15 PM (11 days ago) Sep 23
to Edge Test Tool (ETT)

Thanks Mat for sharing the steps and the Template Guide.

The value was correct but the urn:oid  "2.16.840.1.113883.4.642.3.1312"  for code in Medication Dispense was not correct here.

From the Template Guide PDF: The CONF (CONF:4537-32974) here says: code should be selected from => MedicationDispense Status Codes urn:oid:2.16.840.1.113883.4.642.3.1312

But if we scroll down in the Table 54 (MedicationDispense Status Codes) the CodeSystem OID is urn:oid:2.16.840.1.113883.4.64 2.4.1313 (this is the one, which when added in the CDA, the error got resolved).

Why this difference between OID for one Valueset?

Thanks,
Sagar

Mat Davis

unread,
Sep 23, 2025, 12:18:25 PM (11 days ago) Sep 23
to Edge Test Tool (ETT)
No problem at all and great follow up question Sagar.

You're looking at the difference between the Valueset OID vs the Code System OID.

That one has "got me" before in the past as well.

2025-09-23 11h14_22_01_ccdasearch-medicationdispensecodes.png

Thanks - Mat
Reply all
Reply to author
Forward
0 new messages