Skip to content

Commit

Permalink
Temporarily disable validation check.
Browse files Browse the repository at this point in the history
  • Loading branch information
bstewartlg committed Jun 27, 2024
1 parent 4394db7 commit 15db7bd
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,16 +213,16 @@ public RepositoryValidatingInterceptor repositoryValidatingInterceptor(IValidati
String profileUrl = resourceTypeProfiles.get(key);
ruleBuilder
.forResourcesOfType(key)
.requireAtLeastProfile(profileUrl)
.and()
.requireValidationToDeclaredProfiles();
.requireAtLeastProfile(profileUrl);
// .and()
// .requireValidationToDeclaredProfiles();
}

ruleBuilder
.forResourcesOfType("Organization")
.requireAtLeastOneProfileOf("http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Organization", "http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Network")
.and()
.requireValidationToDeclaredProfiles();
.requireAtLeastOneProfileOf("http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Organization", "http://hl7.org/fhir/us/ndh/StructureDefinition/ndh-Network");
// .and()
// .requireValidationToDeclaredProfiles();

List<IRepositoryValidatingRule> rules = ruleBuilder.build();
return new RepositoryValidatingInterceptor(theFhirContext, rules);
Expand Down

0 comments on commit 15db7bd

Please sign in to comment.