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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: NHINVPT

Package: National Health Information Network

Routine: NHINVPT


Information

NHINVPT ;SLC/MKB -- Patient demographics extract

Source Information

Source file <NHINVPT.m>

Entry Points

Name Comments DBIA/ICR reference
EN(DFN,BEG,END,MAX,ID) ; -- find current patient demographics
; [BEG,END,MAX,ID not currently used]
DEM ;-demographic data
SVC ;-service data
PRF ;-patient record flags
ATC ;-address & telecom
SUPP ;-support contacts
ALIAS ;-other names used
FAC ;-treating facilities [see FACLIST^ORWCIRN]
INPT ;-current inpt status data
XML(ITEM) ; -- Return patient data as XML in @NHIN@(n)
; as <element code='123' displayName='ABC' />
ADDR(X) ; -- XML address node from X=street1^st2^st3^city^state^zip
PHONE(X) ; -- XML telecom node from X=home^cell^work numbers
ADD(X) ; Add a line @NHIN@(n)=X

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(10 - [#10] GET1^DIQ
^DIC(10.2 - [#10.2] GET1^DIQ
^DPT - [#2] GET1^DIQ
^DIC(31 - [#31] GET1^DIQ
^DGSL(38.1 - [#38.1] GET1^DIQ
^DIC(42 - [#42] EXTERNAL^DILFD
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call