VistA Analysis » VistA Reference » RPCs » TIU FIELD EXPORT

TIU FIELD EXPORT

Exports Template Fields in XML format

Properties

Property Value
Label EXPORT
MUMPS Implementation TIUSRVF
Return Type ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
FLDS LIST     List of template field names to export.

MUMPS Method Description

Property Value
Method EXPORT^TIUSRVF
Method Comment Exports Template Fields as XML
Input Parameters FLDS
First Comment
 FLDS should be an array of Template Field names, not IENs
Code
 N I,IEN
K TIUXML
D ADD(.TIUXML,"",0)
S I=0
F S I=$O(FLDS(I)) Q:I'>0 D
. S IEN=$O(^TIU(8927.1,"B",FLDS(I),0))
. I +IEN D ADDXML(.TIUXML,IEN)
D ADD(.TIUXML,"
",0)

CPRS

File Type Description
Executable Only  


Document generated on August 31st 2022, 2:55:43 pm