I just worked on a project which used Mirth, and in the mapping code,
we'd do something like
var PatientGivenName = msg['PID.5.2'].toString();
I have been searching the docs and samples online to find a way to
access values from "path expressions" like the above, but without
success. A quick pointer would be so useful.
The reason why i am researching this is that i'd like eventually to have
a simple configuration file that would provide simple mappings which
could then be modified without changing code. Currently, i'd get the
field with the following code:
ADT_A01 ADT = (ADT_A01) Msg;
ADT.getPID().getPatientName(0).getGivenName().getValue();
Clearly, for FirstName, that is unlikely to change, but some other
values seem to vary a lot from hospital to hospital and would like my
doce to be more flexible and driven by a simple mapping configuration.
Thank you.
Laurent Hasson
360Fresh
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel