Skip to content

Commit 1db9b70

Browse files
committed
NRL-474 update model and tests
1 parent 0e4a8ee commit 1db9b70

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

api/producer/swagger.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,6 +1383,7 @@ components:
13831383
- resourceType
13841384
- status
13851385
- content
1386+
- author
13861387
Bundle:
13871388
type: object
13881389
properties:

layer/nrlf/consumer/fhir/r4/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: swagger.yaml
3-
# timestamp: 2024-10-28T10:30:48+00:00
3+
# timestamp: 2024-11-04T11:43:16+00:00
44

55
from __future__ import annotations
66

layer/nrlf/core/tests/test_validators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,8 +685,8 @@ def test_validate_author_system_invalid():
685685
"coding": [
686686
{
687687
"system": "https://fhir.nhs.uk/ValueSet/Spine-ErrorOrWarningCode-1",
688-
"code": "INVALID_RESOURCE",
689-
"display": "Invalid validation of resource",
688+
"code": "INVALID_IDENTIFIER_SYSTEM",
689+
"display": "Invalid identifier system",
690690
}
691691
]
692692
},

0 commit comments

Comments
 (0)