com.imsweb.algorithms.AlgorithmOutput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of algorithms Show documentation
Show all versions of algorithms Show documentation
Java implementation of cancer-related algorithms (NHIA, NAPIIA, Survival Time, etc...)
The newest version!
/*
* Copyright (C) 2019 Information Management Services, Inc.
*/
package com.imsweb.algorithms;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static com.imsweb.algorithms.Algorithms.FIELD_TUMORS;
/**
* Abstraction of the "output" that an algorithm produces when executed.
*/
public class AlgorithmOutput {
public static AlgorithmOutput of(Map patient) {
AlgorithmOutput output = new AlgorithmOutput();
output.setPatient(patient);
return output;
}
public static AlgorithmOutput of(List