Hide
Brief description of measure
CMS334/PC-02: Cesarean Birth:
Nulliparous women with a term, singleton baby in a vertex position delivered by cesarean birth.
CMS1028/PC-07: Severe Obstetric Complications:
Patients with severe obstetric complications which occur during the inpatient delivery hospitalization.
Description of issue
Currently, the Estimated Delivery Date (EDD) is reported as date only, but uses the "TruncateTime" function to convert date only to date and time (where time is populated as 0000) in the Quality Data Model. This logic was used to avoid manual conversion of a date only data element to a date/time data element. The measure developer has learned the "as dateTime" function when added to the PCMaternal.LastEstimated DeliveryDate function allows date only to be submitted. With this addition, hospitals can submit a date only or a date/time and the data will process appropriately.
In the current version of the measure, the PCMaternal Library houses the following functions to support this approach: PCMaternal.FormattedLastEstimatedDeliveryDate(Encounter "Encounter, Performed")
If "LastEstimatedDeliveryDate"(Encounter)is not null then TJC."TruncateTime" ( "LastEstimatedDeliveryDate"(Encounter)) else null
TJC.TruncateTime(Value DateTime)
DateTime(year from Value, month from Value, day from Value, 0, 0, 0, 0, timezoneoffset from Value)
Goal of review
Obtain technical feedback
Show
Brief description of measure
CMS334/PC-02: Cesarean Birth:
Nulliparous women with a term, singleton baby in a vertex position delivered by cesarean birth.
CMS1028/PC-07: Severe Obstetric Complications:
Patients with severe obstetric complications which occur during the inpatient delivery hospitalization.
Description of issue
Currently, the Estimated Delivery Date (EDD) is reported as date only, but uses the "TruncateTime" function to convert date only to date and time (where time is populated as 0000) in the Quality Data Model. This logic was used to avoid manual conversion of a date only data element to a date/time data element. The measure developer has learned the "as dateTime" function when added to the PCMaternal.LastEstimated DeliveryDate function allows date only to be submitted. With this addition, hospitals can submit a date only or a date/time and the data will process appropriately.
In the current version of the measure, the PCMaternal Library houses the following functions to support this approach: PCMaternal.FormattedLastEstimatedDeliveryDate(Encounter "Encounter, Performed")
If "LastEstimatedDeliveryDate"(Encounter)is not null then TJC."TruncateTime" ( "LastEstimatedDeliveryDate"(Encounter)) else null
TJC.TruncateTime(Value DateTime)
DateTime(year from Value, month from Value, day from Value, 0, 0, 0, 0, timezoneoffset from Value)
Goal of review
Obtain technical feedback