Hello There, I am trying to add print and preview functionality in order-entry-owa . But getting test related error when I try to build the app. I just started with order-entry-owa dont to how to add new functionality please help.
@atiq I’m not a dev, but as a product person I’m curious - what’s the goal of the print and preview function? E.g. are your users saying “our medication ordering workflows often still use paper to share the order with the pharmacy, so the clinician needs to be able to print their order, and preview it before officially printing it, so that they don’t waste paper if there is a mistake”? Is that the user story?
I just ask because hearing things like this helps us get a sense of the kinds of solutions users are needing on the ground
Thanks @grace for your response on this. Actually we have a trend of printed prescriptions or pharmacy order. People go to the pharmacy and ask for the order through showing the paper.
Thats why we need print functionality in this app. Actually you right with the user story as well.
@atiq The point of my suggestion was to try to break-up the SET command and the webpack command into two commands.
On *nix it’s possible to do NODE_ENV="production" npx webpack --progress --colors and the scope for the variable is set for the current execution.
set sets an environment variable on the Windows command line, but it essentially consumes the whole line, so SET NODE_ENV="production" webpack --progress --colors actually sets the environment variable NODE_ENV to the weird value "production" webpack --progress --colors. The && is a meta character for the command line that should actually split the line into two commands.