Uploaded image for project: 'CYPRESS Issue Tracker'
  1. CYPRESS Issue Tracker
  2. CYPRESS-1520

CMD calculation for Medication Order example from Cypress Test Deck

XMLWordPrintable

      In Cypress version 3.2.3, I am looking at the QRDA1 file downloaded from Cypress for "Z7 GP Geriatric". I believe based on the HL7 QRDA1 v5 guidance that data is potentially being displayed incorrectly within the XML code, and therefore, also causing an error when we submit our generated QRDA1 file into Cypress. In the Cypress QRDA1 file for the patient I see the CMD related documentation appear as follows:

       <effectiveTime xsi:type="PIVL_TS" institutionSpecified="true" operator="A">
      	<period value="90" unit="d" />
       </effectiveTime>
       <repeatNumber value="1" />
      

      When I compare this to the example XML in HL7's QRDA1 documentation it does not appear to line up correctly. In Section 3.51.1 Medication Order (V4), it states the following:

      Following that guidance, the Cypress file seems to be saying the medication is administered every 90 days. The area of the XML that I believe should display that the 90 is called <doseQuanitity>. In the HL7 guidance example for Medication Order there is a spot that says:

      <!--QDM Attribute: Dose -->
      <doseQuantity value="1"/>
      

      I looked up how the QDM describes "Dose" and for Medication Order it says, "The amount of therapeutic agent that was Indicated to be given to a patient". Therefore I would expect the Dose Quantity along with the Frequency to be the way to calculate the CMD intended for the Order. Could you clarify if there is something I am misinterpreting? Thanks.

            laurend Lauren DiCristofaro (Inactive)
            myearneau Michael Yearneau (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: