add icd-10 to known url list

This commit is contained in:
Grahame Grieve 2020-01-13 23:18:27 +11:00
parent 184e923c0c
commit 6840eb3133
1 changed files with 1 additions and 1 deletions

View File

@ -938,7 +938,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
return txRule(errors, s.getTxLink(), IssueType.CODEINVALID, element.line(), element.col(), path, s == null, s.getMessage()+" for '"+system+"#"+code+"'"); return txRule(errors, s.getTxLink(), IssueType.CODEINVALID, element.line(), element.col(), path, s == null, s.getMessage()+" for '"+system+"#"+code+"'");
return true; return true;
} else if (system.startsWith("http://hl7.org/fhir")) { } else if (system.startsWith("http://hl7.org/fhir")) {
if (Utilities.existsInList(system, "http://hl7.org/fhir/sid/icd-10", "http://hl7.org/fhir/sid/cvx", "http://hl7.org/fhir/sid/icd-10-cm","http://hl7.org/fhir/sid/icd-9","http://hl7.org/fhir/sid/ndc","http://hl7.org/fhir/sid/srt")) if (Utilities.existsInList(system, "http://hl7.org/fhir/sid/icd-10", "http://hl7.org/fhir/sid/cvx", "http://hl7.org/fhir/sid/icd-10","http://hl7.org/fhir/sid/icd-10-cm","http://hl7.org/fhir/sid/icd-9","http://hl7.org/fhir/sid/ndc","http://hl7.org/fhir/sid/srt"))
return true; // else don't check these (for now) return true; // else don't check these (for now)
else if (system.startsWith("http://hl7.org/fhir/test")) else if (system.startsWith("http://hl7.org/fhir/test"))
return true; // we don't validate these return true; // we don't validate these