PX SAVE DATA

TITLEVALUE
NAMEPX SAVE DATA
DESCRIPTIONThe purpose of this RPC is to allow the calling application to save data
to PCE, such as Immunization data. See the Integration Control
Registration document for the full description of the data needed.
TAGSAVE
ROUTINEPXRPC
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERPCELIST
DESCRIPTIONPCELIST (n)=VST^DT^Encounter date/time
(n)=VST^PT^Encounter patient (DFN)
(n)=VST^HL^Encounter location
(n)=VST^VC^ Encounter Service Category
(n)=VST^ET^Encounter Type (defaults to 'P')

If applicable:

(n)=VST^PR^ Parent for secondary visit
(n)=VST^OL^ Outside Location for Historical visits
(n)=VST^SC^ Service Connected related?
(n)=VST^AO^ Agent Orange related?
(n)=VST^IR^ Ionizing Radiation related?
(n)=VST^EC^ Environmental Contaminates related?
(n)=VST^MST^ Military Sexual Trauma related?
(n)=VST^HNC^ Head and/or Neck Cancer related?
(n)=VST^CV^ Combat Vet related?
(n)=VST^SHD^ Shipboard Hazard and Defense related?
(n)=PRV(+: add, -: delete) ^ Provider IEN ^^^ Provider Name ^
Primary Provider?
(n)=POV(+: add, -: delete) ^ ICD diagnosis code ^ Category ^
Narrative (Diagnosis description) ^ Primary Diagnosis? ^
Provider String ^ Add to Problem List? ^^^ Next comment
sequence # if saving comments
(n)=COM^COM (Comments) ^ Next comment sequence # ^ @ = no
comments added
(n)=CPT (+: add, -: delete) ^ Procedural CPT code ^ Category ^
Narrative (Procedure description) ^ Quantity ^ Provider IEN
^^^ [# of modifiers; Modifier code/Modifier IEN ^ Next
comment sequence # ^
(n)=IMM (+: add, -: delete) ^ Immunization IEN ^ Category ^
Narrative (Immunization description/name) ^ Series ^
Encounter Provider ^ Reaction ^ Contraindicated? ^ ^
Next comment sequence # ^ CVX Code ^ Event Info Source HL7
Code;IEN ^ Dose;Units;Units IEN ^ Route Name;HL7 Code;IEN ^
Admin Site Name;HL7 Code;IEN ^ Lot#;IEN ^ Manufacturer ^
Expiration Date ^ Event Date and Time ^ Ordering Provider ^
VIS IEN/VIS Date; VIS IEN n/VIS Date n ^ Remarks Start Seq
#;Remarks End Seq # ^ Warning Ack ^ Override Reason (Seq #)
^ Result (Smallpox) ^ Reading ^ D/T Read ^ Reader ^ Reading
Comment Seq # ^ V Immunization IEN (should only be populated
for a reading) ^ Ordered By Policy
(n)=SK (+: add, -: delete) ^ Skin Test IEN ^ Category ^
Narrative (Skin Test description/name) ^ Results ^ Enc
Provider ^ Reading ^ D/T Read ^ ^ Next comment sequence # ^
Reader ^ ^ ^ Reading Comment (Seq #) ^ Anatomic Location of
Placement;HL7 Code;IEN ^ Placement V Skin Test IEN ^ ^ ^ Event
D/T ^ Ordering Provider
(n)=PED (+: add, -: delete) ^ Patient Education IEN ^ Category ^
Narrative (Patient Education description/name) ^ Level of
understanding ^^^^^ ^^ Next comment sequence #
(n)=HF (+: add, -: delete) ^ Health Factor IEN ^ Category ^
Narrative (Health Factor description/name) ^ Level ^^^^^ Next
comment sequence # ^ Get Reminder
(n)=XAM(+: add, -: delete) ^ Exam IEN ^ Category ^ Narrative
(Exam description/name) ^ Results ^^^^^ Next comment sequence
#
(n)=ICR (+: add, -: delete) ^ Variable Pointer IMM
Contraindication Reasons/IMM Refusal Reasons ^ Category ^
Narrative ^ Immunization IEN ^ Warn Until Date ^ Event
Date/Time ^ Enc Provider IEN ^ Refused Vaccine Group
^ Next comment sequence #
(n)=SC (+: add, -: delete) ^ Code ^ Category ^ Narrative ^
Coding System ^ Enc Provider ^ Magnitude ^ UCUM Code ^ ^ Next
comment sequence # ^ Event D/T ^ Ordering Provider
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH10000

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERLOC
DESCRIPTIONThis is the hospital location. This is not used when the information is
from an outside source.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH40

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERPKGNAME
DESCRIPTIONThe package name that is sending the data to PCE. This should be the
full package name, such as PATIENT CARE ENCOUNTERS.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH60

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERSRC
DESCRIPTIONThe source of the data - such as VLER E-HEALTH EXCHANGE.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH60

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERVISIT
DESCRIPTION(Optional) A pointer to the Visit file (9000010), which identifies the
encounter that this data should be associated with.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER6
INPUT PARAMETERRETVISIT
DESCRIPTIONSet to 1 if you want the Visit IEN to be returned to the calling
application.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONThe only return will be the one passed back to the calling application.

Returned Value:
1 If no errors occurred and data was processed.
-1 If errors occurred, but data was processed as completely as possible.
-2 Unable to identify a valid Visit. No data was processed.
-3 RPC was called incorrectly. No data was processed.
-4 If cannot get a lock on the encounter.
-5 If there were only warnings.

Optionally, if the argument RETVISIT was "1", than the Visit IEN will be
returned as the second piece (e.g., "1^65234").
AVAILABILITYSUBSCRIPTION
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes