Hi - I would appreciate some help with this tbx which I am using to create a daily Situation Report for a team of 200 clinicians ( Doctors, Nurses and paramedics ) who are in the front line looking after Covid positive and suspected patients in quarantine facilities ( I work in the National Ambulance Service of Qatar which has a mobile healthcare service which is providing swabbing and family medicine type services to these patients )
We are all working long hours and Iāve never known a situation where facts/policies and procedures change so quickly - good comms with such a distributed workforce is hard at the best of times but this tbx is saving me a great deal of time
Iāve uploaded a copy and lorem dipsummed the real content. Iāve added a read me file to explain the key attributes and the agent queries and you can see the output by looking at the preview of the agent ag_NextIssue
Each piece of information is based on a prototype SitRepItem. I use a the unique ID KA so that staff can update me if something has changed and can refer to the specific piece of info. Some info needs hammering home until it is commonplace and so I have a ReUse boolean to flag that and the agent picks those out again for re-Publishing
Specifically I would like to be able to have the ID act as a mailto: link that automatically pulls the $text into the body of an email with the ID as subject line
Is this possible?
Any other suggestions on how the TBX might be improved or usefully extended would be gratefully received.
Looking at this. Add a built-in template to your doc (you can always delete the template when done) as this inserts the right prototype. The latter does all sorts of useful stuff like turning off coercion of straight quotes into typographic quotes; the latter donāt work in HTML code (as opposed to content).
Iāve also added the Code prototype and applied it to the children of the /BoilerPlate container.
Iāve also parameterised the email addresseeās name in $Email. An example is set in the prototype but it can be over-written on per-case notes.
I hope this helps. Do ask - these sorts of taks arew like peeling back the alyers.
Note: be aware the email protocol, used as you asked wasnāt intended for pumping large amount of text into an email and certainly not styled text. so, it might make sense to only email paragraph #1 (or a few paragraphs) and be careful with the use of styling in those paragraphs.
Anyway, happy to help in any way. Just ask if the above doesnāt make sense.
Yes as it stands this doesnāt work ( word falls over and other cutting and pasting into outlook produces goggledygook ( the subject and To: work fine.))
I might seed the body text with something like " You have indicated you wish to update item number $ID - thank you -_> enter your response hereā¦
We could do automated emails. But as this appears to be merely a daily task, it might be better to retain the manual copy./paste step: it only takes a few seconds and it provides a chance to see that what you are sending is actually what you intend to send.
I always recommend against the temptation to automate too much too soon.
But say the word and weāll make this straightforward. (Anyone else need to send emails direct from Tinderbox?)
Iāve tweaked MAās code for seeding the email fields and it works a treat now and the reports are getting appreciated - thanks for helping me support my team - useful tips too about using the built in templates - here is a short snippet with header/footer and one āsafeā item for sharing
Monday, 30 March 2020, 22:06
MHS CoVid19 Situation Report
A regular update on important MHS operational changes and current clinical considerations related to CoVid19 Each item is valid at the date and time stamped at the start of the report, and any item may appear again in future reports until the information becomes clearly commonplace knowledge or is no longer valid advice. This update compliments the HMC Covid-19 staff update and the MOPH Collaborative site which should also be checked for up-to-date information. Lab (Category: Laboratory )
The laboratory location for dropping off viral swab samples is 4th Floor ( left hand side) Building 321 in Medical City.
Yes - doesnāt take any time at all that step. Iād like to parameterise individuals receiving the report and group them by their discipline ( nurse, paramedic, doctor, executive managementā¦) so that some items are left out for some groups - No urgency on this just seems like a natural extension and will make a nice project when I get some time - many thanks
The tbx takes individual items to construct the report with header and footer. You will see from the header that I declare some items will be reused because they are important to keep emphasising and will be removed once common knowledge or outdated/wrong
What might be the best way to keep track of how many times an item has been re-used? The boolean just marks it for reuse at present. How would a counter be updated? The published date KA will record a date of first publication ( the EmailSent date KA is not needed Iāve found) but that will get written over for subsequent publications so Iām reluctant to do that
I think that as the number of items grows it will be difficult for me to keep track in my head and Iād like to get to a position where if ReUse count was up to 5 say then it should not be used again. I take Mark Bās point of not automating too early but my list of news items is growing fast and Iād like a steer on the most elegant solution for this - many thanks in anticipation of your help
Perhaps create a numeric attribute ($UsageCount or similar), and create a rule to increment $UsageCount=$UsageCount+1 based on some action. Or use a stamp for this.
Thanks Mark - that seems a good approach - If I make a KA for the agent of $Age and make your > an = I can change the KA easily to take a manual look at items of specific age - I think that would helpful for managing the long list - thanks ( and thanks also Paul - I was thinking along the same lines as you but couldnāt decide on the type of action that would increment the count )
Thank you Mark - Iām trying both ideas at the same time!
I think 8.6.2 might have a screen refresh bug perhaps -Iāve had some examples where there has been a persistent drawing of a note name for instance that wonāt dissapear with resizing or new tab creation - screen shot shows one such example of a banner like āImportant: New PPE Adviceā which you will see is just a note in the list below - not crucial but havenāt seen this before - Using Mac Book Pro Catalina 10.15.3
This is a known (reported) problem of outline view and the exact trigger is still being determined. If the stuck row re-occurs, re-opening the TBX doc will refresh the view.
Not exactly this case, but sometimes when I get visual glitches, clicking on the same tab seems to āresetā the view and fix it (no need to switch to another tab and get back).
Mark - it could be very useful to have a way of directly sending out emails from Tinderbox.
I know it can in principle be done by using the runCommand command and the mail command in Terminal, but having it directly accessible might be easier and encourage people to e.g. do email newsletters directly from Tinderbox.