Programming Questions? Ask a Programmer for Answers ASAP
Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.
I think that's possible. Use a permanent table, created first of course, then take standard verbiage stored in that table and write that to a document, in the event of the table vital_signs being empty or having records all amounting to "" (empty string, null value, or similar.)
Using a permanent table can be sped up a little by making its creation a one-time event, and the input of data into it a one-time event. Then you will need to neither create it nor write to it, just to load it and write to a document from it (relatively not time-intensive as operations go, though by no means instantaneous.
I am sorry to say I can't tell for sure. The wodge you posted has no line breaks and is unclear to me in places.
Also, it looks like no SQL I've ever used. I may have to Opt Out of this case.