Homepage › Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › ADT 2.1 to 2.4 conversion
- This topic has 3 replies, 4 voices, and was last updated 16 years, 3 months ago by Russ Ross.
-
CreatorTopic
-
July 9, 2008 at 4:49 pm #50167Luke AndersonParticipant
Has anyone used the XLATE tool to generate xlates to convert ADT message types from version ADT 2.4 to ADT 2.1? If so, how well did it work for you and did you have to write many custom tcl procs to assist the xlates? -
CreatorTopic
-
AuthorReplies
-
-
July 10, 2008 at 9:36 am #65083Jim KosloskeyParticipant
Luke, I have not done that particular path, but I have gone back versions.
The key to the work involved is how strictly the two systems adhere to the HL/7 standard and the requirements of the two systems.
If it were me, I would want to have detailed specification sessions with all of the interested parties to produce a detailed spec everyone signs off on. That would give me my scope of work.
From that I can determine how much, if any, Tcl I might need.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.
-
July 10, 2008 at 12:49 pm #65084Robert MilfajtParticipant
There was a change in the PID segment between 2.1 and 2.2, such that you cannot use Bulkcopy or Pathcopy successfully. I do not remember the specifics, but I believe the actual HL7 field numbers changed. You need to copy over that segment field by field as you need it. I cannot remember if other segments were affected in this way either.
Bob
Robert Milfajt
Northwestern Medicine
Chicago, IL -
July 10, 2008 at 2:04 pm #65085Russ RossParticipant
You are right that the HL7 field item numbers changed and that is why I have switch to the field number notation in many of my Xlates. Field by field mapping in th Xlate as mentioned previously is the way to go and not likely to need special TCL procs for the mapping part.
We convert our home grown SMS super record from HL7 2.3 to HL7 2.1 and here is the example of the Xlate for the ADT_A01 to help get you started.
Code:# Xlate Spec: sms_21_A01_
#
prologue
who: hci
date: Tue Apr 19 14:34:38 CDT 2005
version: 5.0
type: xlt
xlt_infile: hl7 2.3 global_super_adt ADT_A01
xlt_outfile: hl7 2.1 from_sms_2.3 ADT_A01
end_prologue{ { OP COMMENT }
{ COMMENT {
Purpose: Translate SMS HL7 2.3 super record ADT to generic HL7 2.1 ADT} }
}
{ { OP COMMENT }
{ COMMENT {
History: 2001.05.09 – Russ Ross wrote inital version} }
}
{ { OP COMMENT }
{ COMMENT {
———-
MSH segment
———-} }
}
{ { OP COMMENT }
{ COMMENT {
— Field Separator} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).MSH(0).#4.[0]}} }
{ OUT 0(0).MSH(0).#4 }
}
{ { OP COMMENT }
{ COMMENT {
— Encoding Characters} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).MSH(0).#2 }
{ OUT 0(0).MSH(0).#2 }
}
{ { OP COMMENT }
{ COMMENT {
— Sending Application} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).MSH(0).#3.[0]}} }
{ OUT 0(0).MSH(0).#3 }
}
{ { OP COMMENT }
{ COMMENT {
— Sending Facility} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).MSH(0).#4.[0]}} }
{ OUT 0(0).MSH(0).#4 }
}
{ { OP COMMENT }
{ COMMENT {
— Receiving Application} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).MSH(0).#5.[0]}} }
{ OUT 0(0).MSH(0).#5 }
}
{ { OP COMMENT }
{ COMMENT {
— Receiving Facility} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).MSH(0).#6.[0]}} }
{ OUT 0(0).MSH(0).#6 }
}
{ { OP COMMENT }
{ COMMENT {
— Date/Time of Message} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).MSH(0).#7 }
{ OUT 0(0).MSH(0).#7 }
}
{ { OP COMMENT }
{ COMMENT {
— Security} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).MSH(0).#8 }
{ OUT 0(0).MSH(0).#8 }
}
{ { OP COMMENT }
{ COMMENT {
— Message Type} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).MSH(0).#9 }
{ OUT 0(0).MSH(0).#9 }
}
{ { OP COMMENT }
{ COMMENT {
— Message Control ID} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).MSH(0).#10 }
{ OUT 0(0).MSH(0).#10 }
}
{ { OP COMMENT }
{ COMMENT {
— Processing ID} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).MSH(0).#11.[0]}} }
{ OUT 0(0).MSH(0).#11 }
}
{ { OP COMMENT }
{ COMMENT {
— Version ID} }
}
{ { OP COPY }
{ ERR 0 }
{ IN =2.1 }
{ OUT 0(0).MSH(0).#12 }
}
{ { OP COMMENT }
{ COMMENT {
— Sequence Number} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).MSH(0).#13 }
{ OUT 0(0).MSH(0).#13 }
}
{ { OP COMMENT }
{ COMMENT {
— Continuation Pointer} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).MSH(0).#14 }
{ OUT 0(0).MSH(0).#14 }
}
{ { OP COMMENT }
{ COMMENT {
———-
EVN segment
———-} }
}
{ { OP COMMENT }
{ COMMENT {
— Event Type Code} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).EVN(0).#1 }
{ OUT 0(0).EVN(0).#1 }
}
{ { OP COMMENT }
{ COMMENT {
— Date/Time of Event} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).EVN(0).#2 }
{ OUT 0(0).EVN(0).#2 }
}
{ { OP COMMENT }
{ COMMENT {
— Date/Time Planned Event} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).EVN(0).#3 }
{ OUT 0(0).EVN(0).#3 }
}
{ { OP COMMENT }
{ COMMENT {
— Event Reason Code} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).EVN(0).#4 }
{ OUT 0(0).EVN(0).#4 }
}
{ { OP COMMENT }
{ COMMENT {
———
PID segment
———} }
}
{ { OP COMMENT }
{ COMMENT {
— Set ID – ID} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PID(0).#1 }
{ OUT 0(0).PID(0).#1 }
}
{ { OP COMMENT }
{ COMMENT {
— Patient ID (External ID)} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#2.[0]}} }
{ OUT {{0(0).PID(0).#2.[0]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#2.[1]}} }
{ OUT {{0(0).PID(0).#2.[1]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#2.[2]}} }
{ OUT {{0(0).PID(0).#2.[2]}} }
}
{ { OP COMMENT }
{ COMMENT {
— Patient ID (Internal ID)} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#3.[0]}} }
{ OUT {{0(0).PID(0).#3.[0]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#3.[1]}} }
{ OUT {{0(0).PID(0).#3.[1]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#3.[2]}} }
{ OUT {{0(0).PID(0).#3.[2]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#3.[0]}} }
{ OUT {{0(0).PID(0).#3.[0]}} }
}
{ { OP COMMENT }
{ COMMENT {
— Alternate Patient ID} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#4.[0]}} }
{ OUT 0(0).PID(0).#4 }
}
{ { OP COMMENT }
{ COMMENT {
— Patient Name (parse and correct the format)} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#5.[0]} =^ {0(0).PID(0).#5.[1]} =^ {0(0).PID(0).#5.[2]}} }
{ OUT @last_first_middle }
{ COPYSEP {} }
}
{ { OP COPY }
{ PRE {
xlt_parse_name
}}
{ ERR 0 }
{ IN {@last_first_middle =last} }
{ OUT {{0(0).PID(0).#5.[0]}} }
}
{ { OP COPY }
{ PRE {
xlt_parse_name
}}
{ ERR 0 }
{ IN {@last_first_middle =first} }
{ OUT {{0(0).PID(0).#5.[1]}} }
}
{ { OP COPY }
{ PRE {
xlt_parse_name
}}
{ ERR 0 }
{ IN {@last_first_middle =middle} }
{ OUT {{0(0).PID(0).#5.[2]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#5.[3]}} }
{ OUT {{0(0).PID(0).#5.[3]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#5.[4]}} }
{ OUT {{0(0).PID(0).#5.[4]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#5.[5]}} }
{ OUT {{0(0).PID(0).#5.[5]}} }
}
{ { OP COMMENT }
{ COMMENT {
— Mother’s Maiden Name} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#6.[0]}} }
{ OUT 0(0).PID(0).#6 }
}
{ { OP COMMENT }
{ COMMENT {
— Date of Birth} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PID(0).#7 }
{ OUT 0(0).PID(0).#7 }
}
{ { OP COMMENT }
{ COMMENT {
— Sex} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PID(0).#8 }
{ OUT 0(0).PID(0).#8 }
}
{ { OP COMMENT }
{ COMMENT {
— Patient Alias (parse and correct the format)} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#9.[0]} =^ {0(0).PID(0).#9.[1]} =^ {0(0).PID(0).#9.[2]}} }
{ OUT @last_first_middle }
{ COPYSEP {} }
}
{ { OP COPY }
{ PRE {
xlt_parse_name
}}
{ ERR 0 }
{ IN {@last_first_middle =last} }
{ OUT {{0(0).PID(0).#9.[0]}} }
}
{ { OP COPY }
{ PRE {
xlt_parse_name
}}
{ ERR 0 }
{ IN {@last_first_middle =first} }
{ OUT {{0(0).PID(0).#9.[1]}} }
}
{ { OP COPY }
{ PRE {
xlt_parse_name
}}
{ ERR 0 }
{ IN {@last_first_middle =middle} }
{ OUT {{0(0).PID(0).#9.[2]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#9.[3]}} }
{ OUT {{0(0).PID(0).#9.[3]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#9.[4]}} }
{ OUT {{0(0).PID(0).#9.[4]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#9.[5]}} }
{ OUT {{0(0).PID(0).#9.[5]}} }
}
{ { OP COMMENT }
{ COMMENT {
— Race / Ethnic Group} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PID(0).#10 }
{ OUT 0(0).PID(0).#10 }
}
{ { OP COMMENT }
{ COMMENT {
— Patient Address} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#11.[0]}} }
{ OUT {{0(0).PID(0).#11.[0]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#11.[1]}} }
{ OUT {{0(0).PID(0).#11.[1]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#11.[2]}} }
{ OUT {{0(0).PID(0).#11.[2]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#11.[3]}} }
{ OUT {{0(0).PID(0).#11.[3]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#11.[4]}} }
{ OUT {{0(0).PID(0).#11.[4]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#11.[5]}} }
{ OUT {{0(0).PID(0).#11.[5]}} }
}
{ { OP COMMENT }
{ COMMENT {
— County Code} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PID(0).#12 }
{ OUT 0(0).PID(0).#12 }
}
{ { OP COMMENT }
{ COMMENT {
— Phone Number – Home} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#13.[0]}} }
{ OUT 0(0).PID(0).#13 }
}
{ { OP COMMENT }
{ COMMENT {
— Phone Number – Business} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#14.[0]}} }
{ OUT 0(0).PID(0).#14 }
}
{ { OP COMMENT }
{ COMMENT {
— Primary Language} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#15.[0]}} }
{ OUT {{0(0).PID(0).#15.[0]}} }
}
{ { OP COMMENT }
{ COMMENT {
— Marital Status} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PID(0).#16 }
{ OUT 0(0).PID(0).#16 }
}
{ { OP COMMENT }
{ COMMENT {
— Religion} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PID(0).#17 }
{ OUT 0(0).PID(0).#17 }
}
{ { OP COMMENT }
{ COMMENT {
— Patient Account Number} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#18.[0]}} }
{ OUT {{0(0).PID(0).#18.[0]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#18.[1]}} }
{ OUT {{0(0).PID(0).#18.[1]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#18.[2]}} }
{ OUT {{0(0).PID(0).#18.[2]}} }
}
{ { OP COMMENT }
{ COMMENT {
— Social Security Number – Patient} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PID(0).#19 }
{ OUT 0(0).PID(0).#19 }
}
{ { OP COMMENT }
{ COMMENT {
— Driver’s License Number – Patient} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PID(0).#20.[0]}} }
{ OUT 0(0).PID(0).#20 }
}
{ { OP COMMENT }
{ COMMENT {
———-
NK1 segment
———-} }
}
{ { OP COMMENT }
{ COMMENT {
— Set ID – Next of Kin} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).NK1(0).#1 }
{ OUT 0(0).NK1(0).#1 }
}
{ { OP COMMENT }
{ COMMENT {
— Next of Kin Name (parse and correct the format)} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).NK1(0).#2.[0]} =^ {0(0).NK1(0).#2.[1]} =^ {0(0).NK1(0).#2.[2]}} }
{ OUT @last_first_middle }
{ COPYSEP {} }
}
{ { OP COPY }
{ PRE {
xlt_parse_name
}}
{ ERR 0 }
{ IN {@last_first_middle =last} }
{ OUT {{0(0).NK1(0).#2.[0]}} }
}
{ { OP COPY }
{ PRE {
xlt_parse_name
}}
{ ERR 0 }
{ IN {@last_first_middle =first} }
{ OUT {{0(0).NK1(0).#2.[1]}} }
}
{ { OP COPY }
{ PRE {
xlt_parse_name
}}
{ ERR 0 }
{ IN {@last_first_middle =middle} }
{ OUT {{0(0).NK1(0).#2.[2]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).NK1(0).#2.[3]}} }
{ OUT {{0(0).NK1(0).#2.[3]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).NK1(0).#2.[4]}} }
{ OUT {{0(0).NK1(0).#2.[4]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).NK1(0).#2.[5]}} }
{ OUT {{0(0).NK1(0).#2.[5]}} }
}
{ { OP COMMENT }
{ COMMENT {
— Next of Kin Relationshiop} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).NK1(0).#3.[0]}} }
{ OUT 0(0).NK1(0).#3 }
}
{ { OP COMMENT }
{ COMMENT {
— Next of Kin – Address} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).NK1(0).#4.[0]}} }
{ OUT {{0(0).NK1(0).#4.[0]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).NK1(0).#4.[1]}} }
{ OUT {{0(0).NK1(0).#4.[1]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).NK1(0).#4.[2]}} }
{ OUT {{0(0).NK1(0).#4.[2]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).NK1(0).#4.[3]}} }
{ OUT {{0(0).NK1(0).#4.[3]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).NK1(0).#4.[4]}} }
{ OUT {{0(0).NK1(0).#4.[4]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).NK1(0).#4.[5]}} }
{ OUT {{0(0).NK1(0).#4.[5]}} }
}
{ { OP COMMENT }
{ COMMENT {
— Next of Kin – Phone Number} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).NK1(0).#5.[0]}} }
{ OUT 0(0).NK1(0).#5 }
}
{ { OP COMMENT }
{ COMMENT {
———-
PV1 segment
———-} }
}
{ { OP COMMENT }
{ COMMENT {
— Set ID – Patient Visit} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#1 }
{ OUT 0(0).PV1(0).#1 }
}
{ { OP COMMENT }
{ COMMENT {
— Patient Class} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#2 }
{ OUT 0(0).PV1(0).#2 }
}
{ { OP COMMENT }
{ COMMENT {
— Assigned Patient Location} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#3.[0]}} }
{ OUT 0(0).PV1(0).#3 }
}
{ { OP COMMENT }
{ COMMENT {
— Admission Type} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#4 }
{ OUT 0(0).PV1(0).#4 }
}
{ { OP COMMENT }
{ COMMENT {
— Pre-Admit Number} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#5.[0]}} }
{ OUT 0(0).PV1(0).#5 }
}
{ { OP COMMENT }
{ COMMENT {
— Prior Patient Location} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#6.[0]}} }
{ OUT 0(0).PV1(0).#6 }
}
{ { OP COMMENT }
{ COMMENT {
— Attending Doctor} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#7.[0]}} }
{ OUT {{0(0).PV1(0).#7.[0]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#7.[1]}} }
{ OUT {{0(0).PV1(0).#7.[1]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#7.[2]}} }
{ OUT {{0(0).PV1(0).#7.[2]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#7.[3]}} }
{ OUT {{0(0).PV1(0).#7.[3]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#7.[4]}} }
{ OUT {{0(0).PV1(0).#7.[4]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#7.[5]}} }
{ OUT {{0(0).PV1(0).#7.[5]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#7.[6]}} }
{ OUT {{0(0).PV1(0).#7.[6]}} }
}
{ { OP COMMENT }
{ COMMENT {
— Referring Doctor} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#8.[0]}} }
{ OUT {{0(0).PV1(0).#8.[0]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#8.[1]}} }
{ OUT {{0(0).PV1(0).#8.[1]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#8.[2]}} }
{ OUT {{0(0).PV1(0).#8.[2]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#8.[3]}} }
{ OUT {{0(0).PV1(0).#8.[3]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#8.[4]}} }
{ OUT {{0(0).PV1(0).#8.[4]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#8.[5]}} }
{ OUT {{0(0).PV1(0).#8.[5]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#8.[6]}} }
{ OUT {{0(0).PV1(0).#8.[6]}} }
}
{ { OP COMMENT }
{ COMMENT {
— Consulting Doctor} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#9.[0]}} }
{ OUT {{0(0).PV1(0).#9.[0]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#9.[1]}} }
{ OUT {{0(0).PV1(0).#9.[1]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#9.[2]}} }
{ OUT {{0(0).PV1(0).#9.[2]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#9.[3]}} }
{ OUT {{0(0).PV1(0).#9.[3]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#9.[4]}} }
{ OUT {{0(0).PV1(0).#9.[4]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#9.[5]}} }
{ OUT {{0(0).PV1(0).#9.[5]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#9.[6]}} }
{ OUT {{0(0).PV1(0).#9.[6]}} }
}
{ { OP COMMENT }
{ COMMENT {
— Hospital Service} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#10 }
{ OUT 0(0).PV1(0).#10 }
}
{ { OP COMMENT }
{ COMMENT {
— Temporary Location} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#11.[0]}} }
{ OUT 0(0).PV1(0).#11 }
}
{ { OP COMMENT }
{ COMMENT {
— Pre-Admit Test Indicator} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#12 }
{ OUT 0(0).PV1(0).#12 }
}
{ { OP COMMENT }
{ COMMENT {
— Re-Admission Indicator} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#13 }
{ OUT 0(0).PV1(0).#13 }
}
{ { OP COMMENT }
{ COMMENT {
— Admit Source} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#14 }
{ OUT 0(0).PV1(0).#14 }
}
{ { OP COMMENT }
{ COMMENT {
— Ambulatory Status} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#15 }
{ OUT 0(0).PV1(0).#15 }
}
{ { OP COMMENT }
{ COMMENT {
— VIP Indicator} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#16 }
{ OUT 0(0).PV1(0).#16 }
}
{ { OP COMMENT }
{ COMMENT {
— Admitting Doctor} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#17.[0]}} }
{ OUT {{0(0).PV1(0).#17.[0]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#17.[1]}} }
{ OUT {{0(0).PV1(0).#17.[1]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#17.[2]}} }
{ OUT {{0(0).PV1(0).#17.[2]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#17.[3]}} }
{ OUT {{0(0).PV1(0).#17.[3]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#17.[4]}} }
{ OUT {{0(0).PV1(0).#17.[4]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#17.[5]}} }
{ OUT {{0(0).PV1(0).#17.[5]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#17.[6]}} }
{ OUT {{0(0).PV1(0).#17.[6]}} }
}
{ { OP COMMENT }
{ COMMENT {
— Patient Type} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#18 }
{ OUT 0(0).PV1(0).#18 }
}
{ { OP COMMENT }
{ COMMENT {
— Patient Visit Number} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).00149(0).[0]}} }
{ OUT 0(0).PV1(0).#19 }
}
{ { OP COMMENT }
{ COMMENT {
— Financial Class} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#20 }
{ OUT 0(0).PV1(0).#20 }
}
{ { OP COMMENT }
{ COMMENT {
— Charge Price Indicator} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#21 }
{ OUT 0(0).PV1(0).#21 }
}
{ { OP COMMENT }
{ COMMENT {
— Courtesy Code} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#22 }
{ OUT 0(0).PV1(0).#22 }
}
{ { OP COMMENT }
{ COMMENT {
— Credit Rating} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#23 }
{ OUT 0(0).PV1(0).#23 }
}
{ { OP COMMENT }
{ COMMENT {
— Contract Code} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#24 }
{ OUT 0(0).PV1(0).#24 }
}
{ { OP COMMENT }
{ COMMENT {
— Contract Effective Date} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#25 }
{ OUT 0(0).PV1(0).#25 }
}
{ { OP COMMENT }
{ COMMENT {
— Contract Amount} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#26 }
{ OUT 0(0).PV1(0).#26 }
}
{ { OP COMMENT }
{ COMMENT {
— Contract Period} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#27 }
{ OUT 0(0).PV1(0).#27 }
}
{ { OP COMMENT }
{ COMMENT {
— Interest Code} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#28 }
{ OUT 0(0).PV1(0).#28 }
}
{ { OP COMMENT }
{ COMMENT {
— Transfer to Bad Debt Code} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#29 }
{ OUT 0(0).PV1(0).#29 }
}
{ { OP COMMENT }
{ COMMENT {
— Transfer to Bad Debt Date} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#30 }
{ OUT 0(0).PV1(0).#30 }
}
{ { OP COMMENT }
{ COMMENT {
— Bad Debt Agency Code} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#31 }
{ OUT 0(0).PV1(0).#31 }
}
{ { OP COMMENT }
{ COMMENT {
— Bad Debt Transfer Amount} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#32 }
{ OUT 0(0).PV1(0).#32 }
}
{ { OP COMMENT }
{ COMMENT {
— Bad Debt Recovery Amount} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#33 }
{ OUT 0(0).PV1(0).#33 }
}
{ { OP COMMENT }
{ COMMENT {
— Delete Account Indicator} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#34 }
{ OUT 0(0).PV1(0).#34 }
}
{ { OP COMMENT }
{ COMMENT {
— Delete Account Date} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#35 }
{ OUT 0(0).PV1(0).#35 }
}
{ { OP COMMENT }
{ COMMENT {
— Discharge Disposition} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#36 }
{ OUT 0(0).PV1(0).#36 }
}
{ { OP COMMENT }
{ COMMENT {
— Discharged to Location} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#37 }
{ OUT 0(0).PV1(0).#37 }
}
{ { OP COMMENT }
{ COMMENT {
— Diet Type} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#38 }
{ OUT 0(0).PV1(0).#38 }
}
{ { OP COMMENT }
{ COMMENT {
— Servicing Facility} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#39 }
{ OUT 0(0).PV1(0).#39 }
}
{ { OP COMMENT }
{ COMMENT {
— Bed Status} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#40 }
{ OUT 0(0).PV1(0).#40 }
}
{ { OP COMMENT }
{ COMMENT {
— Account Status} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#41 }
{ OUT 0(0).PV1(0).#41 }
}
{ { OP COMMENT }
{ COMMENT {
— Pending Location} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#42.[0]}} }
{ OUT 0(0).PV1(0).#42 }
}
{ { OP COMMENT }
{ COMMENT {
— Prior Temporary Location} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).PV1(0).#43.[0]}} }
{ OUT 0(0).PV1(0).#43 }
}
{ { OP COMMENT }
{ COMMENT {
— Admit Date/Time} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#44 }
{ OUT 0(0).PV1(0).#44 }
}
{ { OP COMMENT }
{ COMMENT {
— Discharge Date/Time} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#45 }
{ OUT 0(0).PV1(0).#45 }
}
{ { OP COMMENT }
{ COMMENT {
— Current Patient Balance} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#46 }
{ OUT 0(0).PV1(0).#46 }
}
{ { OP COMMENT }
{ COMMENT {
— Total Charges} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#47 }
{ OUT 0(0).PV1(0).#47 }
}
{ { OP COMMENT }
{ COMMENT {
— Total Adjustments} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#48 }
{ OUT 0(0).PV1(0).#48 }
}
{ { OP COMMENT }
{ COMMENT {
— Total Payments} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).PV1(0).#49 }
{ OUT 0(0).PV1(0).#49 }
}
{ { OP COMMENT }
{ COMMENT {
———-
DG1 segment
———-} }
}
{ { OP COMMENT }
{ COMMENT {
— Set ID – Diagnosis} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).DG1(0).#1 }
{ OUT 0(0).DG1(0).#1 }
}
{ { OP COMMENT }
{ COMMENT {
— Diagnosis Coding Method} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).DG1(0).#2 }
{ OUT 0(0).DG1(0).#2 }
}
{ { OP COMMENT }
{ COMMENT {
— Diagnosis Coding Method} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).DG1(0).#3.[0]}} }
{ OUT 0(0).DG1(0).#3 }
}
{ { OP COMMENT }
{ COMMENT {
— Diagnosis Description} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).DG1(0).#4 }
{ OUT 0(0).DG1(0).#4 }
}
{ { OP COMMENT }
{ COMMENT {
— Diagnosis Date/Time} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).DG1(0).#5 }
{ OUT 0(0).DG1(0).#5 }
}
{ { OP COMMENT }
{ COMMENT {
— Diagnosis/Drg Type} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).DG1(0).#6 }
{ OUT 0(0).DG1(0).#6 }
}
{ { OP COMMENT }
{ COMMENT {
— Major Diagnostic Category} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).DG1(0).#7.[0]}} }
{ OUT 0(0).DG1(0).#7 }
}
{ { OP COMMENT }
{ COMMENT {
— Diagnosis Related Group} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).DG1(0).#8.[0]}} }
{ OUT 0(0).DG1(0).#8 }
}
{ { OP COMMENT }
{ COMMENT {
— Drg Approval Indicator} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).DG1(0).#9 }
{ OUT 0(0).DG1(0).#9 }
}
{ { OP COMMENT }
{ COMMENT {
— Drg Grouper Review Code} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).DG1(0).#10 }
{ OUT 0(0).DG1(0).#10 }
}
{ { OP COMMENT }
{ COMMENT {
— Outlier Type} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).DG1(0).#11 }
{ OUT 0(0).DG1(0).#11 }
}
{ { OP COMMENT }
{ COMMENT {
— Outlier Days} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).DG1(0).#12 }
{ OUT 0(0).DG1(0).#12 }
}
{ { OP COMMENT }
{ COMMENT {
— Outlier Cost} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{0(0).DG1(0).#13.[0]}} }
{ OUT 0(0).DG1(0).#13 }
}
{ { OP COMMENT }
{ COMMENT {
— Grouper Version and Type} }
}
{ { OP COPY }
{ ERR 0 }
{ IN 0(0).DG1(0).#14 }
{ OUT 0(0).DG1(0).#14 }
}
Attached are the tar files of the format variants from our platform (AIX 5.2 with QDX 5.2.1P2) which may not be easy to access if on windows but I also don’t do windows unless the building is on fire.
FTPing in binary mode to your Unix server will likely work best to access the tar files.
I did not attach TCL procs and whatever else that might get called becuase that is not necessary to be able to open the Xlate and see my tangible example.
Russ Ross
RussRoss318@gmail.com
-
-
AuthorReplies
- The forum ‘Cloverleaf’ is closed to new topics and replies.