TITLE | VALUE | |
---|---|---|
NAME | PX SAVE DATA | |
DESCRIPTION | The 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. | |
TAG | SAVE | |
ROUTINE | PXRPC | |
INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
INPUT PARAMETER | PCELIST | |
DESCRIPTION | PCELIST (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 TYPE | LIST | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 10000 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | LOC | |
DESCRIPTION | This is the hospital location. This is not used when the information is from an outside source. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | 40 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
INPUT PARAMETER | PKGNAME | |
DESCRIPTION | The package name that is sending the data to PCE. This should be the full package name, such as PATIENT CARE ENCOUNTERS. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 60 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 4 |
INPUT PARAMETER | SRC | |
DESCRIPTION | The source of the data - such as VLER E-HEALTH EXCHANGE. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 60 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 5 |
INPUT PARAMETER | VISIT | |
DESCRIPTION | (Optional) A pointer to the Visit file (9000010), which identifies the encounter that this data should be associated with. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | 30 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 6 |
INPUT PARAMETER | RETVISIT | |
DESCRIPTION | Set to 1 if you want the Visit IEN to be returned to the calling application. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | 1 | |
RETURN VALUE TYPE | SINGLE VALUE | |
RETURN PARAMETER DESCRIPTION | The 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"). | |
AVAILABILITY | SUBSCRIPTION | |
INACTIVE | ||
CLIENT MANAGER | ||
WORD WRAP ON | ||
VERSION | ||
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED | Yes |