diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ResourceFilterUtil.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ResourceFilterUtil.java index 1166a5eea..8cc34ccaf 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ResourceFilterUtil.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ResourceFilterUtil.java @@ -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) {