yea, I deleted all the extra spaces. Should the curly brackets be on the same line as the code? That is one thing I didn't try. here is the code.
{
If obsnow("chem drug 1") "" or obsnow("chem drug 2") "" or obsnow("chem drug 3") "" or obsnow("chem drug 4") "" or obsnow("chem drug 5") ""
Then
FMT("Cervical Region
", "B,")
else""
endif
+
CombineLastAnd(", ", obsnow("chem drug 1") , fnNeckPain(), fnCervicalRadiculitis(),fnCervicalStenosis(),obsnow("chem drug 5"))
}
{
If obsnow("chem drug 6") "" or obsnow("chem drug 7") ""
Then
FMT("Thoracic Region
", "B,")
else""
endif
+
CombineLastAnd(", ", obsnow("chem drug 6") , fnThoracicPain())
}
{
If obsnow("chem drug 9") "" or obsnow("chem drug 10") "" or obsnow("chem drug 11") "" or obsnow("chem drug 12") "" or obsnow("chem drug 13") "" or obsnow("chem drug 14") ""
Then
FMT("Lumbar Region
", "B,")
else""
endif
+
CombineLastAnd(", ", obsnow("chem drug 9") , fnLumbarPain(), fnSciatica(), fnStenosis(), obsnow("chem drug 12"), obsnow("chem drug 14"))
}
{
If obsnow("CHEM DRUG 16") "" or obsnow("CHEM DRUG 17") "" or obsnow("CHEM DRUG 18") "" or obsnow("CHEM DRUG 40") ""
Then
FMT("Upper Extremity
", "B,")
else""
endif
+
CombineLastAnd(", ", fnShoulderPain(), fnElbowPain(), fnWristPain(), obsnow("chem drug 40"))
}
{
If obsnow("chem drug 20") "" or obsnow("chem drug 21") "" or obsnow("chem drug 22") ""
Then
FMT("Lower Extremity
", "B,")
else""
endif
+
CombineLastAnd(", ", fnKneePain(), fnAnklePain(), fnFootPain())
}
{
If obsnow("chem drug 39") "" or obsnow("chem drug 38") "" or obsnow("chem drug 37") "" or obsnow("chem drug 36") ""
Then
FMT("Pelvic Region
", "B,")
else""
endif
+
CombineLastAnd(", ", fnHipPain(), fnPiriformisSyndrome(), fnITBandSyndrome(), fnTrochantericBursitis())
}
{
If obsnow("chem drug 23") "" or obsnow("chem drug 24") "" or obsnow("chem drug 25") "" or obsnow("chem drug 26") "" or obsnow("chem drug 27") "" or obsnow("chem drug 28") ""
Then
FMT("Fixation
", "B,")
else""
endif
+
CombineLastAnd(", ", obsnow("chem drug 23"), obsnow("chem drug 24"), obsnow("chem drug 25"), obsnow("chem drug 26"), obsnow("chem drug 27"), obsnow("chem drug 28"))
}
{
If obsnow("chem drug 15") "" or obsnow("chemodose1") ""
Then
FMT("Other
", "B,")
else""
endif
+
CombineLastAnd(", ", obsnow("chem drug 15"), obsnow("chemodose1"))
}
Posted : April 1, 2016 5:29 am