We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 966d2d1 commit 281f34fCopy full SHA for 281f34f
layer/nrlf/core/validators.py
@@ -417,11 +417,11 @@ def _validate_category(self, model: DocumentReference):
417
return
418
419
coding = model.category[0].coding[0]
420
- if coding.system not in ["http://snomed.info/sct", "https://nicip.nhs.uk"]:
+ if coding.system != "http://snomed.info/sct":
421
self.result.add_error(
422
issue_code="value",
423
error_code="INVALID_RESOURCE",
424
- diagnostics=f"Invalid category system: {coding.system} Category system must be either 'http://snomed.info/sct' or 'https://nicip.nhs.uk'",
+ diagnostics=f"Invalid category system: {coding.system} Category system must be 'http://snomed.info/sct'",
425
field="category[0].coding[0].system",
426
)
427
0 commit comments