Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: YTWJSONF

Package: Mental Health

Routine: YTWJSONF


Information

YTWJSONF ;SLC/KCM - File/Export JSON versions of instruments ; 7/20/2018

Source Information

Source file <YTWJSONF.m>

Entry Points

Name Comments DBIA/ICR reference
SAVEDIR ; Save all active instruments to directory
; may need to first remove current files from the destination directory
; (this doesn't clean up the destination directory first)
SAVE96 ; Save all active instruments as JSON in 601.96
LPACTV(PATH) ; Loop thru all active instruments to create JSON documents
; PATH: if empty, JSON documents are saved to 601.96
; otherwise, this specifics the host directory
DEL96 ; Delete active instruments from 601.96
FILE96(TEST) ; save JSON test to 601.96
LIST96 ; Save list of instruments as JSON in 601.96
FILE(TEST,PATH) ; save JSON test to a file
LIST(PATH) ; Save list of instruments as JSON to directory
LPSEED ; Loop thru all active instruments to seed JSON documents
FILE712(TEST) ; save JSON test to 601.712

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: "."
  • Line Location: LPACTV+6
Function Call: WRITE
  • Prompt: "."
  • Line Location: LPACTV+7
Function Call: WRITE
  • Prompt: !,"Error creating JSON for "_$P(^YTT(601.71,TEST,0),U)
  • Line Location: FILE+5
Function Call: WRITE
  • Prompt: !,"Error writing file: "_NAME
  • Line Location: FILE+11
Function Call: WRITE
  • Prompt: !,"Error writing file: instrumentList.json"
  • Line Location: LIST+5
Function Call: WRITE
  • Prompt: "."
  • Line Location: LPSEED+4
Function Call: WRITE
  • Prompt: "JSON err: "_$P(^YTT(601.71,TEST,0),U)
  • Line Location: FILE712+5
Function Call: WRITE
  • Prompt: "Checksum err: "_ERRS
  • Line Location: FILE712+8
Info |  Source |  Entry Points |  Interaction Calls