Skip to content

Commit eb5bf00

Browse files
NRL-1554 Replace NDR for LDR (Large Document Repository)
1 parent a34691d commit eb5bf00

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

api/consumer/swagger.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,11 +1015,11 @@ components:
10151015
- "https://fhir.nhs.uk/England/CodeSystem/England-RetrievalMechanism"
10161016
code:
10171017
type: string
1018-
enum: ["SSP", "Direct", "NDR"]
1018+
enum: ["SSP", "Direct", "LDR"]
10191019
display:
10201020
type: string
10211021
enum:
1022-
["Spine Secure Proxy", "National Document Repository", "Direct"]
1022+
["Spine Secure Proxy", "Large Document Repository", "Direct"]
10231023
required:
10241024
- system
10251025
- code

api/producer/swagger.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,11 +1671,11 @@ components:
16711671
- "https://fhir.nhs.uk/England/CodeSystem/England-RetrievalMechanism"
16721672
code:
16731673
type: string
1674-
enum: ["SSP", "Direct", "NDR"]
1674+
enum: ["SSP", "Direct", "LDR"]
16751675
display:
16761676
type: string
16771677
enum:
1678-
["Spine Secure Proxy", "National Document Repository", "Direct"]
1678+
["Spine Secure Proxy", "Large Document Repository", "Direct"]
16791679
required:
16801680
- system
16811681
- code

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: swagger.yaml
3-
# timestamp: 2025-08-14T08:25:07+00:00
3+
# timestamp: 2025-08-26T08:20:24+00:00
44

55
from __future__ import annotations
66

@@ -242,8 +242,8 @@ class ContentStabilityExtensionCoding(Coding):
242242

243243
class RetrievalMechanismExtensionCoding(Coding):
244244
system: Literal["https://fhir.nhs.uk/England/CodeSystem/England-RetrievalMechanism"]
245-
code: Literal["SSP", "Direct", "NDR"]
246-
display: Literal["Spine Secure Proxy", "National Document Repository", "Direct"]
245+
code: Literal["SSP", "Direct", "LDR"]
246+
display: Literal["Spine Secure Proxy", "Large Document Repository", "Direct"]
247247

248248

249249
class NRLFormatCode(Coding):

layer/nrlf/core/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ def coding_value(self):
687687
CONTENT_RETRIEVAL_CODE_MAP = {
688688
"Direct": "Direct",
689689
"SSP": "Spine Secure Proxy",
690-
"NDR": "National Document Repository",
690+
"LDR": "Large Document Repository",
691691
}
692692
CONTENT_FORMAT_CODE_URL = "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode"
693693
CONTENT_FORMAT_CODE_MAP = {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: swagger.yaml
3-
# timestamp: 2025-08-14T08:25:03+00:00
3+
# timestamp: 2025-08-26T08:20:20+00:00
44

55
from __future__ import annotations
66

@@ -286,8 +286,8 @@ class ContentStabilityExtensionCoding(Coding):
286286

287287
class RetrievalMechanismExtensionCoding(Coding):
288288
system: Literal["https://fhir.nhs.uk/England/CodeSystem/England-RetrievalMechanism"]
289-
code: Literal["SSP", "Direct", "NDR"]
290-
display: Literal["Spine Secure Proxy", "National Document Repository", "Direct"]
289+
code: Literal["SSP", "Direct", "LDR"]
290+
display: Literal["Spine Secure Proxy", "Large Document Repository", "Direct"]
291291

292292

293293
class NRLFormatCode(Coding):

layer/nrlf/producer/fhir/r4/strict_model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: swagger.yaml
3-
# timestamp: 2025-08-14T08:25:05+00:00
3+
# timestamp: 2025-08-26T08:20:22+00:00
44

55
from __future__ import annotations
66

@@ -257,8 +257,8 @@ class ContentStabilityExtensionCoding(Coding):
257257

258258
class RetrievalMechanismExtensionCoding(Coding):
259259
system: Literal["https://fhir.nhs.uk/England/CodeSystem/England-RetrievalMechanism"]
260-
code: Literal["SSP", "Direct", "NDR"]
261-
display: Literal["Spine Secure Proxy", "National Document Repository", "Direct"]
260+
code: Literal["SSP", "Direct", "LDR"]
261+
display: Literal["Spine Secure Proxy", "Large Document Repository", "Direct"]
262262

263263

264264
class NRLFormatCode(Coding):

resources/fhir/NRLF-Retrieval-CodeSystem.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
"definition": "This document can be retrieved via Spine Secure Proxy by authorised organisations. The custodian's ASID will be needed and can be found in the context.related field."
5454
},
5555
{
56-
"code": "NDR",
57-
"display": "National Document Repository",
58-
"definition": "This document can be retrieved via the National Document Repository proxy service."
56+
"code": "LDR",
57+
"display": "Large Document Repository",
58+
"definition": "This document can be retrieved via the Large Document Repository proxy service."
5959
}
6060
]
6161
}

resources/fhir/NRLF-RetrievalMechanism-ValueSet.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"display": "Spine Secure Proxy"
3232
},
3333
{
34-
"code": "NDR",
35-
"display": "National Document Repository"
34+
"code": "LDR",
35+
"display": "Large Document Repository"
3636
}
3737
]
3838
}

0 commit comments

Comments
 (0)