CL Version: 20.1.1
So have a question about structures and how Cloverleaf calls structures. We have a “generic” structure for multiple messages (ADT A01, A02, A03, etc). Rather than call a translate for each one individually, we call ADT_REG when designing the structure. All the messages types flow through the ADT_REG. However, when we add a segment to this structure, we have to go back and add the structure to all the individual structures for it to work correctly (ADT_A01, ADT_A02, etc).
Netconfig:
{ ROUTE_DETAILS {
{ TYPE xlate }
{ XLATE x_ptExpREG_F_epicREG_231.xlt }
}
} }
{ ROUTE_ENABLED 1 }
{ TRXID ADT_A(01|02|03|04|05|06|07|08|11|12|13|14|16) }
{ WILDCARD ON }
Xlate:
prologue
xlt_infile: hl7 2.3.1 epicHL7 ADT_PER
who: russjmc
date: September 28, 2023 3:22:34 PM EDT
xlt_outfile: hl7 2.3.1 epicHL7 ADT_PER
type: xlt
version: 7.0
end_prologue
This shows we are using the epicADT variant created with ADT_PER.
I initially noticed this when using the testing tool, but since we’ve added segments to the engine and run it end-to-end, it’s still not updating until we add the segment to the individual structures.