コード例 #1
0
        public static ResultPath GetResultPath(int panelSetId,
            string reportNo,
			YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
            YellowstonePathology.UI.Navigation.PageNavigator pageNavigator,
            System.Windows.Window window,
            System.Windows.Visibility backButtonVisibility)
        {
            ResultPath result = null;
            switch(panelSetId)
            {
                case 1:
                    result = new JAK2V617FResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 3:
                    result = new NGCTResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 14:
                    result = new HPVResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 18:
                    result = new BRAFV600EKResultPath(reportNo, accessionOrder, pageNavigator, backButtonVisibility, window);
                    break;
                case 19:
                    result = new PNHResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 27:
                    result = new KRASStandardResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 30:
                    result = new KRASStandardReflexResultPath(reportNo, accessionOrder, pageNavigator, window, backButtonVisibility);
                    break;
                case 31:
                    result = new TechnicalOnlyResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 32:
                    result = new FactorVLeidenResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 33:
                    result = new ProthrombinResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 36:
                    result = new BCellClonalityByPCRResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 46:
                    result = new HER2AmplificationByISHResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 50:
                    result = new ErPrSemiQuantitativeResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 60:
                    result = new EGFRResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 61:
                    result = new TrichomonasResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 62:
                    result = new HPV1618ResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 213:
                    result = new HPV1618ByPCRResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 66:
                    result = new TestCancelledResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 81:
                case 82:
                    result = new FNAResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 100:
                    result = new BCL1t1114ResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 102:
                    result = new LynchSyndromeIHCPanelResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 106:
                    result = new LynchSyndromeEvaluationResultPath(reportNo, accessionOrder, pageNavigator, window, backButtonVisibility);
                    break;
                case 112:
                    result = new ComprehensiveColonCancerProfilePath(reportNo, accessionOrder, pageNavigator, window, backButtonVisibility);
                    break;
                case 131:
                    result = new ALKForNSCLCByFISHResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 132:
                    result = new MicrosatelliteInstabilityAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 135:
                    result = new ABL1KinaseDomainMutationResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 136:
                    result = new MPNStandardReflexPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 137:
                    result = new MPNExtendedReflexPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 140:
                    result = new CalreticulinMutationAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 141:
                    result = new JAK2Exon1214ResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 143:
                    result = new ZAP70LymphoidPanelResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 144:
                    result = new MLH1MethalationAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 145:
                    result = new ChromosomeAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 147:
                    result = new MultipleMyelomaMGUSByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 148:
                    result = new CCNDIBCLIGHResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 149:
                    result = new HighGradeLargeBCellLymphomaResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 150:
                    result = new CEBPAResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 151:
                    result = new CLLByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 152:
                    result = new TCellClonalityByPCRResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 153:
                    result = new FLT3ResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 155:
                    result = new NPM1ResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 156:
                    result = new BCRABLByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 157:
                    result = new MPNFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 158:
                    result = new MDSByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 159:
                    result = new MPLResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 160:
                    result = new MultipleFISHProbePanelResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 161:
                    result = new MultipleMyelomaIgHByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 162:
                    result = new BCRABLByPCRResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 163:
                    result = new Her2AmplificationByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 164:
                    result = new MDSExtendedPanelByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 168:
                    result = new AMLStandardByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 169:
                    result = new ChromosomeAnalysisForFetalAnomalyResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 170:
                    result = new NonHodgkinsLymphomaFISHPanelResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 171:
                    result = new Her2AmplificationByIHCResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 172:
                    result = new EosinophiliaByFISHResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 173:
                    result = new PlasmaCellMyelomaRiskStratificationResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 174:
                    result = new NeoARRAYSNPCytogeneticProfileResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 175:
                    result = new KRASExon4MutationResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 177:
                    result = new BCellGeneRearrangementResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 178:
                    result = new MYD88MutationAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 179:
                    result = new NRASMutationAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 181:
                    result = new CKITResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 183:
                    result = new CysticFibrosisResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 184:
                    result = new DeletionsForGlioma1p19qResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 185:
                    result = new BladderCancerFISHUrovysionResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 186:
                    result = new API2MALT1ResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 192:
                    result = new ALLAdultByFISHResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 201:
                    result = new IHCQCResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 203:
                    result = new ReviewForAdditionalTestingResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 204:
                    result = new ROS1ResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 212:
                    result = new MissingInformationResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 214:
                    result = new TechInitiatedPeripheralSmearResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 215:
                    result = new PDL1ResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 217:
                    result = new KRASExon23MutationResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 218:
                    result = new RASRAFPanelResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 222:
                    result = new BCellEnumerationResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
                case 223:
                    result = new TCellSubsetAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                    break;
            }
            return result;
        }
コード例 #2
0
        public static ResultPath GetResultPath(int panelSetId,
                                               string reportNo,
                                               YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                                               YellowstonePathology.UI.Navigation.PageNavigator pageNavigator,
                                               System.Windows.Window window,
                                               System.Windows.Visibility backButtonVisibility)
        {
            ResultPath result = null;

            switch (panelSetId)
            {
            case 1:
                result = new JAK2V617FResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 3:
                result = new NGCTResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 14:
                result = new HPVResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 18:
                result = new BRAFV600EKResultPath(reportNo, accessionOrder, pageNavigator, backButtonVisibility, window);
                break;

            case 19:
                result = new PNHResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 27:
                result = new KRASStandardResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 30:
                result = new KRASStandardReflexResultPath(reportNo, accessionOrder, pageNavigator, window, backButtonVisibility);
                break;

            case 31:
                result = new TechnicalOnlyResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 32:
                result = new FactorVLeidenResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 33:
                result = new ProthrombinResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 36:
                result = new BCellClonalityByPCRResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 46:
                result = new HER2AmplificationByISHResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 50:
                result = new ErPrSemiQuantitativeResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 60:
                result = new EGFRResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 61:
                result = new TrichomonasResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 62:
                result = new HPV1618ResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 213:
                result = new HPV1618ByPCRResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 66:
                result = new TestCancelledResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 81:
            case 82:
                result = new FNAResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 100:
                result = new BCL1t1114ResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 102:
                result = new LynchSyndromeIHCPanelResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 106:
                result = new LynchSyndromeEvaluationResultPath(reportNo, accessionOrder, pageNavigator, window, backButtonVisibility);
                break;

            case 112:
                result = new ComprehensiveColonCancerProfilePath(reportNo, accessionOrder, pageNavigator, window, backButtonVisibility);
                break;

            case 131:
                result = new ALKForNSCLCByFISHResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 132:
                result = new MicrosatelliteInstabilityAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 135:
                result = new ABL1KinaseDomainMutationResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 136:
                result = new MPNStandardReflexPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 137:
                result = new MPNExtendedReflexPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 140:
                result = new CalreticulinMutationAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 141:
                result = new JAK2Exon1214ResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 143:
                result = new ZAP70LymphoidPanelResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 144:
                result = new MLH1MethalationAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 145:
                result = new ChromosomeAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 147:
                result = new MultipleMyelomaMGUSByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 148:
                result = new CCNDIBCLIGHResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 149:
                result = new HighGradeLargeBCellLymphomaResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 150:
                result = new CEBPAResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 151:
                result = new CLLByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 152:
                result = new TCellClonalityByPCRResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 153:
                result = new FLT3ResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 155:
                result = new NPM1ResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 156:
                result = new BCRABLByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 157:
                result = new MPNFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 158:
                result = new MDSByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 159:
                result = new MPLResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 160:
                result = new MultipleFISHProbePanelResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 161:
                result = new MultipleMyelomaIgHByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 162:
                result = new BCRABLByPCRResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 163:
                result = new Her2AmplificationByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 164:
                result = new MDSExtendedPanelByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 168:
                result = new AMLStandardByFishResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 169:
                result = new ChromosomeAnalysisForFetalAnomalyResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 170:
                result = new NonHodgkinsLymphomaFISHPanelResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 171:
                result = new Her2AmplificationByIHCResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 172:
                result = new EosinophiliaByFISHResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 173:
                result = new PlasmaCellMyelomaRiskStratificationResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 174:
                result = new NeoARRAYSNPCytogeneticProfileResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 175:
                result = new KRASExon4MutationResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 177:
                result = new BCellGeneRearrangementResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 178:
                result = new MYD88MutationAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 179:
                result = new NRASMutationAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 181:
                result = new CKITResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 183:
                result = new CysticFibrosisResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 184:
                result = new DeletionsForGlioma1p19qResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 185:
                result = new BladderCancerFISHUrovysionResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 186:
                result = new API2MALT1ResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 192:
                result = new ALLAdultByFISHResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 201:
                result = new IHCQCResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 203:
                result = new ReviewForAdditionalTestingResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 204:
                result = new ROS1ResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 212:
                result = new MissingInformationResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 214:
                result = new TechInitiatedPeripheralSmearResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 215:
                result = new PDL1ResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 217:
                result = new KRASExon23MutationResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 218:
                result = new RASRAFPanelResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 222:
                result = new BCellEnumerationResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;

            case 223:
                result = new TCellSubsetAnalysisResultPath(reportNo, accessionOrder, pageNavigator, window);
                break;
            }
            return(result);
        }