Skip to content

Commit

Permalink
Refactor: Reduce duplicate code by having ResourceFilterUtil delegate (
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianclay authored Oct 19, 2023
1 parent f95e007 commit bbffd50
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ public static boolean isDocumentReference(RCMRMT030101UK04NarrativeStatement nar
}

public static boolean isBloodPressure(RCMRMT030101UK04CompoundStatement compoundStatement) {
return compoundStatement != null && BATTERY_VALUE.equals(compoundStatement.getClassCode().get(0))
&& BloodPressureValidatorUtil.containsValidBloodPressureTriple(compoundStatement);
return compoundStatement != null && BloodPressureValidatorUtil.isBloodPressureWithBatteryAndBloodPressureTriple(compoundStatement);
}

public static boolean isAllergyIntolerance(RCMRMT030101UK04CompoundStatement compoundStatement) {
Expand Down

0 comments on commit bbffd50

Please sign in to comment.