recognise SIDs in validator

This commit is contained in:
Grahame Grieve 2019-11-17 03:10:58 +11:00
parent df2a378eb0
commit 2aacccd5bb
1 changed files with 4 additions and 0 deletions

View File

@ -1593,6 +1593,10 @@ public class ValidationEngine implements IValidatorResourceFetcher {
return true; // we don't bother with those. return true; // we don't bother with those.
if (context.fetchResource(Resource.class, url) != null) if (context.fetchResource(Resource.class, url) != null)
return true; return true;
if (Utilities.existsInList(url, "http://hl7.org/fhir/sid/us-ssn", "http://hl7.org/fhir/sid/cvx", "http://hl7.org/fhir/sid/ndc", "http://hl7.org/fhir/sid/us-npi",
"http://hl7.org/fhir/sid/icd-10-vn", "http://hl7.org/fhir/sid/icd-10-cm", "http://hl7.org/fhir/sid/icd-9-cm", "http://hl7.org/fhir/w5", "http://hl7.org/fhir/fivews", "http://hl7.org/fhir/workflow")) {
return true;
}
return false; return false;
} }