pub fn parse(xml_text: &str) -> Result<Message, Error>Expand description
Parse one HL7 v3 XML message into its three-level structure.
§Errors
Error::Xml when xml_text is not well-formed XML. This function
does not fail when a wrapper element is missing — an absent id,
interactionId, sender, or controlActProcess reads as None, the
same way hl7-2’s generic mode
degrades rather than rejecting; see spec/index.md §3.