No announcement yet.

XML generated by encoder.encode

  • Filter
  • Time
  • Show
Clear All
new posts

  • XML generated by encoder.encode

    Hi, I have a question about the XML format generated by a call to encoder.encode(). I hope this is the correct forum.

    Is there a document somewhere that describes the mapping from HL7 to this XML format?

    I could not see one, so if there is not hopefully somebody here will be able to help me. Usually it seems field elements (e.g. MSH.3) are further divide into value elements (e.g. MSH.3.1), even if there is only one value. However in my test message the element MSH.1 contains an actual value ("|") and no value elements.

    Is MSH.1 unique in this respect, or is there a more general reason?

    Thanks for reading.