private XElement CreateDocument() { XElement document = new XElement("HL7Message"); PantherMSH msh = new PantherMSH(); msh.ToXml(document); PantherPID pid = new PantherPID(this.m_AccessionOrder.PatientId, this.m_AccessionOrder.PLastName, this.m_AccessionOrder.PFirstName, this.m_AccessionOrder.PBirthdate, this.m_AccessionOrder.PSex); pid.ToXml(document); PantherORC orc = new PantherORC(this.m_SpecimenOrder, this.m_AliquotOrder, this.m_PanelSetOrder, this.m_ActionCode); orc.ToXml(document); PantherOBR obr = new PantherOBR(this.m_PanelSetOrder.ReportNo, this.m_Assay, this.m_SpecimenOrder); obr.ToXml(document); return document; }
private XElement CreateDocument() { XElement document = new XElement("HL7Message"); PantherMSH msh = new PantherMSH(); msh.ToXml(document); PantherPID pid = new PantherPID(this.m_AccessionOrder.PatientId, this.m_AccessionOrder.PLastName, this.m_AccessionOrder.PFirstName, this.m_AccessionOrder.PBirthdate, this.m_AccessionOrder.PSex); pid.ToXml(document); PantherORC orc = new PantherORC(this.m_SpecimenOrder, this.m_AliquotOrder, this.m_PanelSetOrder, this.m_ActionCode); orc.ToXml(document); PantherOBR obr = new PantherOBR(this.m_PanelSetOrder.ReportNo, this.m_Assay, this.m_SpecimenOrder); obr.ToXml(document); return(document); }