Skip to content

Commit 3afd966

Browse files
committed
NRL-746 fix typo
1 parent 929a121 commit 3afd966

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
@@ -440,7 +440,7 @@ def _validate_content_extension(self, model: DocumentReference):
440440
issue_code="value",
441441
error_code="INVALID_RESOURCE",
442442
diagnostics=f"Invalid content extension system: {content.extension[0].valueCodeableConcept.coding[0].system} Extension system must be 'https://fhir.nhs.uk/England/CodeSystem/England-NRLContentStability'",
443-
field=f"content[0].extension[0].valueCodeableConcept.coding[0].system",
443+
field=f"content[{i}].extension[0].valueCodeableConcept.coding[0].system",
444444
)
445445
return
446446

0 commit comments

Comments
 (0)