Jack,
thinking about your question some more info:
the 271 message with HL structures in health care is quite complicated.
(yes, health care.....)
You indicate you are starting with EDI: weel, you are starting with a
one of the more complicated messages.
IMO: this can be confusing, as you get a lot of new information. The
structure of this message takes some time to 'settle down in your mind'.
At least that is my experience.
so be aware that you have a tough start (most people start with a 'easy'
message like orders/850).
Time ago I took a look at the HL structure (I know this type of
structure from some edifact messages).
Bots can handle this very well.
Most important issue here is to set up a good inhouse-format. And a good
format would be: as convenient for your application as can be: try to
keep the CSV import as simple as possible.
When setting up the mapping: think of it as filling the CSV file,
fetching from the 271
(the opposite would be: walk over the 271, try to generate CSV records;
IMHO a confusing way).