I tried to add a screenshot but for some reason I'm not able to. Keeps erroring out.
I have a form that has a bunch of checkboxes (variables) a user clicks to perform a chiropractic examination. I would like for these check boxes to be auto-checked for his next visits and allow him to de-select them, if needed.
Or, be able to click a button to load the previous "checked" items.
Any help is appreciated.
Each check box needs to be an obs term if it is to be repopulated.
Without requesting a lot of custom obs terms, I don't think I can make that happen. What if I combined all the variables into a single obs term?
You could do that. I've tried it before to try and help with the overhead a lot of obs terms brings to a form by storing the data temporarily in document variables and then concatenating them into a pipe delimited string that is saved into a single obs term. It works, but you need to be care that the overall size of all the data stays within the 2000 character limit of a single obs term.
I was able to make a couple tabs with different variables and a button that pulls these in and turns them into an OBS term for me. However, when I click the button and the data populates, the puncuation comes in showing the "bold" tags.... i.e.
\b 1) Upon evaluation of the patients range of motion (ROM) the following painful limitations were observed:\b0
\b Cervical: \b0 Flex, LLF, LRot, RRot
\b Thoracolumbar: \b0 Flex, LLF, LROT
\b 2) The patient reported palpatory tenderness in the following areas: \b0
\b Neck:\b0 R
\b Upper Back: \b0 L
\b Mid Back: \b0 Bilateral
\b Lower Back: \b0 L
\b 3) The following muscles were found to be hypertonic: \b0
\b Suboccipitas: \b0 L
\b SCM: \b0 R
\b Levator scapulae: \b0 Bilateral
\b Trapezius: \b0 L
\b Rhomboid: \b0 R
\b Erector spinae: \b0 Bilateral
\b Quadratus lumborum: \b0 R
\b Glut medius: \b0 L
\b Hamstrings: \b0 R
Here is the button function:
{
OBSNOW("CHIROPRACTER", HRET + FMT("1) Upon evaluation of the patients range of motion (ROM) the following painful limitations were observed:", "B") +HRET + " " +fmt("Cervical: ", "B") + DOCUMENT.CERV + " " +HRET + " " + fmt("Thoracolumbar: ", "B") + " " + DOCUMENT.LUMBAR +HRET+HRET + " " + fmt("2) The patient reported palpatory tenderness in the following areas: ", "B") +HRET + fmt(" Neck:","B") + DOCUMENT.NECK +HRET + fmt(" Upper Back: ","B") + DOCUMENT.UPPER_BACK +HRET + fmt(" Mid Back: ","B") + DOCUMENT.MID_BACK +HRET + fmt(" Lower Back: ","B") + DOCUMENT.LOW_BACK +HRET + fmt(" 3) The following muscles were found to be hypertonic: ","B") +HRET +fmt(" Suboccipitas: ","B") + DOCUMENT.SUBOCCIPITAS +HRET +fmt(" SCM: ","B") + DOCUMENT.SCM +HRET +fmt(" Levator scapulae: ","B") + DOCUMENT.LEVATOR_SCAP +HRET +fmt(" Trapezius: ","B") + DOCUMENT.TRAPEZIUS +HRET +fmt(" Rhomboid: ","B") + DOCUMENT.RHOMBOID +HRET +fmt(" Erector spinae: ","B") + DOCUMENT.ERECTOR_SPIN +HRET +fmt(" Quadratus lumborum: ","B") + DOCUMENT.QUADRATUS_LU +HRET +fmt(" Glut medius: ","B") + DOCUMENT.GLUT_MEDIUS +HRET +fmt(" Hamstrings: ","B") + DOCUMENT.HAMSTRINGS +HRET+HRET +fmt(" 4) Postural evaluation revealed the following assymetry: ","B") + HRET + fmt(" High Shoulder: ","B") + DOCUMENT.HIGH_SHOULDE + HRET + fmt(" High hip: ","B") + DOCUMENT.HIGH_HIP__ + HRET + " " + DOCUMENT.ANTERIOR_HEA + ", " + DOCUMENT.HYPERKYPHOSIS + ", " + DOCUMENT.HYPERLORDOSIS
)
}
Can anyone tell me how to not have those tags show up in the multi-line field? It looks fine on the note.
Thank you
I would agree that if you are trying to combine the observation terms using delimiters would be the way to make this happen. A couple of things to keep in mind.
1. I wouldn't recommend using | or ^ for your delimiters as this will completely remove the ability to parse multiple observations from that term. You could use the tilda (~) and back-quote (`). You could also use nontypeable characters (ascii characters that aren't on the keyboard) to prevent user input from destroying your parsing.
2. You need to think carefully about how you are going to parse the data and identify what date goes where when you store it.
3. You should NOT include formatting in the observation term. This likely means that you would want combine the data separately for the chart note translation.
4. I wouldn't recommend pulling the information from the check boxes into an edit field that can be updated. A better option is to include the edit field and store it to a separate observation term and allow its translation to be managed separately. If you pull the information from check boxes into the edit field and allow editing it will potentially end up where the check box data and edit field data could be out of sync/say different things.
5. As noted in the other post the size limit is 2000 characters, so be careful how long/how many check box items you are combining.