Neil McFarlane
Neil McFarlane
Ah, thanks for the explanation. I think I understand. As per the [specs](https://hl7-definition.caristix.com/v2/HL7v2.3.1/Tables/0354), in 2.3.1, A31 doesn't have it's own unique message structure and instead reuses the one from ADT_A28....
That makes complete sense; A28 and A31 seem to be corner cases in that they can use two different message structures. Would we consider the inferred mapping for elements that...
Ideally this would be a to_json() method. Many elements in HL7 can repeat and thus would need to go into an array instead of a direct dictionary.