Ejemplo n.º 1
0
  public void addGroupOwnership(StepsovcCase stepsovcCase) {
    Beneficiary beneficiary =
        allBeneficiaries.findBeneficiaryByCode(stepsovcCase.getBeneficiary_code());

    if (beneficiary != null) {
      commcareGateway.addGroupOwnership(
          populateBeneficiaryCase(stepsovcCase, beneficiary), stepsovcCase.getFacility_code());
    }
  }