Difference between revisions of "Episode59 Linking a Template with a Title"
Line 1: | Line 1: | ||
This is roughly how you link a template with a title so that the template comes up with the title when a title is selected. See Episode 25 Demystifying Templating, Document Classes and Titles for Dummies. http://vistapedia.net/index.php?title=Episode25 for how to create a template and a title to begin with. Example for this title is 'ICH-016 Adult Psycho-Social' which is a end user/CAC defined title. Use VistA-Config and tune in to TIU Template file and then on the title after it has been created to get a better understanding of how to do this in Fileman. | This is roughly how you link a template with a title so that the template comes up with the title when a title is selected. See Episode 25 Demystifying Templating, Document Classes and Titles for Dummies. http://vistapedia.net/index.php?title=Episode25 for how to create a template and a title to begin with. Example for this title is 'ICH-016 Adult Psycho-Social' which is a end user/CAC defined title. Use VistA-Config and tune in to TIU Template file and then on the title after it has been created to get a better understanding of how to do this in Fileman. | ||
+ | |||
+ | Note that in the LINK: prompt if it loops and will not allow linkage that it is probably already linked to another template. Only one template is allowed. | ||
+ | |||
+ | If you see this type of interaction then it is already linked to something else: | ||
+ | <pre> | ||
+ | |||
+ | LINK: DISCH SUMMARY | ||
+ | |||
+ | Searching for a TIU DOCUMENT DEFINITION | ||
+ | DISCH SUMMARY RESTORE TITLE | ||
+ | Std Title: PSYCHIATRY DISCHARGE SUMMARY | ||
+ | ...OK? Yes// (Yes)?? | ||
+ | Enter one of the following: | ||
+ | T.EntryName to select a TIU DOCUMENT DEFINITION | ||
+ | C.EntryName to select a REQUEST SERVICES | ||
+ | P.EntryName to select a GMRC PROCEDURE | ||
+ | |||
+ | To see the entries in any particular file type <Prefix.?> | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | This is how you find out what a template is linked to in Fileman: | ||
+ | |||
+ | <pre> | ||
+ | OUTPUT FROM WHAT FILE: TIU DOCUMENT DEFINITION// TIU TEMPLATE | ||
+ | |||
+ | 1 TIU TEMPLATE (80268 entries) | ||
+ | |||
+ | 2 TIU TEMPLATE FIELD (6154 entries) | ||
+ | |||
+ | CHOOSE 1-2: 1 TIU TEMPLATE (80268 entries) | ||
+ | |||
+ | SORT BY: NAME// | ||
+ | |||
+ | START WITH NAME: FIRST// A | ||
+ | |||
+ | GO TO NAME: LAST// Z | ||
+ | |||
+ | WITHIN NAME, SORT BY: | ||
+ | |||
+ | FIRST PRINT FIELD: .01 NAME | ||
+ | |||
+ | THEN PRINT FIELD: LINK | ||
+ | |||
+ | THEN PRINT FIELD: | ||
+ | |||
+ | Heading (S/C): TIU TEMPLATE LIST// | ||
+ | |||
+ | START AT PAGE: 1// | ||
+ | |||
+ | DEVICE: GENERIC TELNET TERMINAL Right Margin: 80// | ||
+ | |||
+ | TIU TEMPLATE LIST MAR 23,2011 16:11 PAGE 1 | ||
+ | |||
+ | NAME | ||
+ | |||
+ | LINK | ||
+ | |||
+ | -------------------------------------------------------------------------------- | ||
+ | |||
+ | A BX POST EDUCATION | ||
+ | |||
+ | A FIB/RVR/SOB | ||
+ | |||
+ | A Fib w/ RVR | ||
+ | |||
+ | A Fib w/ RVR | ||
+ | |||
+ | A Guide for Living with PTSD | ||
+ | |||
+ | A IR Pre note | ||
+ | |||
+ | A P | ||
+ | </pre> | ||
+ | |||
+ | This is how you link: | ||
<pre> | <pre> |
Revision as of 14:16, 29 March 2011
This is roughly how you link a template with a title so that the template comes up with the title when a title is selected. See Episode 25 Demystifying Templating, Document Classes and Titles for Dummies. http://vistapedia.net/index.php?title=Episode25 for how to create a template and a title to begin with. Example for this title is 'ICH-016 Adult Psycho-Social' which is a end user/CAC defined title. Use VistA-Config and tune in to TIU Template file and then on the title after it has been created to get a better understanding of how to do this in Fileman.
Note that in the LINK: prompt if it loops and will not allow linkage that it is probably already linked to another template. Only one template is allowed.
If you see this type of interaction then it is already linked to something else:
LINK: DISCH SUMMARY Searching for a TIU DOCUMENT DEFINITION DISCH SUMMARY RESTORE TITLE Std Title: PSYCHIATRY DISCHARGE SUMMARY ...OK? Yes// (Yes)?? Enter one of the following: T.EntryName to select a TIU DOCUMENT DEFINITION C.EntryName to select a REQUEST SERVICES P.EntryName to select a GMRC PROCEDURE To see the entries in any particular file type <Prefix.?>
This is how you find out what a template is linked to in Fileman:
OUTPUT FROM WHAT FILE: TIU DOCUMENT DEFINITION// TIU TEMPLATE 1 TIU TEMPLATE (80268 entries) 2 TIU TEMPLATE FIELD (6154 entries) CHOOSE 1-2: 1 TIU TEMPLATE (80268 entries) SORT BY: NAME// START WITH NAME: FIRST// A GO TO NAME: LAST// Z WITHIN NAME, SORT BY: FIRST PRINT FIELD: .01 NAME THEN PRINT FIELD: LINK THEN PRINT FIELD: Heading (S/C): TIU TEMPLATE LIST// START AT PAGE: 1// DEVICE: GENERIC TELNET TERMINAL Right Margin: 80// TIU TEMPLATE LIST MAR 23,2011 16:11 PAGE 1 NAME LINK -------------------------------------------------------------------------------- A BX POST EDUCATION A FIB/RVR/SOB A Fib w/ RVR A Fib w/ RVR A Guide for Living with PTSD A IR Pre note A P
This is how you link:
Select Systems Manager Menu Option: FM VA FileMan VA FileMan Version 22.0 Enter or Edit File Entries Print File Entries Search File Entries Modify File Attributes Inquire to File Entries Utility Functions ... Data Dictionary Utilities ... Transfer Entries Other Options ... You have PENDING ALERTS Enter "VA to jump to VIEW ALERTS option Select VA FileMan Option: enter or Edit File Entries Input to what File: ICD DIAGNOSIS// TIU TEMPLATE 1 TIU TEMPLATE (7752 entries) 2 TIU TEMPLATE FIELD (1098 entries) CHOOSE 1-2: 1 TIU TEMPLATE (7752 entries) EDIT WHICH FIELD: ALL// Select TIU TEMPLATE NAME: ICH-016 1 ICH-016 Adult Psycho-Social 2 ICH-016 Adult Psycho-Social CHOOSE 1-2: 1 ICH-016 Adult Psycho-Social NAME: ICH-016 Adult Psycho-Social Replace BLANK LINES: TYPE: TEMPLATE// STATUS: ACTIVE// EXCLUDE FROM GROUP BOILERPLATE: NO// PERSONAL OWNER: VALDES,IGNACIO// EDITOR CLASS: DIALOG: NO// DISPLAY ONLY: NO// FIRST LINE: NO// ONE ITEM ONLY: NO// HIDE DIALOG ITEMS: NO// HIDE TREE ITEMS: NO// INDENT ITEMS: NO// REMINDER DIALOG: LOCK: Not Locked// COM OBJECT: COM PARAM: LINK: ICH-016 Adult Psycho-Social Searching for a TIU DOCUMENT DEFINITION ICH-016 ADULT PSYCHO-SOCIAL TITLE Std Title: SOCIAL WORK ADMISSION EVALUATION NOTE ...OK? Yes// (Yes) BOILERPLATE TEXT:. . . . . . AUTHOR OF SUMMARY____________________________________ DATE AND TIME COMPLETED________________________ SOCIAL WORKER_________________________________________ DATE AND TIME COMPLETED________________________ ICH-016 revised 06/06 pg 4 of 4 Edit? NO// DESCRIPTION: THERE ARE NO LINES! Edit? NO// Select SEQUENCE: Select TIU TEMPLATE NAME: ICH-016 1 ICH-016 Adult Psycho-Social 2 ICH-016 Adult Psycho-Social CHOOSE 1-2: 1 ICH-016 Adult Psycho-Social NAME: ICH-016 Adult Psycho-Social Replace BLANK LINES: TYPE: TEMPLATE// STATUS: ACTIVE// EXCLUDE FROM GROUP BOILERPLATE: NO// PERSONAL OWNER: VALDES,IGNACIO// @ SURE YOU WANT TO DELETE? Y (Yes) EDITOR CLASS: DIALOG: NO// DISPLAY ONLY: NO// FIRST LINE: NO// ONE ITEM ONLY: NO// HIDE DIALOG ITEMS: NO// HIDE TREE ITEMS: NO// INDENT ITEMS: NO// REMINDER DIALOG: LOCK: Not Locked// COM OBJECT: COM PARAM: LINK: ICH-016 ADULT PSYCHO-SOCIAL// BOILERPLATE TEXT:. . . . . . AUTHOR OF SUMMARY____________________________________ DATE AND TIME COMPLETED________________________ SOCIAL WORKER_________________________________________ DATE AND TIME COMPLETED________________________ ICH-016 revised 06/06 pg 4 of 4 Edit? NO// ^ DESCRIPTION: THERE ARE NO LINES! Edit? NO// Select SEQUENCE: Select TIU TEMPLATE NAME:
Addition: If you wish to rename the title and/or template you must go into TIU DOCUMENT DEFINITION file via fileman and change the template title pointed to. The syntax for Replace is best done by entering ... then entering the new title.