Merge pull request #641 from hapifhir/gg-202111-fix-probablility

fix typo
This commit is contained in:
Grahame Grieve 2021-11-03 13:39:29 +11:00 committed by GitHub
commit bd6739f26e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5386,7 +5386,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
// waiting for 4.0.2 // waiting for 4.0.2
//TODO is this expression below correct? @grahamegrieve //TODO is this expression below correct? @grahamegrieve
if ("probability is decimal implies (probability as decimal) <= 100".equals(expr)) { if ("probability is decimal implies (probability as decimal) <= 100".equals(expr)) {
return "probablility.empty() or ((probability is decimal) implies ((probability as decimal) <= 100))"; return "probability.empty() or ((probability is decimal) implies ((probability as decimal) <= 100))";
} }
if ("enableWhen.count() > 2 implies enableBehavior.exists()".equals(expr)) { if ("enableWhen.count() > 2 implies enableBehavior.exists()".equals(expr)) {
return "enableWhen.count() >= 2 implies enableBehavior.exists()"; return "enableWhen.count() >= 2 implies enableBehavior.exists()";