Skip to content

Commit 65440af

Browse files
NRL-1050 Only allow snomed category systems
1 parent 966d2d1 commit 65440af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layer/nrlf/core/validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def _validate_category(self, model: DocumentReference):
417417
return
418418

419419
coding = model.category[0].coding[0]
420-
if coding.system not in ["http://snomed.info/sct", "https://nicip.nhs.uk"]:
420+
if coding.system != "http://snomed.info/sct":
421421
self.result.add_error(
422422
issue_code="value",
423423
error_code="INVALID_RESOURCE",

0 commit comments

Comments
 (0)