Skip to content

Instantly share code, notes, and snippets.

@antonkazakov
Created August 30, 2018 09:43
Show Gist options
  • Save antonkazakov/a8fcb302f5f7f850a15de6599c305d3d to your computer and use it in GitHub Desktop.
Save antonkazakov/a8fcb302f5f7f850a15de6599c305d3d to your computer and use it in GitHub Desktop.
Patients
data class Patient(
val first: String,
val second: String,
val status: String
)
import java.util.Arrays;
import java.util.List;
public class Source {
public static List<Patient> getPatients() {
return Arrays.asList(
new Patient("Ada", "Wolf", "archived"),
new Patient("Ada", "Andrade", "in_treatment"),
new Patient("Adela", "Valdez", "in_treatment"),
new Patient("Adela", "Best", "archived"),
new Patient("Alden", "Singh", "archived"),
new Patient("Aldo", "Snow", "brand_new"),
new Patient("Alexandria", "Mcdonald", "brand_new"),
new Patient("Alfredo", "Landry", "archived"),
new Patient("Alisha", "Barr", "archived"),
new Patient("Allie", "Lambert", "brand_new")
);
}
}
val patients = listOf(
Patient("Ada", "Wolf", "archived"),
Patient("Ada", "Andrade", "in_treatment"),
Patient("Adela", "Valdez", "in_treatment"),
Patient("Adela", "Best", "archived"),
Patient("Alden", "Singh", "archived"),
Patient("Aldo", "Snow", "brand_new"),
Patient("Alexandria", "Mcdonald", "brand_new"),
Patient("Alfredo", "Landry", "archived"),
Patient("Alisha", "Barr", "archived"),
Patient("Allie", "Lambert", "brand_new")
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment