Hello,
I am missing something when trying to create the templates. I am not sure where to save the text information. Is there a raw text file somewhere I am missing? I create the template using the CCC-CPOE-Template Editor and then lose everything. Please help.
Thanks.
You will need to paste the template you create into the CCC-fndef-CPOE-Templates-X.ccc file. I would put it at the end of the file with the highest number.
DavidShower said:
You will need to paste the template you create into the CCC-fndef-CPOE-Templates-X.ccc file. I would put it at the end of the file with the highest number.
I have tried this and I get an error loading CPS afterwards. I am creating the templates using the CCC CPOE Template Editor. Any other ideas? Thanks for responding.
What error are you getting and can you post the code that you inserted (and the lines just above it)?
Here is the template I am pasting:
fn ccc_CPOE_template_Actinic Keratosis() {"Discussed precancerous nature of the lesions and treatment options including liquid nitrogen destruction, topical creams, and no treatment.
Discussed risk for permanent hypopigmentation/scarring with treatment.
Patient elects Liquid Nitrogen treatment X ____ lesions.
Photoprotect
Return to clinic if persists or recurs."}
The CCC-fndef-CPOE-Templates-4.ccc is where I am pasting at the end of that file. I then get a complier error when relaunching CPS.
Put an underscore between Actinic Keratosis. Probably not liking that space.
Thanks, that corrected the complier error. However, the template does not seem to be pulling into the CPOE form. This was the main problem to begin with. Any ideas?
Can you post the line in the CCCQE-User-Edit-CPOE-whateverspecialty-TFE.txt file you have put the function in for the template button? Did you remove the space there too?
To use a template in the CPOE, you have to edit the text file associated with whatever specialty you are working with and then add the template in the correct field in the line associated with a particular diagnosis code or range of codes.
Wait, there is not a CCC-fndef-CPOE-Templates-1.ccc file specificaly for dermatology. I have Templates-1, -2, -3, and -4. Am I therefore placing the code in the wrong location?
The CCC-fndef-CPOE-Templates-X.ccc are not specialty specific. The X indicates a number. You start out with 1, 2, 3 and 4. Paste new template functions you create at the end of 4 or create a number 5. There is another file you have to edit to get it to load #5 if you create it. But start out with adding to the end of 4. That is where your template code goes. Then you call the template by editing the CCCQE-User-Edit-CPOE-whateverspecialty-TFE.txt and putting your template function name in there in the appropriate field on the line of whatever problem the template goes with.
Under templates I am pasting the "fn ccc_CPOE_template_Actinic Keratosis()". However, nothing happens when activating the Template icon in the CPOE form.
Which CCCQE-User-Edit-CPOE-whateverspecialty-TFE.txt did you edit to associate that template function with a problem? Can you post the line from that file where you edited in the template function name?
Also, if you are in EMR when you edit a CCC file, you must exit and reload EMR to get the CCC changes you made to load.
I am attempting to use the CCC CPOE Template Editor in CPS to create said template. I add the fn ccc_CPOE_template_Actinic_Keratosis() to the CPOE form under Template and ensure the Dx Codes are correct. I added the template to CCC-fndef-CPOE-Templates-4.ccc using notepad. Also, I am logging out and restarting CPS each time I make a change.
Here is the flow:
Use the template editor to create the template function
Copy the code from the note
Paste into CCC-fndef-CPOE-Templates-4.CCC
In CPS/EMR, open an update and load the CCC Text File Editor.
Choose the specialty you want to edit
Choose the CPOE form
Click insert values for editing
Find the Diagnosis you want to use the template on. You have to do each diagnosis separately
In the template column put in ccc_CPOE_template_Actinic_Keratosis()
When done, click Put Updated Values into Text and then copy it from the note and paste it into the CCCQE-User-Edit-CPOE-whateverspecialty-TFE.txt (make a backup of the file before you do this). Log out and back in and the template button, when you assessing that particular problem under that particular specialty, should insert into the assessment.
You can skip loading the CCC Text File editor if you want to edit the CCCQE-User-Edit-CPOE-whateverspecialty-TFE.txt directly and understand the layout.
Hope this helps.
I cannot find a CCCQE-User-Edit-CPOE-Dermatology-TFE.txt file to edit. This must be the issue then?