Skip to content

Commit

Permalink
Update WebSiteLayoutRulesProviders.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdzel authored Feb 11, 2025
1 parent 635dc77 commit cbfa1c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public boolean checkNpmId(List<ValidationMessage> res) {
if ("eu".equals(parts[1])) {
ok = check(res, Utilities.existsInList(parts[2], "fhir"), "Package Id '"+id+"' is not valid: must start with hl7.eu.fhir.[code]") && ok;
} else {
ok = check(res, Utilities.existsInList(parts[1], "fhir", "xprod", "cda", "ehr"), "Package Id '"+id+"' is not valid: must start with hl7.fhir.[realm].[code], hl7.cda.[realm].[code], hl7.ehrs.[realm].[code] or hl7.xprod.[realm].[code]") && ok;
ok = check(res, Utilities.existsInList(parts[1], "fhir", "xprod", "cda", "ehrs"), "Package Id '"+id+"' is not valid: must start with hl7.fhir.[realm].[code], hl7.cda.[realm].[code], hl7.ehrs.[realm].[code] or hl7.xprod.[realm].[code]") && ok;
}
return ok;
}
Expand Down

0 comments on commit cbfa1c3

Please sign in to comment.