コード例 #1
0
ファイル: PantherOrder.cs プロジェクト: WilliamCopland/YPILIS
        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;
        }
コード例 #2
0
ファイル: PantherOrder.cs プロジェクト: ericramses/YPILIS
        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);
        }