Skip to content

Commit 11d8477

Browse files
Steve Buxtonnhsd-angel-pastor
authored andcommitted
[ERSSUP-80437]-[AP]-[Add new attachment attributes to STU3 endpoints]-[SB]
1 parent cf435a1 commit 11d8477

28 files changed

+1965
-285
lines changed

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sandbox/src/mocks/stu3/retrieveAdviceAndGuidanceConversation/AttachmentPresentInEachDirection.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,13 @@
266266
"attachment": {
267267
"id": "70000",
268268
"extension": [
269+
{
270+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AvailabilityStatus-1",
271+
"valueCoding": {
272+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-AvailabilityStatus-1",
273+
"code": "AVAILABLE"
274+
}
275+
},
269276
{
270277
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedBy-1",
271278
"valueReference": {
@@ -274,6 +281,24 @@
274281
"value": "921600556514"
275282
}
276283
}
284+
},
285+
{
286+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedByOrganisation-1",
287+
"valueReference": {
288+
"identifier": {
289+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
290+
"value": "R69"
291+
}
292+
}
293+
},
294+
{
295+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedOnBehalfOf-1",
296+
"valueReference": {
297+
"identifier": {
298+
"system": "http://fhir.nhs.net/Id/sds-user-id",
299+
"value": "004377014925"
300+
}
301+
}
277302
}
278303
],
279304
"contentType": "application/pdf",
@@ -316,6 +341,13 @@
316341
"attachment": {
317342
"id": "70001",
318343
"extension": [
344+
{
345+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AvailabilityStatus-1",
346+
"valueCoding": {
347+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-AvailabilityStatus-1",
348+
"code": "AVAILABLE"
349+
}
350+
},
319351
{
320352
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedBy-1",
321353
"valueReference": {
@@ -324,6 +356,24 @@
324356
"value": "103264994981"
325357
}
326358
}
359+
},
360+
{
361+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedByOrganisation-1",
362+
"valueReference": {
363+
"identifier": {
364+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
365+
"value": "R69"
366+
}
367+
}
368+
},
369+
{
370+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedOnBehalfOf-1",
371+
"valueReference": {
372+
"identifier": {
373+
"system": "http://fhir.nhs.net/Id/sds-user-id",
374+
"value": "004377014925"
375+
}
376+
}
327377
}
328378
],
329379
"contentType": "application/pdf",

sandbox/src/mocks/stu3/retrieveAdviceAndGuidanceConversation/AttachmentUploadedFromRCS.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,13 @@
256256
"attachment": {
257257
"id": "70000",
258258
"extension": [
259+
{
260+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AvailabilityStatus-1",
261+
"valueCoding": {
262+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-AvailabilityStatus-1",
263+
"code": "AVAILABLE"
264+
}
265+
},
259266
{
260267
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedBy-1",
261268
"valueReference": {
@@ -264,6 +271,24 @@
264271
"value": "103264992985"
265272
}
266273
}
274+
},
275+
{
276+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedByOrganisation-1",
277+
"valueReference": {
278+
"identifier": {
279+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
280+
"value": "R69"
281+
}
282+
}
283+
},
284+
{
285+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedOnBehalfOf-1",
286+
"valueReference": {
287+
"identifier": {
288+
"system": "http://fhir.nhs.net/Id/sds-user-id",
289+
"value": "004377014925"
290+
}
291+
}
267292
}
268293
],
269294
"contentType": "image/png",

0 commit comments

Comments
 (0)