Exemplo 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;
  }
Exemplo n.º 2
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;
  }