Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-29 Thread Nancy E. Anthracite
Are the changes that are made tracked, i.e., exactly what is different and who 
made them?

On Friday 28 January 2005 10:26 pm, steven mcphelan wrote:
 No it is not.  It is the date that the WP field was last edited updated.  I
 do not know if FM still does this, but it used to update that date even if
 you entered the WP field in Edit mode but did not actually do any editing.

 - Original Message -
 From: Kevin Toppenberg [EMAIL PROTECTED]
 To: hardhats-members@lists.sourceforge.net
 Sent: Friday, January 28, 2005 5:47 PM
 Subject: Re: [Hardhats-members] Where is the data structure for WP fields
 documented?

  Thanks Steven.
 
  I assume that the FM date is the date the WP field was
  created.
 
  Thanks
  Kevin
 
  --- steven mcphelan [EMAIL PROTECTED] wrote:
   As Greg said no one should tamper with the zeroth
   node of a WP field when they can just as easily call
   WP^DIE.  With that said, the proper syntax of the
   zeroth node of a WP field is  ^^line count^line
   count^fm date^^.  Don't ask me why the line count
   is repeated in the zeroth node.  Perhaps they had
   different meanings many years ago.  That is what I
   have known for 20 years.  The word processing field
   data must be stored on sequential, integer
   subscripts starting with 1.
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
 
 
  ---
  This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
  Tool for open source databases. Create drag--drop reports. Save time
  by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
  Download a FREE copy at http://www.intelliview.com/go/osdn_nl
  ___
  Hardhats-members mailing list
  Hardhats-members@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/hardhats-members

 ---
 This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
 Tool for open source databases. Create drag--drop reports. Save time
 by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
 Download a FREE copy at http://www.intelliview.com/go/osdn_nl
 ___
 Hardhats-members mailing list
 Hardhats-members@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/hardhats-members

-- 
Nancy Anthracite


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-29 Thread Kevin Toppenberg
Nancy,

I think that would come under the auspices of auditing
and journaling.  The WP field itself has nowhere to
store such data.

Kevin

--- Nancy E. Anthracite [EMAIL PROTECTED]
wrote:

 Are the changes that are made tracked, i.e., exactly
 what is different and who 
 made them?
 
 On Friday 28 January 2005 10:26 pm, steven mcphelan
 wrote:
  No it is not.  It is the date that the WP field
 was last edited updated.  I
  do not know if FM still does this, but it used to
 update that date even if
  you entered the WP field in Edit mode but did not
 actually do any editing.
 
  - Original Message -
  From: Kevin Toppenberg [EMAIL PROTECTED]
  To: hardhats-members@lists.sourceforge.net
  Sent: Friday, January 28, 2005 5:47 PM
  Subject: Re: [Hardhats-members] Where is the data
 structure for WP fields
  documented?
 
   Thanks Steven.
  
   I assume that the FM date is the date the WP
 field was
   created.
  
   Thanks
   Kevin
  
   --- steven mcphelan [EMAIL PROTECTED]
 wrote:
As Greg said no one should tamper with the
 zeroth
node of a WP field when they can just as
 easily call
WP^DIE.  With that said, the proper syntax of
 the
zeroth node of a WP field is  ^^line
 count^line
count^fm date^^.  Don't ask me why the line
 count
is repeated in the zeroth node.  Perhaps they
 had
different meanings many years ago.  That is
 what I
have known for 20 years.  The word processing
 field
data must be stored on sequential, integer
subscripts starting with 1.
  
  
 __
   Do You Yahoo!?
   Tired of spam?  Yahoo! Mail has the best spam
 protection around
   http://mail.yahoo.com
  
  
  

---
   This SF.Net email is sponsored by: IntelliVIEW
 -- Interactive Reporting
   Tool for open source databases. Create
 drag--drop reports. Save time
   by over 75%! Publish reports on the web. Export
 to DOC, XLS, RTF, etc.
   Download a FREE copy at
 http://www.intelliview.com/go/osdn_nl
   ___
   Hardhats-members mailing list
   Hardhats-members@lists.sourceforge.net
  

https://lists.sourceforge.net/lists/listinfo/hardhats-members
 
 

---
  This SF.Net email is sponsored by: IntelliVIEW --
 Interactive Reporting
  Tool for open source databases. Create drag--drop
 reports. Save time
  by over 75%! Publish reports on the web. Export to
 DOC, XLS, RTF, etc.
  Download a FREE copy at
 http://www.intelliview.com/go/osdn_nl
  ___
  Hardhats-members mailing list
  Hardhats-members@lists.sourceforge.net
 

https://lists.sourceforge.net/lists/listinfo/hardhats-members
 
 -- 
 Nancy Anthracite
 
 

---
 This SF.Net email is sponsored by: IntelliVIEW --
 Interactive Reporting
 Tool for open source databases. Create drag--drop
 reports. Save time
 by over 75%! Publish reports on the web. Export to
 DOC, XLS, RTF, etc.
 Download a FREE copy at
 http://www.intelliview.com/go/osdn_nl
 ___
 Hardhats-members mailing list
 Hardhats-members@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/hardhats-members
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-29 Thread Nancy E. Anthracite
My concern was that if you looked at a file you might be accused of changing 
it, but then, if changing it makes the signature get scrambled, maybe that is 
how one protects against that problem. 

HIPAA requires auditing of looking and much more, so I guess that is why the 
date changes with the reading of the file and anything else that happens to 
it. It is also why I/we/you are eventually going to have to delve into 
auditing and how that is done and read and stored, etc., if you haven't done 
it already.

On Saturday 29 January 2005 04:32 pm, Kevin Toppenberg wrote:
 Nancy,

 I think that would come under the auspices of auditing
 and journaling.  The WP field itself has nowhere to
 store such data.

 Kevin

 --- Nancy E. Anthracite [EMAIL PROTECTED]

 wrote:
  Are the changes that are made tracked, i.e., exactly
  what is different and who
  made them?
 
  On Friday 28 January 2005 10:26 pm, steven mcphelan
 
  wrote:
   No it is not.  It is the date that the WP field
 
  was last edited updated.  I
 
   do not know if FM still does this, but it used to
 
  update that date even if
 
   you entered the WP field in Edit mode but did not
 
  actually do any editing.
 
   - Original Message -
   From: Kevin Toppenberg [EMAIL PROTECTED]
   To: hardhats-members@lists.sourceforge.net
   Sent: Friday, January 28, 2005 5:47 PM
   Subject: Re: [Hardhats-members] Where is the data
 
  structure for WP fields
 
   documented?
  
Thanks Steven.
   
I assume that the FM date is the date the WP
 
  field was
 
created.
   
Thanks
Kevin
   
--- steven mcphelan [EMAIL PROTECTED]
 
  wrote:
 As Greg said no one should tamper with the
 
  zeroth
 
 node of a WP field when they can just as
 
  easily call
 
 WP^DIE.  With that said, the proper syntax of
 
  the
 
 zeroth node of a WP field is  ^^line
 
  count^line
 
 count^fm date^^.  Don't ask me why the line
 
  count
 
 is repeated in the zeroth node.  Perhaps they
 
  had
 
 different meanings many years ago.  That is
 
  what I
 
 have known for 20 years.  The word processing
 
  field
 
 data must be stored on sequential, integer
 subscripts starting with 1.
 
  __
 
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
 
  protection around
 
http://mail.yahoo.com

 ---

This SF.Net email is sponsored by: IntelliVIEW
 
  -- Interactive Reporting
 
Tool for open source databases. Create
 
  drag--drop reports. Save time
 
by over 75%! Publish reports on the web. Export
 
  to DOC, XLS, RTF, etc.
 
Download a FREE copy at
 
  http://www.intelliview.com/go/osdn_nl
 
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/hardhats-members



 ---

   This SF.Net email is sponsored by: IntelliVIEW --
 
  Interactive Reporting
 
   Tool for open source databases. Create drag--drop
 
  reports. Save time
 
   by over 75%! Publish reports on the web. Export to
 
  DOC, XLS, RTF, etc.
 
   Download a FREE copy at
 
  http://www.intelliview.com/go/osdn_nl
 
   ___
   Hardhats-members mailing list
   Hardhats-members@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/hardhats-members

  --
  Nancy Anthracite

 ---

  This SF.Net email is sponsored by: IntelliVIEW --
  Interactive Reporting
  Tool for open source databases. Create drag--drop
  reports. Save time
  by over 75%! Publish reports on the web. Export to
  DOC, XLS, RTF, etc.
  Download a FREE copy at
  http://www.intelliview.com/go/osdn_nl
  ___
  Hardhats-members mailing list
  Hardhats-members@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/hardhats-members



 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com


 ---
 This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
 Tool for open source databases. Create drag--drop reports. Save time
 by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
 Download a FREE copy at http://www.intelliview.com/go/osdn_nl
 ___
 Hardhats-members mailing list
 Hardhats-members@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/hardhats-members

-- 
Nancy Anthracite


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish

RE: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-28 Thread John . Clemens
Greg Woodhouse, 3:35am?? You need to get out more!


John Clemens
IT Specialist, Software
IRMS
Veterans Affairs Medical Center (662)
4150 Clement Street
San Francisco, CA  94121
Phone:  415.221.4810 x4540 (Tu,Wed,Thu)
Digital Pager:415.303.0388 ( Mon,Fri)
Fax: 415.750.2177
 
[EMAIL PROTECTED]
 
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg
Woodhouse
Sent: Wednesday, January 26, 2005 4:23 PM
To: hardhats-members@lists.sourceforge.net
Subject: RE: [Hardhats-members] Where is the data structure for WP fields
documented?

Calling the following code from the set logic of a new style cross-reference
(on .01) should do the job:


XREF;
S ^TMP($J,WP,1)=LINE ONE
S ^TMP($J,WP,2)=LINE TWO
D WP^DIE(file#,DA_,,field#,,$NA(^TMP($J,WP)))
K ^TMP($J,WP)
Q
--- Thurman Pedigo [EMAIL PROTECTED] wrote:

 Kevin,
 
 Guess that's because I don't understand it either. However, I find 
 trigger one of the most tools I have in FileMan. It has been around 
 for over 20 years (think MS SQL implemented it around 5-6 yr ago - 
 with much fanfare).
 Just by using the change of value of a field as an event, one can 
 populate almost any other field with whatever data appropriate - 
 stored or free text.
 I say almost because I still can't trigger to WP. I need to 
 investigate the cross-reference that calls WP^DIE a little further.
 
 I worked on this problem a few years ago and gave up on it because of 
 inability to trigger a WP field. I'm not sure what it is you feel you 
 don't understand, as you sure know this code better than I. Below, I 
 present a couple of examples, just to see if we are in the same book. 
 Sorry to chew up so much bandwidth. Just like to be sure we are on 
 same sheet..
 
 
 1. Example 1: I created two fields to test WPTEST (WP field) and
 (WPCODETRGTEST)  a SET OF CODES FIELD.
 
 Select Utility Functions Option: cross-Reference A Field
 
 What type of cross-reference (Traditional or New)? Traditional// 
 TRADITIONAL
 
 MODIFY WHAT FILE: ENCOUNTERS FILE//
 Select FIELD: wpcODETRGTEST
 
 NO CURRENT CROSS-REFERENCE
 WANT TO CREATE A NEW CROSS-REFERENCE FOR THIS FIELD? No// y  (Yes) 
 CROSS-REFERENCE NUMBER: 1// Select TYPE OF INDEXING: REGULAR// tRIGGER
 
 WHEN THE WPCODETRGTEST field (#2021) of the ENCOUNTERS FILE File
 (#20036) IS
 CHA
 NGED,
 WHAT FIELD SHOULD BE 'TRIGGERED': WPTEST
   ...WPTEST
 YOU MUST IDENTIFY SOME FIELD, EITHER WITHIN THE 'ENCOUNTERS FILE' FILE 
 OR IN SOME OTHER
 
 WHEN THE WPCODETRGTEST field (#2021) of the ENCOUNTERS FILE File
 (#20036) IS
 CHA
 NGED,
 WHAT FIELD SHOULD BE 'TRIGGERED':
 
 As you see, nothing happens here when I try to fire trigger at WPTEST.
 
 Now look at the inelegant, though powerful, one that works. As you can 
 see, I lack programming proficiency. However, if I can make this thing 
 work, think of the possibilities for general population.tx/t
 
   
 Example 2: Two fields (both date fields - though anything except WP
 works)

===
 MODIFY WHAT FILE: ENCOUNTERS FILE//
 Select FIELD: DATETRG
 
 NO CURRENT CROSS-REFERENCE
 WANT TO CREATE A NEW CROSS-REFERENCE FOR THIS FIELD? No// Y  (Yes) 
 CROSS-REFERENCE NUMBER: 1// Select TYPE OF INDEXING: REGULAR// TRIGGER
 
 WHEN THE DATETRG field (#2025) of the ENCOUNTERS FILE File (#20036) IS 
 CHANGED, WHAT FIELD SHOULD BE 'TRIGGERED': TRGDA
By 'TRGDA', do you mean ENCOUNTERS FILE 'TRGDATERESULT'? Yes//
 (Yes)
 ...OK
 
 
 ---SET LOGIC---
 
 IN ANSWERING THE FOLLOWING QUESTION, 'TRGDATERESULT'
   CAN BE USED TO REFER TO THE EXISTING TRIGGERED FIELD VALUE.
 PLEASE ENTER AN EXPRESSION WHICH WILL BECOME THE VALUE OF THE 
 TRGDATERESULT field (#2026) of the ENCOUNTERS FILE File (#20036)  
 WHENEVER THE 'DATETRG' FIELD IS ENTERED OR CHANGED: DATETRG
 
 DO YOU WANT TO MAKE THE SETTING OF 'TRGDATERESULT' CONDITIONAL? No// Y
 (Yes)
 ENTER AN EXPRESSION FOR THE CONDITION: TRGDATERESULT=
 ---KILL LOGIC---
 
 IN ANSWERING THE FOLLOWING QUESTION, 'TRGDATERESULT'
   CAN BE USED TO REFER TO THE EXISTING TRIGGERED FIELD VALUE.
   NOTE: 'OLD DATETRG' CAN BE USED TO REFER TO THE VALUE OF THE
   DATETRG FIELD BEFORE ITS CHANGE OR DELETION.
 PLEASE ENTER AN EXPRESSION WHICH WILL BECOME THE VALUE OF THE 
 TRGDATERESULT field (#2026) of the ENCOUNTERS FILE File (#20036)  
 WHENEVER THE 'DATETRG' FIELD IS CHANGED OR DELETED: DATETRG
 
 DO YOU WANT TO MAKE THE SETTING OF 'TRGDATERESULT' CONDITIONAL? No// Y
 (Yes)
   NOTE: 'OLD DATETRG' CAN BE USED TO REFER TO THE VALUE OF THE
   DATETRG FIELD BEFORE ITS CHANGE OR DELETION.
 
 ENTER AN EXPRESSION FOR THE CONDITION: TRGDATERESULT=//
 
 WANT TO PROTECT THE 'TRGDATERESULT' FIELD, SO THAT
 IT CAN'T BE CHANGED BY THE 'ENTER  EDIT' ROUTINE? No//   (No)
 
 ...CROSS-REFERENCE IS SET
 
 DO YOU WANT TO RUN THE CROSS-REFERENCE FOR EXISTING ENTRIES NOW

Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-28 Thread steven mcphelan



As Greg said no one should tamper with the zeroth 
node of a WP field when they can just as easily call WP^DIE. With that 
said, the proper syntax of the zeroth node of a WP field is ^^line 
count^line count^fm date^^. Don't ask me why the line 
count is repeated in the zeroth node. Perhaps they had different meanings 
many years ago. That is what I have known for 20 years. The word 
processing field data must be stored on sequential, integer subscripts starting 
with 1.


Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-28 Thread Kevin Toppenberg
Thanks Steven.

I assume that the FM date is the date the WP field was
created.

Thanks
Kevin


--- steven mcphelan [EMAIL PROTECTED] wrote:

 As Greg said no one should tamper with the zeroth
 node of a WP field when they can just as easily call
 WP^DIE.  With that said, the proper syntax of the
 zeroth node of a WP field is  ^^line count^line
 count^fm date^^.  Don't ask me why the line count
 is repeated in the zeroth node.  Perhaps they had
 different meanings many years ago.  That is what I
 have known for 20 years.  The word processing field
 data must be stored on sequential, integer
 subscripts starting with 1.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-28 Thread Nancy E. Anthracite
Preferred Version 8.  It is $200 when not on sale. Usually, if you wait, you 
can get $100 rebates at some point. You will want either Preferred or |
Professional and the latter is much more expensive.

On Thursday 27 January 2005 11:41 pm, Thurman Pedigo wrote:
 Nancy,

 Which version of Dragon Dictate is this?

 Thanks,

 thurman

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:hardhats-
  [EMAIL PROTECTED] On Behalf Of Nancy E. Anthracite
  Sent: Wednesday, January 26, 2005 3:12 PM
  To: hardhats-members@lists.sourceforge.net
  Subject: Re: [Hardhats-members] Where is the data structure for WP fields
  documented?
 
  Have you explored using Dragon NaturallySpeaking for doing the initial
  typing
  of your notes?  The computer record your voice and types at the same
  time, Then the transcriptionist can listen to what you said and correct
  it if it doesn't match. I understand that having that done by the
  transcriptionist is
  much less expensive and faster that way. .
 
  I have the name of a person who works for the company who puts out
  NaturallySpeaking and handles the technical issues for the VA where they
  use
  it with VistA if anyone would like me to connect up with her to find out
  the
  details of how it is done at VA hospitals. I was introduced to her by a
  friend at an IT vendors session at VA Headquarters were I work.
  Unfortunately, I could only talk with her for a few minutes, but she said
  having the right hardware was important, particularly enough memory.
  Memory
  is pretty cheap now.
 
  Personally, I was impressed that by feeding Dragon a few hundred of my
  written
  notes, it was able to pick up a lot of the medical vocabulary I use
  without
  my having to buy the medical vocabulary from the company, which saved a
  chunk
  of change.
 
  On Wednesday 26 January 2005 11:46 am, Kevin Toppenberg wrote:
   I didn't realize that.  But in my case, it wouldn't be an issue.
  
   Here is my plan.
  
   A doctor uses CPRS to partly create a note.  He doesn't sign it--just
   leaves it imcomplete.  He might use templates to create the bulk of the
   note.  However, sometimes templates don't capture the essence of a
   patient's problem, and narrative is required.  The doctor would dictate
   this part.  Then, during the upload process, the transcribed portion
   and the doctor's portion will be merged appropriately.  This final note
   will
 
  be
 
   marked as requiring a doctor's signiture.
  
   I think this would capture the best of both worlds -- dictation and low
   cost not creation.
  
   Kevin
  
  
   Dewaine Beard [EMAIL PROTECTED] wrote:
   Remember that if you edit the text of a signed
   progress note the electronic signature will become a
   hashed jumble. This is a security feature designed
   into the product to ensure that once a document is
   signed its contents are not changed. (a watermark of
   sorts)
  
   You would want to be able to go into court and say
   with 100% confidence that the note that they printed
   out is the same note you signed and that no one has
   added or deleted anything since!
  
   So, when it comes to TIU, be careful.
  
   Dewaine
  
   --- Greg Woodhouse wrote:
As a general rule, it is best not to touch the
0-node. What I recommend
doding is extracting the file into a temporary array
($$GET1^DIQ will
work), making any changes or additions you wish, and
then filing it
with WP^DIE.
   
--- Kevin Toppenberg wrote:
 So it looks like the field is stored as:
 (...,TEXT,x,0), with x being the subsequent
   
lines of
   
 the document.

 ^TIU(8925.2,238,TEXT,0)=^^31^31^3050125^

 The line I really want to understand is the line
 above. Those 31's refer to the number of lines in
   
the
   
 document. I want to be able to insert text into a
   
WP
   
 field programatically. So I will need to changed
   
the
   
 Maxline property etc.

 So does anyone know where I can find the
   
documentation
   
 for these field/pieces?

 Thanks
 Kevin


 __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam
   
protection around
   
 http://mail.yahoo.com
  
   ---
  
 This SF.Net email is sponsored by: IntelliVIEW --
   
Interactive
   
 Reporting
 Tool for open source databases. Create drag--drop
   
reports. Save time
   
 by over 75%! Publish reports on the web. Export to
   
DOC, XLS, RTF,
   
 etc.
 Download a FREE copy at
   
http://www.intelliview.com/go/osdn_nl
   
 ___
 Hardhats-members mailing list
 Hardhats-members@lists.sourceforge.net
  
   https://lists.sourceforge.net/lists/listinfo/hardhats-members
  
=
A practical man is a man who practices the errors

Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-28 Thread steven mcphelan
No it is not.  It is the date that the WP field was last edited updated.  I
do not know if FM still does this, but it used to update that date even if
you entered the WP field in Edit mode but did not actually do any editing.

- Original Message - 
From: Kevin Toppenberg [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Friday, January 28, 2005 5:47 PM
Subject: Re: [Hardhats-members] Where is the data structure for WP fields
documented?


 Thanks Steven.

 I assume that the FM date is the date the WP field was
 created.

 Thanks
 Kevin


 --- steven mcphelan [EMAIL PROTECTED] wrote:

  As Greg said no one should tamper with the zeroth
  node of a WP field when they can just as easily call
  WP^DIE.  With that said, the proper syntax of the
  zeroth node of a WP field is  ^^line count^line
  count^fm date^^.  Don't ask me why the line count
  is repeated in the zeroth node.  Perhaps they had
  different meanings many years ago.  That is what I
  have known for 20 years.  The word processing field
  data must be stored on sequential, integer
  subscripts starting with 1.


 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com


 ---
 This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
 Tool for open source databases. Create drag--drop reports. Save time
 by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
 Download a FREE copy at http://www.intelliview.com/go/osdn_nl
 ___
 Hardhats-members mailing list
 Hardhats-members@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/hardhats-members



---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


RE: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-27 Thread Greg Woodhouse
Calling the following code from the set logic of a new style
cross-reference (on .01) should do the job:


XREF;
S ^TMP($J,WP,1)=LINE ONE
S ^TMP($J,WP,2)=LINE TWO
D WP^DIE(file#,DA_,,field#,,$NA(^TMP($J,WP)))
K ^TMP($J,WP)
Q
--- Thurman Pedigo [EMAIL PROTECTED] wrote:

 Kevin,
 
 Guess that's because I don't understand it either. However, I find
 trigger
 one of the most tools I have in FileMan. It has been around for over
 20
 years (think MS SQL implemented it around 5-6 yr ago - with much
 fanfare).
 Just by using the change of value of a field as an event, one can
 populate
 almost any other field with whatever data appropriate - stored or
 free text.
 I say almost because I still can't trigger to WP. I need to
 investigate
 the cross-reference that calls WP^DIE a little further. 
 
 I worked on this problem a few years ago and gave up on it because of
 inability to trigger a WP field. I'm not sure what it is you feel you
 don't
 understand, as you sure know this code better than I. Below, I
 present a
 couple of examples, just to see if we are in the same book. Sorry to
 chew up
 so much bandwidth. Just like to be sure we are on same sheet..
 
 
 1. Example 1: I created two fields to test WPTEST (WP field) and
 (WPCODETRGTEST)  a SET OF CODES FIELD.
 
 Select Utility Functions Option: cross-Reference A Field
 
 What type of cross-reference (Traditional or New)? Traditional//
 TRADITIONAL
 
 MODIFY WHAT FILE: ENCOUNTERS FILE//
 Select FIELD: wpcODETRGTEST
 
 NO CURRENT CROSS-REFERENCE
 WANT TO CREATE A NEW CROSS-REFERENCE FOR THIS FIELD? No// y  (Yes)
 CROSS-REFERENCE NUMBER: 1//
 Select TYPE OF INDEXING: REGULAR// tRIGGER
 
 WHEN THE WPCODETRGTEST field (#2021) of the ENCOUNTERS FILE File
 (#20036) IS
 CHA
 NGED,
 WHAT FIELD SHOULD BE 'TRIGGERED': WPTEST
   ...WPTEST
 YOU MUST IDENTIFY SOME FIELD, EITHER WITHIN THE
 'ENCOUNTERS FILE' FILE OR IN SOME OTHER
 
 WHEN THE WPCODETRGTEST field (#2021) of the ENCOUNTERS FILE File
 (#20036) IS
 CHA
 NGED,
 WHAT FIELD SHOULD BE 'TRIGGERED':
 
 As you see, nothing happens here when I try to fire trigger at
 WPTEST.
 
 Now look at the inelegant, though powerful, one that works. As you
 can see,
 I lack programming proficiency. However, if I can make this thing
 work,
 think of the possibilities for general population.tx/t
 
   
 Example 2: Two fields (both date fields - though anything except WP
 works)

===
 MODIFY WHAT FILE: ENCOUNTERS FILE//
 Select FIELD: DATETRG
 
 NO CURRENT CROSS-REFERENCE
 WANT TO CREATE A NEW CROSS-REFERENCE FOR THIS FIELD? No// Y  (Yes)
 CROSS-REFERENCE NUMBER: 1//
 Select TYPE OF INDEXING: REGULAR// TRIGGER
 
 WHEN THE DATETRG field (#2025) of the ENCOUNTERS FILE File (#20036)
 IS
 CHANGED,
 WHAT FIELD SHOULD BE 'TRIGGERED': TRGDA
By 'TRGDA', do you mean ENCOUNTERS FILE 'TRGDATERESULT'? Yes//  
 (Yes)
 ...OK
 
 
 ---SET LOGIC---
 
 IN ANSWERING THE FOLLOWING QUESTION, 'TRGDATERESULT'
   CAN BE USED TO REFER TO THE EXISTING TRIGGERED FIELD VALUE.
 PLEASE ENTER AN EXPRESSION WHICH WILL BECOME THE VALUE OF THE
 TRGDATERESULT field (#2026) of the ENCOUNTERS FILE File (#20036)
  WHENEVER THE 'DATETRG' FIELD IS ENTERED OR CHANGED: DATETRG
 
 DO YOU WANT TO MAKE THE SETTING OF 'TRGDATERESULT' CONDITIONAL? No//
 Y
 (Yes)
 ENTER AN EXPRESSION FOR THE CONDITION: TRGDATERESULT=
 ---KILL LOGIC---
 
 IN ANSWERING THE FOLLOWING QUESTION, 'TRGDATERESULT'
   CAN BE USED TO REFER TO THE EXISTING TRIGGERED FIELD VALUE.
   NOTE: 'OLD DATETRG' CAN BE USED TO REFER TO THE VALUE OF THE
   DATETRG FIELD BEFORE ITS CHANGE OR DELETION.
 PLEASE ENTER AN EXPRESSION WHICH WILL BECOME THE VALUE OF THE
 TRGDATERESULT field (#2026) of the ENCOUNTERS FILE File (#20036)
  WHENEVER THE 'DATETRG' FIELD IS CHANGED OR DELETED: DATETRG
 
 DO YOU WANT TO MAKE THE SETTING OF 'TRGDATERESULT' CONDITIONAL? No//
 Y
 (Yes)
   NOTE: 'OLD DATETRG' CAN BE USED TO REFER TO THE VALUE OF THE
   DATETRG FIELD BEFORE ITS CHANGE OR DELETION.
 
 ENTER AN EXPRESSION FOR THE CONDITION: TRGDATERESULT=//
 
 WANT TO PROTECT THE 'TRGDATERESULT' FIELD, SO THAT
 IT CAN'T BE CHANGED BY THE 'ENTER  EDIT' ROUTINE? No//   (No)
 
 ...CROSS-REFERENCE IS SET
 
 DO YOU WANT TO RUN THE CROSS-REFERENCE FOR EXISTING ENTRIES NOW? No//
   (No)

==
 
  -Original Message-
  From: [EMAIL PROTECTED]
 [mailto:hardhats-
  [EMAIL PROTECTED] On Behalf Of Kevin Toppenberg
  Sent: Tuesday, January 25, 2005 7:33 PM
  To: hardhats-members@lists.sourceforge.net
  Subject: RE: [Hardhats-members] Where is the data structure for WP
 fields
  documented?
  
  Thurman,
  
  I understand a full 10% of what you just said.
  But having said that, I think I saw that one can work
  with WP fields when making computed fields.  Does that
  relate at all?
  
  Kevin

Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-27 Thread Nancy E. Anthracite
Have you explored using Dragon NaturallySpeaking for doing the initial typing 
of your notes?  The computer record your voice and types at the same time, 
Then the transcriptionist can listen to what you said and correct it if it 
doesn't match. I understand that having that done by the transcriptionist is 
much less expensive and faster that way. .  

I have the name of a person who works for the company who puts out 
NaturallySpeaking and handles the technical issues for the VA where they use 
it with VistA if anyone would like me to connect up with her to find out the 
details of how it is done at VA hospitals. I was introduced to her by a 
friend at an IT vendors session at VA Headquarters were I work. 
Unfortunately, I could only talk with her for a few minutes, but she said 
having the right hardware was important, particularly enough memory.  Memory 
is pretty cheap now.

Personally, I was impressed that by feeding Dragon a few hundred of my written 
notes, it was able to pick up a lot of the medical vocabulary I use without 
my having to buy the medical vocabulary from the company, which saved a chunk 
of change.

On Wednesday 26 January 2005 11:46 am, Kevin Toppenberg wrote:
 I didn't realize that.  But in my case, it wouldn't be an issue.

 Here is my plan.

 A doctor uses CPRS to partly create a note.  He doesn't sign it--just
 leaves it imcomplete.  He might use templates to create the bulk of the
 note.  However, sometimes templates don't capture the essence of a
 patient's problem, and narrative is required.  The doctor would dictate
 this part.  Then, during the upload process, the transcribed portion and
 the doctor's portion will be merged appropriately.  This final note will be
 marked as requiring a doctor's signiture.

 I think this would capture the best of both worlds -- dictation and low
 cost not creation.

 Kevin


 Dewaine Beard [EMAIL PROTECTED] wrote:
 Remember that if you edit the text of a signed
 progress note the electronic signature will become a
 hashed jumble. This is a security feature designed
 into the product to ensure that once a document is
 signed its contents are not changed. (a watermark of
 sorts)

 You would want to be able to go into court and say
 with 100% confidence that the note that they printed
 out is the same note you signed and that no one has
 added or deleted anything since!

 So, when it comes to TIU, be careful.

 Dewaine

 --- Greg Woodhouse wrote:
  As a general rule, it is best not to touch the
  0-node. What I recommend
  doding is extracting the file into a temporary array
  ($$GET1^DIQ will
  work), making any changes or additions you wish, and
  then filing it
  with WP^DIE.
 
  --- Kevin Toppenberg wrote:
   So it looks like the field is stored as:
   (...,TEXT,x,0), with x being the subsequent
 
  lines of
 
   the document.
  
   ^TIU(8925.2,238,TEXT,0)=^^31^31^3050125^
  
   The line I really want to understand is the line
   above. Those 31's refer to the number of lines in
 
  the
 
   document. I want to be able to insert text into a
 
  WP
 
   field programatically. So I will need to changed
 
  the
 
   Maxline property etc.
  
   So does anyone know where I can find the
 
  documentation
 
   for these field/pieces?
  
   Thanks
   Kevin
  
  
   __
   Do You Yahoo!?
   Tired of spam? Yahoo! Mail has the best spam
 
  protection around
 
   http://mail.yahoo.com

 ---

   This SF.Net email is sponsored by: IntelliVIEW --
 
  Interactive
 
   Reporting
   Tool for open source databases. Create drag--drop
 
  reports. Save time
 
   by over 75%! Publish reports on the web. Export to
 
  DOC, XLS, RTF,
 
   etc.
   Download a FREE copy at
 
  http://www.intelliview.com/go/osdn_nl
 
   ___
   Hardhats-members mailing list
   Hardhats-members@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/hardhats-members

  =
  A practical man is a man who practices the errors of
  his forefathers. --Benjamin Disraeli
  
  Greg Woodhouse
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]

 ---

  This SF.Net email is sponsored by: IntelliVIEW --
  Interactive Reporting
  Tool for open source databases. Create drag--drop
  reports. Save time
  by over 75%! Publish reports on the web. Export to
  DOC, XLS, RTF, etc.
  Download a FREE copy at
  http://www.intelliview.com/go/osdn_nl
  ___
  Hardhats-members mailing list
  Hardhats-members@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/hardhats-members



 __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com


 ---
 This SF.Net email is sponsored by: IntelliVIEW -- Interactive 

RE: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-27 Thread Greg Woodhouse
I didn't send it at 3:35 am, it was much more like 3:35 pm the
preceding day!

--- [EMAIL PROTECTED] wrote:

 Greg Woodhouse, 3:35am?? You need to get out more!
 
 
 John Clemens
 IT Specialist, Software
 IRMS
 Veterans Affairs Medical Center (662)
 4150 Clement Street
 San Francisco, CA  94121
 Phone:  415.221.4810 x4540 (Tu,Wed,Thu)
 Digital Pager:415.303.0388 ( Mon,Fri)
 Fax: 415.750.2177
  
 [EMAIL PROTECTED]
  
  
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Greg
 Woodhouse
 Sent: Wednesday, January 26, 2005 4:23 PM
 To: hardhats-members@lists.sourceforge.net
 Subject: RE: [Hardhats-members] Where is the data structure for WP
 fields
 documented?
 
 Calling the following code from the set logic of a new style
 cross-reference
 (on .01) should do the job:
 
 
 XREF;
 S ^TMP($J,WP,1)=LINE ONE
 S ^TMP($J,WP,2)=LINE TWO
 D WP^DIE(file#,DA_,,field#,,$NA(^TMP($J,WP)))
 K ^TMP($J,WP)
 Q
 --- Thurman Pedigo [EMAIL PROTECTED] wrote:
 
  Kevin,
  
  Guess that's because I don't understand it either. However, I find 
  trigger one of the most tools I have in FileMan. It has been around
 
  for over 20 years (think MS SQL implemented it around 5-6 yr ago - 
  with much fanfare).
  Just by using the change of value of a field as an event, one can 
  populate almost any other field with whatever data appropriate - 
  stored or free text.
  I say almost because I still can't trigger to WP. I need to 
  investigate the cross-reference that calls WP^DIE a little further.
  
  I worked on this problem a few years ago and gave up on it because
 of 
  inability to trigger a WP field. I'm not sure what it is you feel
 you 
  don't understand, as you sure know this code better than I. Below,
 I 
  present a couple of examples, just to see if we are in the same
 book. 
  Sorry to chew up so much bandwidth. Just like to be sure we are on 
  same sheet..
  
  
  1. Example 1: I created two fields to test WPTEST (WP field) and
  (WPCODETRGTEST)  a SET OF CODES FIELD.
  
  Select Utility Functions Option: cross-Reference A Field
  
  What type of cross-reference (Traditional or New)? Traditional// 
  TRADITIONAL
  
  MODIFY WHAT FILE: ENCOUNTERS FILE//
  Select FIELD: wpcODETRGTEST
  
  NO CURRENT CROSS-REFERENCE
  WANT TO CREATE A NEW CROSS-REFERENCE FOR THIS FIELD? No// y  (Yes) 
  CROSS-REFERENCE NUMBER: 1// Select TYPE OF INDEXING: REGULAR//
 tRIGGER
  
  WHEN THE WPCODETRGTEST field (#2021) of the ENCOUNTERS FILE File
  (#20036) IS
  CHA
  NGED,
  WHAT FIELD SHOULD BE 'TRIGGERED': WPTEST
...WPTEST
  YOU MUST IDENTIFY SOME FIELD, EITHER WITHIN THE 'ENCOUNTERS FILE'
 FILE 
  OR IN SOME OTHER
  
  WHEN THE WPCODETRGTEST field (#2021) of the ENCOUNTERS FILE File
  (#20036) IS
  CHA
  NGED,
  WHAT FIELD SHOULD BE 'TRIGGERED':
  
  As you see, nothing happens here when I try to fire trigger at
 WPTEST.
  
  Now look at the inelegant, though powerful, one that works. As you
 can 
  see, I lack programming proficiency. However, if I can make this
 thing 
  work, think of the possibilities for general population.tx/t
  

  Example 2: Two fields (both date fields - though anything except WP
  works)
 

===
  MODIFY WHAT FILE: ENCOUNTERS FILE//
  Select FIELD: DATETRG
  
  NO CURRENT CROSS-REFERENCE
  WANT TO CREATE A NEW CROSS-REFERENCE FOR THIS FIELD? No// Y  (Yes) 
  CROSS-REFERENCE NUMBER: 1// Select TYPE OF INDEXING: REGULAR//
 TRIGGER
  
  WHEN THE DATETRG field (#2025) of the ENCOUNTERS FILE File (#20036)
 IS 
  CHANGED, WHAT FIELD SHOULD BE 'TRIGGERED': TRGDA
 By 'TRGDA', do you mean ENCOUNTERS FILE 'TRGDATERESULT'? Yes//
  (Yes)
  ...OK
  
  
  ---SET LOGIC---
  
  IN ANSWERING THE FOLLOWING QUESTION, 'TRGDATERESULT'
CAN BE USED TO REFER TO THE EXISTING TRIGGERED FIELD VALUE.
  PLEASE ENTER AN EXPRESSION WHICH WILL BECOME THE VALUE OF THE 
  TRGDATERESULT field (#2026) of the ENCOUNTERS FILE File (#20036)  
  WHENEVER THE 'DATETRG' FIELD IS ENTERED OR CHANGED: DATETRG
  
  DO YOU WANT TO MAKE THE SETTING OF 'TRGDATERESULT' CONDITIONAL?
 No// Y
  (Yes)
  ENTER AN EXPRESSION FOR THE CONDITION: TRGDATERESULT=
  ---KILL LOGIC---
  
  IN ANSWERING THE FOLLOWING QUESTION, 'TRGDATERESULT'
CAN BE USED TO REFER TO THE EXISTING TRIGGERED FIELD VALUE.
NOTE: 'OLD DATETRG' CAN BE USED TO REFER TO THE VALUE OF THE
DATETRG FIELD BEFORE ITS CHANGE OR DELETION.
  PLEASE ENTER AN EXPRESSION WHICH WILL BECOME THE VALUE OF THE 
  TRGDATERESULT field (#2026) of the ENCOUNTERS FILE File (#20036)  
  WHENEVER THE 'DATETRG' FIELD IS CHANGED OR DELETED: DATETRG
  
  DO YOU WANT TO MAKE THE SETTING OF 'TRGDATERESULT' CONDITIONAL?
 No// Y
  (Yes)
NOTE: 'OLD DATETRG' CAN BE USED TO REFER TO THE VALUE OF THE
DATETRG FIELD BEFORE ITS CHANGE OR DELETION.
  
  ENTER AN EXPRESSION

Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-27 Thread Kevin Toppenberg
I had found that page too. But I don't see anywhere the documentation for the ..."TEXT",0) entry, i.e. what piece of the ^^1234^^1234 value means.

Thanks
KevinGreg Woodhouse [EMAIL PROTECTED] wrote:
That is a bit tough to find, isn't it? I had to do a bit of lookingaround myself. Anyway, it's in the Advanced User Manual under "AdvancedEdit Techniques". See--- Kevin Toppenberg <[EMAIL PROTECTED]>wrote: Hello all,  I am wondering where i get get information about how WP fields are stored.  Here is an example WP field:  ^TIU(8925.2,0)="TIU UPLOAD BUFFER^8925.2^240^2" ^TIU(8925.2,238,0)="19062^90^3050121.162059" ^TIU(8925.2,238,"ERR",0)="^8925.22PA^1^1" ^TIU(8925.2,238,"ERR",1,0)=3119 ^TIU(8925.2,238,"ERR","B",3119,1)="" ^TIU(8925.2,238,"TEXT",0)="^^31^31^3050125^" ^TIU(8925.2,238,"TEXT",1,0)="[NewDict]: NOTE" ^TIU(8925.2,238,"TEXT",2,0)="Patient Name: XXX,X"
 ^TIU(8925.2,238,"TEXT",3,0)="Date Of Birth: 00/00/00" ^TIU(8925.2,238,"TEXT",4,0)="Social Sec. Number: P" ^TIU(8925.2,238,"TEXT",5,0)="Chart Number: 1" ^TIU(8925.2,238,"TEXT",6,0)="DOB: 00/00/00" ^TIU(8925.2,238,"TEXT",7,0)="Provider: Topp,Kevin" ^TIU(8925.2,238,"TEXT",8,0)="Location: Laughlin_Office" ^TIU(8925.2,238,"TEXT",9,0)="[TEXT]" ^TIU(8925.2,238,"TEXT",10,0)=" " ^TIU(8925.2,238,"TEXT",11,0)="Name: MEDIC,TEST , DOB: 12:00:00 AM" ^TIU(8925.2,238,"TEXT",12,0)=" " -snip-  ^TIU(8925.2,238,"TEXT",28,0)=" 2. Benign appearing lesion on the ear sta tus post cryotherapy today" ^TIU(8925.2,238,"TEXT",29,0)=" Follow up routinely." ^TIU(8925.2,238,"TEXT",30,0)=" Kevin Toppenberg MD" ^TIU(8925.2,238,"TEXT",31,0)=" KT/nlh"So it looks like the field is stored as: (...,"TEXT"
 ,x,0),
 with x being the subsequent lines of the document.  ^TIU(8925.2,238,"TEXT",0)="^^31^31^3050125^"  The line I really want to understand is the line above. Those 31's refer to the number of lines in the document. I want to be able to insert text into a WP field programatically. So I will need to changed the Maxline property etc.  So does anyone know where I can find the documentation for these field/pieces?  Thanks Kevin   __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around  http://mail.yahoo.com--- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. S
 ave
 time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members =A practical man is a man who practices the errors of his forefathers. --Benjamin DisraeliGreg Woodhouse [EMAIL PROTECTED] [EMAIL PROTECTED] ---This SF.Net email is sponsored by: IntelliVIEW -- Interactive ReportingTool for open source databases. Create drag--drop reports. Save timeby over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.Download a FREE copy at
 http://www.intelliview.com/go/osdn_nl___Hardhats-members mailing listHardhats-members@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/hardhats-members
		Do you Yahoo!? 
Yahoo! Search presents - Jib Jab's 'Second Term'

Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-27 Thread Nancy E. Anthracite
Maybe that is when he got IN!

On Thursday 27 January 2005 01:31 pm, [EMAIL PROTECTED] wrote:
 Greg Woodhouse, 3:35am?? You need to get out more!


 John Clemens
 IT Specialist, Software
 IRMS
 Veterans Affairs Medical Center (662)
 4150 Clement Street
 San Francisco, CA  94121
 Phone:  415.221.4810 x4540 (Tu,Wed,Thu)
 Digital Pager:415.303.0388 ( Mon,Fri)
 Fax: 415.750.2177

 [EMAIL PROTECTED]



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Greg
 Woodhouse
 Sent: Wednesday, January 26, 2005 4:23 PM
 To: hardhats-members@lists.sourceforge.net
 Subject: RE: [Hardhats-members] Where is the data structure for WP fields
 documented?

 Calling the following code from the set logic of a new style
 cross-reference (on .01) should do the job:


 XREF;
 S ^TMP($J,WP,1)=LINE ONE
 S ^TMP($J,WP,2)=LINE TWO
 D WP^DIE(file#,DA_,,field#,,$NA(^TMP($J,WP)))
 K ^TMP($J,WP)
 Q

 --- Thurman Pedigo [EMAIL PROTECTED] wrote:
  Kevin,
 
  Guess that's because I don't understand it either. However, I find
  trigger one of the most tools I have in FileMan. It has been around
  for over 20 years (think MS SQL implemented it around 5-6 yr ago -
  with much fanfare).
  Just by using the change of value of a field as an event, one can
  populate almost any other field with whatever data appropriate -
  stored or free text.
  I say almost because I still can't trigger to WP. I need to
  investigate the cross-reference that calls WP^DIE a little further.
 
  I worked on this problem a few years ago and gave up on it because of
  inability to trigger a WP field. I'm not sure what it is you feel you
  don't understand, as you sure know this code better than I. Below, I
  present a couple of examples, just to see if we are in the same book.
  Sorry to chew up so much bandwidth. Just like to be sure we are on
  same sheet..
 
 
  1. Example 1: I created two fields to test WPTEST (WP field) and
  (WPCODETRGTEST)  a SET OF CODES FIELD.
  
  Select Utility Functions Option: cross-Reference A Field
 
  What type of cross-reference (Traditional or New)? Traditional//
  TRADITIONAL
 
  MODIFY WHAT FILE: ENCOUNTERS FILE//
  Select FIELD: wpcODETRGTEST
 
  NO CURRENT CROSS-REFERENCE
  WANT TO CREATE A NEW CROSS-REFERENCE FOR THIS FIELD? No// y  (Yes)
  CROSS-REFERENCE NUMBER: 1// Select TYPE OF INDEXING: REGULAR// tRIGGER
 
  WHEN THE WPCODETRGTEST field (#2021) of the ENCOUNTERS FILE File
  (#20036) IS
  CHA
  NGED,
  WHAT FIELD SHOULD BE 'TRIGGERED': WPTEST
...WPTEST
  YOU MUST IDENTIFY SOME FIELD, EITHER WITHIN THE 'ENCOUNTERS FILE' FILE
  OR IN SOME OTHER
 
  WHEN THE WPCODETRGTEST field (#2021) of the ENCOUNTERS FILE File
  (#20036) IS
  CHA
  NGED,
  WHAT FIELD SHOULD BE 'TRIGGERED':
 
  As you see, nothing happens here when I try to fire trigger at WPTEST.
 
  Now look at the inelegant, though powerful, one that works. As you can
  see, I lack programming proficiency. However, if I can make this thing
  work, think of the possibilities for general population.tx/t
 
 
  Example 2: Two fields (both date fields - though anything except WP
  works)

 ===

  MODIFY WHAT FILE: ENCOUNTERS FILE//
  Select FIELD: DATETRG
 
  NO CURRENT CROSS-REFERENCE
  WANT TO CREATE A NEW CROSS-REFERENCE FOR THIS FIELD? No// Y  (Yes)
  CROSS-REFERENCE NUMBER: 1// Select TYPE OF INDEXING: REGULAR// TRIGGER
 
  WHEN THE DATETRG field (#2025) of the ENCOUNTERS FILE File (#20036) IS
  CHANGED, WHAT FIELD SHOULD BE 'TRIGGERED': TRGDA
 By 'TRGDA', do you mean ENCOUNTERS FILE 'TRGDATERESULT'? Yes//
  (Yes)
  ...OK
 
 
  ---SET LOGIC---
 
  IN ANSWERING THE FOLLOWING QUESTION, 'TRGDATERESULT'
CAN BE USED TO REFER TO THE EXISTING TRIGGERED FIELD VALUE.
  PLEASE ENTER AN EXPRESSION WHICH WILL BECOME THE VALUE OF THE
  TRGDATERESULT field (#2026) of the ENCOUNTERS FILE File (#20036)
  WHENEVER THE 'DATETRG' FIELD IS ENTERED OR CHANGED: DATETRG
 
  DO YOU WANT TO MAKE THE SETTING OF 'TRGDATERESULT' CONDITIONAL? No// Y
  (Yes)
  ENTER AN EXPRESSION FOR THE CONDITION: TRGDATERESULT=
  ---KILL LOGIC---
 
  IN ANSWERING THE FOLLOWING QUESTION, 'TRGDATERESULT'
CAN BE USED TO REFER TO THE EXISTING TRIGGERED FIELD VALUE.
NOTE: 'OLD DATETRG' CAN BE USED TO REFER TO THE VALUE OF THE
DATETRG FIELD BEFORE ITS CHANGE OR DELETION.
  PLEASE ENTER AN EXPRESSION WHICH WILL BECOME THE VALUE OF THE
  TRGDATERESULT field (#2026) of the ENCOUNTERS FILE File (#20036)
  WHENEVER THE 'DATETRG' FIELD IS CHANGED OR DELETED: DATETRG
 
  DO YOU WANT TO MAKE THE SETTING OF 'TRGDATERESULT' CONDITIONAL? No// Y
  (Yes)
NOTE: 'OLD DATETRG' CAN BE USED TO REFER TO THE VALUE OF THE
DATETRG FIELD BEFORE ITS CHANGE OR DELETION.
 
  ENTER AN EXPRESSION FOR THE CONDITION: TRGDATERESULT=//
 
  WANT TO PROTECT THE 'TRGDATERESULT' FIELD, SO THAT
  IT CAN'T

RE: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-27 Thread Thurman Pedigo
Nancy,

Which version of Dragon Dictate is this?

Thanks,

thurman

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:hardhats-
 [EMAIL PROTECTED] On Behalf Of Nancy E. Anthracite
 Sent: Wednesday, January 26, 2005 3:12 PM
 To: hardhats-members@lists.sourceforge.net
 Subject: Re: [Hardhats-members] Where is the data structure for WP fields
 documented?
 
 Have you explored using Dragon NaturallySpeaking for doing the initial
 typing
 of your notes?  The computer record your voice and types at the same time,
 Then the transcriptionist can listen to what you said and correct it if it
 doesn't match. I understand that having that done by the transcriptionist
 is
 much less expensive and faster that way. .
 
 I have the name of a person who works for the company who puts out
 NaturallySpeaking and handles the technical issues for the VA where they
 use
 it with VistA if anyone would like me to connect up with her to find out
 the
 details of how it is done at VA hospitals. I was introduced to her by a
 friend at an IT vendors session at VA Headquarters were I work.
 Unfortunately, I could only talk with her for a few minutes, but she said
 having the right hardware was important, particularly enough memory.
 Memory
 is pretty cheap now.
 
 Personally, I was impressed that by feeding Dragon a few hundred of my
 written
 notes, it was able to pick up a lot of the medical vocabulary I use
 without
 my having to buy the medical vocabulary from the company, which saved a
 chunk
 of change.
 
 On Wednesday 26 January 2005 11:46 am, Kevin Toppenberg wrote:
  I didn't realize that.  But in my case, it wouldn't be an issue.
 
  Here is my plan.
 
  A doctor uses CPRS to partly create a note.  He doesn't sign it--just
  leaves it imcomplete.  He might use templates to create the bulk of the
  note.  However, sometimes templates don't capture the essence of a
  patient's problem, and narrative is required.  The doctor would dictate
  this part.  Then, during the upload process, the transcribed portion and
  the doctor's portion will be merged appropriately.  This final note will
 be
  marked as requiring a doctor's signiture.
 
  I think this would capture the best of both worlds -- dictation and low
  cost not creation.
 
  Kevin
 
 
  Dewaine Beard [EMAIL PROTECTED] wrote:
  Remember that if you edit the text of a signed
  progress note the electronic signature will become a
  hashed jumble. This is a security feature designed
  into the product to ensure that once a document is
  signed its contents are not changed. (a watermark of
  sorts)
 
  You would want to be able to go into court and say
  with 100% confidence that the note that they printed
  out is the same note you signed and that no one has
  added or deleted anything since!
 
  So, when it comes to TIU, be careful.
 
  Dewaine
 
  --- Greg Woodhouse wrote:
   As a general rule, it is best not to touch the
   0-node. What I recommend
   doding is extracting the file into a temporary array
   ($$GET1^DIQ will
   work), making any changes or additions you wish, and
   then filing it
   with WP^DIE.
  
   --- Kevin Toppenberg wrote:
So it looks like the field is stored as:
(...,TEXT,x,0), with x being the subsequent
  
   lines of
  
the document.
   
^TIU(8925.2,238,TEXT,0)=^^31^31^3050125^
   
The line I really want to understand is the line
above. Those 31's refer to the number of lines in
  
   the
  
document. I want to be able to insert text into a
  
   WP
  
field programatically. So I will need to changed
  
   the
  
Maxline property etc.
   
So does anyone know where I can find the
  
   documentation
  
for these field/pieces?
   
Thanks
Kevin
   
   
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
  
   protection around
  
http://mail.yahoo.com
 
  ---
 
This SF.Net email is sponsored by: IntelliVIEW --
  
   Interactive
  
Reporting
Tool for open source databases. Create drag--drop
  
   reports. Save time
  
by over 75%! Publish reports on the web. Export to
  
   DOC, XLS, RTF,
  
etc.
Download a FREE copy at
  
   http://www.intelliview.com/go/osdn_nl
  
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
 
  https://lists.sourceforge.net/lists/listinfo/hardhats-members
 
   =
   A practical man is a man who practices the errors of
   his forefathers. --Benjamin Disraeli
   
   Greg Woodhouse
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
 
  ---
 
   This SF.Net email is sponsored by: IntelliVIEW --
   Interactive Reporting
   Tool for open source databases. Create drag--drop
   reports. Save time
   by over 75%! Publish reports on the web. Export to
   DOC, XLS, RTF, etc.
   Download a FREE copy

Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-26 Thread Dewaine Beard
Remember that if you edit the text of a signed
progress note the electronic signature will become a
hashed jumble.  This is a security feature designed
into the product to ensure that once a document is
signed its contents are not changed.  (a watermark of
sorts)

You would want to be able to go into court and say
with 100% confidence that the note that they printed
out is the same note you signed and that no one has
added or deleted anything since!  

So, when it comes to TIU, be careful.

Dewaine
--- Greg Woodhouse [EMAIL PROTECTED] wrote:

 As a general rule, it is best not to touch the
 0-node. What I recommend
 doding is extracting the file into a temporary array
 ($$GET1^DIQ will
 work), making any changes or additions you wish, and
 then filing it
 with WP^DIE.
 
 --- Kevin Toppenberg [EMAIL PROTECTED] wrote:
 
  
  
  So it looks like the field is stored as:
  (...,TEXT,x,0), with x being the subsequent
 lines of
  the document.
  
  ^TIU(8925.2,238,TEXT,0)=^^31^31^3050125^
  
  The line I really want to understand is the line
  above.  Those 31's refer to the number of lines in
 the
  document.  I want to be able to insert text into a
 WP
  field programatically.  So I will need to changed
 the
  Maxline property etc.
  
  So does anyone know where I can find the
 documentation
  for these field/pieces?
  
  Thanks
  Kevin
  
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around 
  http://mail.yahoo.com 
  
  
 

---
  This SF.Net email is sponsored by: IntelliVIEW --
 Interactive
  Reporting
  Tool for open source databases. Create drag--drop
 reports. Save time
  by over 75%! Publish reports on the web. Export to
 DOC, XLS, RTF,
  etc.
  Download a FREE copy at
 http://www.intelliview.com/go/osdn_nl
  ___
  Hardhats-members mailing list
  Hardhats-members@lists.sourceforge.net
 

https://lists.sourceforge.net/lists/listinfo/hardhats-members
  
 
 =
 A practical man is a man who practices the errors of
 his forefathers. --Benjamin Disraeli
 
 Greg Woodhouse 
 [EMAIL PROTECTED] 
 [EMAIL PROTECTED] 
 
 
 
 
 

---
 This SF.Net email is sponsored by: IntelliVIEW --
 Interactive Reporting
 Tool for open source databases. Create drag--drop
 reports. Save time
 by over 75%! Publish reports on the web. Export to
 DOC, XLS, RTF, etc.
 Download a FREE copy at
 http://www.intelliview.com/go/osdn_nl
 ___
 Hardhats-members mailing list
 Hardhats-members@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/hardhats-members
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-26 Thread Kevin Toppenberg
I didn't realize that. But in my case, it wouldn't be an issue.

Here is my plan.

A doctor uses CPRS to partly create a note. He doesn't sign it--just leaves it imcomplete. He might use templates to create the bulk of the note. However, sometimes templates don't capture the essence of a patient's problem, and narrative is required. The doctor would dictate this part. Then, during the upload process, the transcribed portion and the doctor's portion will be merged appropriately. This final note will be marked as requiring a doctor's signiture.

I think this would capture the best of both worlds -- dictation and low cost not creation.

Kevin
Dewaine Beard [EMAIL PROTECTED] wrote:
Remember that if you edit the text of a signedprogress note the electronic signature will become ahashed jumble. This is a security feature designedinto the product to ensure that once a document issigned its contents are not changed. (a watermark ofsorts)You would want to be able to go into court and saywith 100% confidence that the note that they printedout is the same note you signed and that no one hasadded or deleted anything since! So, when it comes to TIU, be careful.Dewaine--- Greg Woodhouse <[EMAIL PROTECTED]>wrote: As a general rule, it is best not to touch the 0-node. What I recommend doding is extracting the file into a temporary array ($$GET1^DIQ will work), making any changes or additions you wish, and then filing it with WP^DIE. 
  ---
 Kevin Toppenberg <[EMAIL PROTECTED]>wrote:   So it looks like the field is stored as:  (...,"TEXT",x,0), with x being the subsequent lines of  the document.^TIU(8925.2,238,"TEXT",0)="^^31^31^3050125^"The line I really want to understand is the line  above. Those 31's refer to the number of lines in the  document. I want to be able to insert text into a WP  field programatically. So I will need to changed the  Maxline property etc.So does anyone know where I can find the documentation  for these field/pieces?Thanks  Kevin  __  Do You Yahoo!?  Tired of spam? Yahoo! Mail has the
  best
 spam protection around   http://mail.yahoo.com  ---  This SF.Net email is sponsored by: IntelliVIEW -- Interactive  Reporting  Tool for open source databases. Create drag--drop reports. Save time  by over 75%! Publish reports on the web. Export to DOC, XLS, RTF,  etc.  Download a FREE copy at http://www.intelliview.com/go/osdn_nl  ___  Hardhats-members mailing list  Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members= A practical man is a man who practices the errors of his forefathers. --Benjamin Disraeli  Greg Woodhouse 
 [EMAIL PROTECTED]  [EMAIL PROTECTED]  --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/hardhats-members __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---This SF
 .Net
 email is sponsored by: IntelliVIEW -- Interactive ReportingTool for open source databases. Create drag--drop reports. Save timeby over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.Download a FREE copy at http://www.intelliview.com/go/osdn_nl___Hardhats-members mailing listHardhats-members@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/hardhats-members
		Do you Yahoo!? 
Yahoo! Search presents - Jib Jab's 'Second Term'

Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-26 Thread Kevin Toppenberg
Ok. That does sound safer.

Kevin
Greg Woodhouse [EMAIL PROTECTED] wrote:
As a general rule, it is best not to touch the 0-node. What I recommenddoding is extracting the file into a temporary array ($$GET1^DIQ willwork), making any changes or additions you wish, and then filing itwith WP^DIE.--- Kevin Toppenberg <[EMAIL PROTECTED]>wrote:   So it looks like the field is stored as: (...,"TEXT",x,0), with x being the subsequent lines of the document.  ^TIU(8925.2,238,"TEXT",0)="^^31^31^3050125^"  The line I really want to understand is the line above. Those 31's refer to the number of lines in the document. I want to be able to insert text into a WP field programatically. So I will need to changed the Maxline property etc.  So does anyone know where I can find the documentation for these field/pieces?
  Thanks Kevin   __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around  http://mail.yahoo.com--- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members =A practical man is a man who practices the errors of his forefathers. --Benjamin DisraeliGreg Woodhouse
 [EMAIL PROTECTED] [EMAIL PROTECTED] ---This SF.Net email is sponsored by: IntelliVIEW -- Interactive ReportingTool for open source databases. Create drag--drop reports. Save timeby over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.Download a FREE copy at http://www.intelliview.com/go/osdn_nl___Hardhats-members mailing listHardhats-members@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/hardhats-members
		Do you Yahoo!? 
Yahoo! Search presents - Jib Jab's 'Second Term'

RE: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-26 Thread Thurman Pedigo
Kevin,

Guess that's because I don't understand it either. However, I find trigger
one of the most tools I have in FileMan. It has been around for over 20
years (think MS SQL implemented it around 5-6 yr ago - with much fanfare).
Just by using the change of value of a field as an event, one can populate
almost any other field with whatever data appropriate - stored or free text.
I say almost because I still can't trigger to WP. I need to investigate
the cross-reference that calls WP^DIE a little further. 

I worked on this problem a few years ago and gave up on it because of
inability to trigger a WP field. I'm not sure what it is you feel you don't
understand, as you sure know this code better than I. Below, I present a
couple of examples, just to see if we are in the same book. Sorry to chew up
so much bandwidth. Just like to be sure we are on same sheet..


1. Example 1: I created two fields to test WPTEST (WP field) and
(WPCODETRGTEST)  a SET OF CODES FIELD.

Select Utility Functions Option: cross-Reference A Field

What type of cross-reference (Traditional or New)? Traditional//
TRADITIONAL

MODIFY WHAT FILE: ENCOUNTERS FILE//
Select FIELD: wpcODETRGTEST

NO CURRENT CROSS-REFERENCE
WANT TO CREATE A NEW CROSS-REFERENCE FOR THIS FIELD? No// y  (Yes)
CROSS-REFERENCE NUMBER: 1//
Select TYPE OF INDEXING: REGULAR// tRIGGER

WHEN THE WPCODETRGTEST field (#2021) of the ENCOUNTERS FILE File (#20036) IS
CHA
NGED,
WHAT FIELD SHOULD BE 'TRIGGERED': WPTEST
  ...WPTEST
YOU MUST IDENTIFY SOME FIELD, EITHER WITHIN THE
'ENCOUNTERS FILE' FILE OR IN SOME OTHER

WHEN THE WPCODETRGTEST field (#2021) of the ENCOUNTERS FILE File (#20036) IS
CHA
NGED,
WHAT FIELD SHOULD BE 'TRIGGERED':

As you see, nothing happens here when I try to fire trigger at WPTEST.

Now look at the inelegant, though powerful, one that works. As you can see,
I lack programming proficiency. However, if I can make this thing work,
think of the possibilities for general population.tx/t

  
Example 2: Two fields (both date fields - though anything except WP works)
===
MODIFY WHAT FILE: ENCOUNTERS FILE//
Select FIELD: DATETRG

NO CURRENT CROSS-REFERENCE
WANT TO CREATE A NEW CROSS-REFERENCE FOR THIS FIELD? No// Y  (Yes)
CROSS-REFERENCE NUMBER: 1//
Select TYPE OF INDEXING: REGULAR// TRIGGER

WHEN THE DATETRG field (#2025) of the ENCOUNTERS FILE File (#20036) IS
CHANGED,
WHAT FIELD SHOULD BE 'TRIGGERED': TRGDA
   By 'TRGDA', do you mean ENCOUNTERS FILE 'TRGDATERESULT'? Yes//   (Yes)
...OK


---SET LOGIC---

IN ANSWERING THE FOLLOWING QUESTION, 'TRGDATERESULT'
  CAN BE USED TO REFER TO THE EXISTING TRIGGERED FIELD VALUE.
PLEASE ENTER AN EXPRESSION WHICH WILL BECOME THE VALUE OF THE
TRGDATERESULT field (#2026) of the ENCOUNTERS FILE File (#20036)
 WHENEVER THE 'DATETRG' FIELD IS ENTERED OR CHANGED: DATETRG

DO YOU WANT TO MAKE THE SETTING OF 'TRGDATERESULT' CONDITIONAL? No// Y
(Yes)
ENTER AN EXPRESSION FOR THE CONDITION: TRGDATERESULT=
---KILL LOGIC---

IN ANSWERING THE FOLLOWING QUESTION, 'TRGDATERESULT'
  CAN BE USED TO REFER TO THE EXISTING TRIGGERED FIELD VALUE.
  NOTE: 'OLD DATETRG' CAN BE USED TO REFER TO THE VALUE OF THE
  DATETRG FIELD BEFORE ITS CHANGE OR DELETION.
PLEASE ENTER AN EXPRESSION WHICH WILL BECOME THE VALUE OF THE
TRGDATERESULT field (#2026) of the ENCOUNTERS FILE File (#20036)
 WHENEVER THE 'DATETRG' FIELD IS CHANGED OR DELETED: DATETRG

DO YOU WANT TO MAKE THE SETTING OF 'TRGDATERESULT' CONDITIONAL? No// Y
(Yes)
  NOTE: 'OLD DATETRG' CAN BE USED TO REFER TO THE VALUE OF THE
  DATETRG FIELD BEFORE ITS CHANGE OR DELETION.

ENTER AN EXPRESSION FOR THE CONDITION: TRGDATERESULT=//

WANT TO PROTECT THE 'TRGDATERESULT' FIELD, SO THAT
IT CAN'T BE CHANGED BY THE 'ENTER  EDIT' ROUTINE? No//   (No)

...CROSS-REFERENCE IS SET

DO YOU WANT TO RUN THE CROSS-REFERENCE FOR EXISTING ENTRIES NOW? No//   (No)
==

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:hardhats-
 [EMAIL PROTECTED] On Behalf Of Kevin Toppenberg
 Sent: Tuesday, January 25, 2005 7:33 PM
 To: hardhats-members@lists.sourceforge.net
 Subject: RE: [Hardhats-members] Where is the data structure for WP fields
 documented?
 
 Thurman,
 
 I understand a full 10% of what you just said.
 But having said that, I think I saw that one can work
 with WP fields when making computed fields.  Does that
 relate at all?
 
 Kevin
 
 
 --- Thurman Pedigo [EMAIL PROTECTED] wrote:
 
  This has the potential of being a powerful addition
  to VistA. For some time
  I have wondered if one could trigger text into the
  WP field. If so, an
  entire new array of macro's can be triggered
  into this field, creating a
  nice narrative historical (or physical) entry. I
  tried the concept a few
  time and never got it to work.
 
  Is the trigger to WP possible as the product now
  exists? It needs

Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-25 Thread Greg Woodhouse
That is a bit tough to find, isn't it? I had to do a bit of looking
around myself. Anyway, it's in the Advanced User Manual under Advanced
Edit Techniques. See

http://www.hardhats.org/fileman/u2/e3_frm.htm

--- Kevin Toppenberg [EMAIL PROTECTED] wrote:

 Hello all,
 
 I am wondering where i get get information about how
 WP fields are stored.
 
 Here is an example WP field:
 
 ^TIU(8925.2,0)=TIU UPLOAD BUFFER^8925.2^240^2
 ^TIU(8925.2,238,0)=19062^90^3050121.162059
 ^TIU(8925.2,238,ERR,0)=^8925.22PA^1^1
 ^TIU(8925.2,238,ERR,1,0)=3119
 ^TIU(8925.2,238,ERR,B,3119,1)=
 ^TIU(8925.2,238,TEXT,0)=^^31^31^3050125^
 ^TIU(8925.2,238,TEXT,1,0)=[NewDict]: NOTE
 ^TIU(8925.2,238,TEXT,2,0)=Patient Name: XXX,X
 ^TIU(8925.2,238,TEXT,3,0)=Date Of Birth: 00/00/00
 ^TIU(8925.2,238,TEXT,4,0)=Social Sec. Number: P
 ^TIU(8925.2,238,TEXT,5,0)=Chart Number: 1
 ^TIU(8925.2,238,TEXT,6,0)=DOB: 00/00/00
 ^TIU(8925.2,238,TEXT,7,0)=Provider: Topp,Kevin
 ^TIU(8925.2,238,TEXT,8,0)=Location:
 Laughlin_Office
 ^TIU(8925.2,238,TEXT,9,0)=[TEXT]
 ^TIU(8925.2,238,TEXT,10,0)= 
 ^TIU(8925.2,238,TEXT,11,0)=Name: MEDIC,TEST ,  DOB:
 12:00:00 AM
 ^TIU(8925.2,238,TEXT,12,0)= 
 -snip-
 
 ^TIU(8925.2,238,TEXT,28,0)= 2. Benign
 appearing lesion on the ear sta
 tus post cryotherapy today
 ^TIU(8925.2,238,TEXT,29,0)= Follow up
 routinely.
 ^TIU(8925.2,238,TEXT,30,0)= Kevin
 Toppenberg MD
 ^TIU(8925.2,238,TEXT,31,0)= KT/nlh
 
 
 
 So it looks like the field is stored as:
 (...,TEXT,x,0), with x being the subsequent lines of
 the document.
 
 ^TIU(8925.2,238,TEXT,0)=^^31^31^3050125^
 
 The line I really want to understand is the line
 above.  Those 31's refer to the number of lines in the
 document.  I want to be able to insert text into a WP
 field programatically.  So I will need to changed the
 Maxline property etc.
 
 So does anyone know where I can find the documentation
 for these field/pieces?
 
 Thanks
 Kevin
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 
 
 ---
 This SF.Net email is sponsored by: IntelliVIEW -- Interactive
 Reporting
 Tool for open source databases. Create drag--drop reports. Save time
 by over 75%! Publish reports on the web. Export to DOC, XLS, RTF,
 etc.
 Download a FREE copy at http://www.intelliview.com/go/osdn_nl
 ___
 Hardhats-members mailing list
 Hardhats-members@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/hardhats-members
 

=
A practical man is a man who practices the errors of his forefathers. 
--Benjamin Disraeli

Greg Woodhouse 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 





---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Where is the data structure for WP fields documented?

2005-01-25 Thread Greg Woodhouse
As a general rule, it is best not to touch the 0-node. What I recommend
doding is extracting the file into a temporary array ($$GET1^DIQ will
work), making any changes or additions you wish, and then filing it
with WP^DIE.

--- Kevin Toppenberg [EMAIL PROTECTED] wrote:

 
 
 So it looks like the field is stored as:
 (...,TEXT,x,0), with x being the subsequent lines of
 the document.
 
 ^TIU(8925.2,238,TEXT,0)=^^31^31^3050125^
 
 The line I really want to understand is the line
 above.  Those 31's refer to the number of lines in the
 document.  I want to be able to insert text into a WP
 field programatically.  So I will need to changed the
 Maxline property etc.
 
 So does anyone know where I can find the documentation
 for these field/pieces?
 
 Thanks
 Kevin
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 
 
 ---
 This SF.Net email is sponsored by: IntelliVIEW -- Interactive
 Reporting
 Tool for open source databases. Create drag--drop reports. Save time
 by over 75%! Publish reports on the web. Export to DOC, XLS, RTF,
 etc.
 Download a FREE copy at http://www.intelliview.com/go/osdn_nl
 ___
 Hardhats-members mailing list
 Hardhats-members@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/hardhats-members
 

=
A practical man is a man who practices the errors of his forefathers. 
--Benjamin Disraeli

Greg Woodhouse 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 





---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members