lastdose-internal: Internal functions for lastdose

lastdose-internalR Documentation

Internal functions for lastdose

Description

These internal functions incorporate lastdose.

Details

matchLastDose: match lastdose data to built data

mergeLastDose: merge lastdose data into built data

getDuration: Duration - don't convert just extract number

convertAMPM: convert am/pm times

convertMornNight: if night/morning used, convert to am or pm

convertMilitary: convert military format into 12h

standardizeTime: create standardized form of time

checkTime: check if lastdose expression is a time expression in the format HH:MM:SS

checkDuration: check if lastdose expression is a duration expression (number that is not in the HH:MM:SS format)


EHR documentation built on Dec. 28, 2022, 1:31 a.m.