Esempio n. 1
0
  @Override
  public ClinicalStatement populateNullFlavorClinicalStatement() {
    ProblemsModel problemsModel = new ProblemsModel(null);
    Observation observation = new Observation(x_ActMoodDocumentObservation.Eventoccurrence);

    observation.setId(problemsModel.getIds());
    observation.setCode(problemsModel.getCode());
    observation.setAuthor(problemsModel.getAuthor());

    return observation;
  }
Esempio n. 2
0
  @Override
  public List<String> populateText() {
    List<String> list = new ArrayList<String>();
    for (Dxresearch problem : problems) {
      if (problem.getCodingSystem().equals("icd9")) {
        ProblemsModel problemsModel = new ProblemsModel(problem);
        list.add(problemsModel.getTextSummary());
      }
    }

    return list;
  }
Esempio n. 3
0
  @Override
  public ClinicalStatement populateClinicalStatement(List<Dxresearch> problem) {
    ProblemsModel problemsModel = new ProblemsModel(problem.get(0));
    Observation observation = new Observation(x_ActMoodDocumentObservation.Eventoccurrence);
    ArrayList<EntryRelationship> entryRelationships = new ArrayList<EntryRelationship>();

    observation.setId(problemsModel.getIds());
    observation.setCode(problemsModel.getCode());
    observation.setText(problemsModel.getText());
    observation.setStatusCode(problemsModel.getStatusCode());
    observation.setEffectiveTime(problemsModel.getEffectiveTime());
    observation.setValue(problemsModel.getValue());
    observation.setAuthor(problemsModel.getAuthor());

    entryRelationships.add(problemsModel.getSecondaryCodeICD9());
    entryRelationships.add(problemsModel.getDiagnosisDate());

    observation.setEntryRelationship(entryRelationships);

    return observation;
  }