Exemple #1
0
        public PathologyReportContainer GetReport()
        {
            var RequestedDate            = new DateTimeOffset(2019, 09, 23, 00, 00, 00, TimeSpan.FromHours(10));
            var CollectionDateTime       = new DateTimeOffset(2019, 09, 25, 08, 20, 00, TimeSpan.FromHours(10));
            var SpecimenReceivedDateTime = new DateTimeOffset(2019, 09, 25, 10, 30, 00, TimeSpan.FromHours(10));
            var ReportReleaseDateTime    = new DateTimeOffset(2019, 09, 26, 09, 00, 00, TimeSpan.FromHours(10));
            var ObservationDateTime      = ReportReleaseDateTime.Subtract(TimeSpan.FromMinutes(5));

            return(new PathologyReportContainer()
            {
                PathologyReport = new PathologyReport()
                {
                    PerformingLaboratory = LaboratoryFactory.GetPITUSLaboratory(),
                    Patient = PatientFactory.GetGraceROSSLAND(),
                    Request = new Request()
                    {
                        RequestedDate = RequestedDate,
                        OrderNumber = "00000001",
                        RequestingFacility = new Organisation()
                        {
                            Name = "Sunrise Hospital Antenatal Clinic",
                            Identifier = new Identifier()
                            {
                                Value = "143569C9-8AFC-4BBD-A663-95079AE10B57",
                                Type = IdentifierType.GUID
                            }
                        },
                        RequestingApplication = "Best Practice 1.8.5.743",
                        RequestingProvider = ProviderFactory.GetTrishFamilyDr(MedicareProviderNumber: "8203015Y"),
                        ClinicalNotes = "First trimester antenatal screen, ~ 10 weeks pregnant (G1P0)",
                        CallBackPhoneNumber = null,
                        CopyToList = new List <Provider>()
                        {
                            ProviderFactory.GetBiancaMidwife()
                        }
                    },
                    PdfFileName = "Exemplar Report Chlamydia trachomatis NAT v1.6.pdf",
                    ReportList = new List <Report>()
                    {
                        new Report()
                        {
                            ReportId = "1978881874",
                            CollectionDateTime = CollectionDateTime,
                            SpecimenReceivedDateTime = SpecimenReceivedDateTime,
                            ReportReleaseDateTime = ReportReleaseDateTime,
                            ReportType = new ReportType()
                            {
                                Local = new Code()
                                {
                                    Term = "CHY", Description = "Chlamydia trachomatis nucleic acid"
                                },
                                Snomed = new Code()
                                {
                                    Term = "398452009", Description = "Chlamydia trachomatis nucleic acid assay"
                                }
                            },
                            ReportStatus = ResultStatusType.Final,
                            Department = DiagnosticService.Serology,
                            ReportingPathologist = ProviderFactory.GetBellaPathologist(),
                            Panel = new Panel()
                            {
                                ResultList = new List <Result>()
                                {
                                    new Result()
                                    {
                                        Type = new ResultType()
                                        {
                                            Local = new Code()
                                            {
                                                Term = "CHLY",
                                                Description = "Chlamydia trachomatis DNA"
                                            },
                                            Lonic = new Code()
                                            {
                                                Term = "21613-5",
                                                Description = "Chlamydia trachomatis DNA"
                                            }
                                        },
                                        DataType = "ST",
                                        Value = "Negative",
                                        Units = null,
                                        ReferenceRange = null,
                                        AbnormalFlag = "N",
                                        ObservationDateTime = ObservationDateTime,
                                        Status = ResultStatusType.Final,
                                        ChildResultList = null
                                    }
                                }
                            }
                        }
                    }
                }
            });
        }
Exemple #2
0
        public PathologyReportContainer GetReport()
        {
            var RequestedDate            = new DateTimeOffset(2019, 09, 24, 00, 00, 00, TimeSpan.FromHours(10));
            var CollectionDateTime       = new DateTimeOffset(2019, 09, 25, 08, 20, 00, TimeSpan.FromHours(10));
            var SpecimenReceivedDateTime = new DateTimeOffset(2019, 09, 25, 10, 05, 00, TimeSpan.FromHours(10));
            var ReportReleaseDateTime    = new DateTimeOffset(2019, 09, 25, 11, 55, 00, TimeSpan.FromHours(10));
            var ObservationDateTime      = ReportReleaseDateTime.Subtract(TimeSpan.FromMinutes(5));

            return(new PathologyReportContainer()
            {
                PathologyReport = new PathologyReport()
                {
                    PerformingLaboratory = LaboratoryFactory.GetPITUSLaboratory(),
                    Patient = PatientFactory.GetGraceROSSLAND(),
                    Request = new Request()
                    {
                        RequestedDate = RequestedDate,
                        OrderNumber = "00000006",
                        RequestingFacility = new Organisation()
                        {
                            Name = "Sunrise Hospital Antenatal Clinic",
                            Identifier = new Identifier()
                            {
                                Value = "143569C9-8AFC-4BBD-A663-95079AE10B57",
                                Type = IdentifierType.GUID
                            }
                        },
                        RequestingApplication = "Best Practice 1.8.5.743",
                        RequestingProvider = ProviderFactory.GetTrishFamilyDr(MedicareProviderNumber: "8203015Y"),
                        ClinicalNotes = "First trimester antenatal screen, ~ 10 weeks pregnant (G1P0)",
                        CallBackPhoneNumber = null,
                        CopyToList = new List <Provider>()
                        {
                            ProviderFactory.GetBiancaMidwife()
                        }
                    },
                    PdfFileName = "Exemplar Report HbsAb v1.5.pdf",
                    ReportList = new List <Report>()
                    {
                        new Report()
                        {
                            ReportId = "1978881817",
                            CollectionDateTime = CollectionDateTime,
                            SpecimenReceivedDateTime = SpecimenReceivedDateTime,
                            ReportReleaseDateTime = ReportReleaseDateTime,
                            ReportType = new ReportType()
                            {
                                Local = new Code()
                                {
                                    Term = "HepBSer", Description = "Hepatitis B serology"
                                },
                                Snomed = null
                                         //Snomed = new Code() { Term = "315130004", Description = "Hepatitis B surface antibody level" }
                            },
                            ReportStatus = ResultStatusType.Final,
                            Department = DiagnosticService.Serology,
                            ReportingPathologist = ProviderFactory.GetStanleyVirologist(),
                            Panel = new Panel()
                            {
                                ResultList = new List <Result>()
                                {
                                    new Result()
                                    {
                                        Type = new ResultType()
                                        {
                                            Local = new Code()
                                            {
                                                Term = "HepBsAb",
                                                Description = "Hepatitis B surface Ab"
                                            },
                                            Lonic = new Code()
                                            {
                                                Term = "16935-9",
                                                Description = "Hepatitis B surface Ab"
                                            }
                                        },
                                        DataType = "ST",
                                        Value = "Positive",
                                        Units = null,
                                        ReferenceRange = null,
                                        AbnormalFlag = null,
                                        ObservationDateTime = ObservationDateTime,
                                        Status = ResultStatusType.Final,
                                        ChildResultList = null
                                    },
                                    new Result()
                                    {
                                        Type = new ResultType()
                                        {
                                            Local = new Code()
                                            {
                                                Term = "INTER",
                                                Description = "Interpretation"
                                            },
                                            Lonic = null
                                        },
                                        DataType = "FT",
                                        Value = "Positive HBsAb result indicates sufficient Hepatitis B immunity.",
                                        Units = null,
                                        ReferenceRange = null,
                                        AbnormalFlag = "N",
                                        ObservationDateTime = ObservationDateTime,
                                        Status = ResultStatusType.Final,
                                        ChildResultList = null
                                    }
                                }
                            }
                        }
                    }
                }
            });
        }