iNTERFACEWARE Products Manual > Learning Center > Iguana Best Practices Guide > Designing HL7 Interfaces in Iguana > Interface Types > Dealing with Lab Reports |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
There are a few different ways that lab reports can choose to structure textual data. One good technique to make it easier to deal with these different ways is to make use of Python scripting to concatenate the fragments together into a single column of a table. One typical pattern that is commonly implemented is to represent a report with one OBX or NTE segment for each line of the report. The other family of formats is to put the entire report in one field of an OBX segment, then use one of the following delimiters to separate the lines:
In each case it is very easy to write some Python code that will concatenate the strings together and output a single chunk. If you read the Python scripting chapter of this manual, examples are given of each type of transformation, including where each line of a lab result is in its own OBX segment. |