I’m loading the
Soldier@0s.json patient file, and I’d like to extract data from it programmatically (e.g. the patient’s age).
This code (Java) doesn’t work:
boolean success = this.pulseEngine.serializeFromFile("isaac-pulse.log", patientStateFile, dataRequests); this.pulseEngine.patient.getSex();
The issue is that the sex is null, even though it is defined in the patient file. (The patient is not null, but every field in it is null.) Is there a way to get this data populated in the patient data structures? Or maybe it should be and I’m doing something else wrong?