Skip to content

Commit aeb9bdf

Browse files
author
Steve Buxton
committed
[ERSSUP-80437]-[]-[Add new attachment attributes to STU3 endpoints]-[SB]
1 parent 90279db commit aeb9bdf

29 files changed

+2302
-125
lines changed

poetry.lock

Lines changed: 4 additions & 4 deletions
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: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,17 @@
266266
"attachment": {
267267
"id": "70000",
268268
"extension": [
269+
{
270+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AvailabilityStatus-1",
271+
"valueCodeableConcept": {
272+
"coding": [
273+
{
274+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-AvailabilityStatus-1",
275+
"code": "AVAILABLE"
276+
}
277+
]
278+
}
279+
},
269280
{
270281
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedBy-1",
271282
"valueReference": {
@@ -274,6 +285,24 @@
274285
"value": "921600556514"
275286
}
276287
}
288+
},
289+
{
290+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedBy-Organisation-1",
291+
"valueReference": {
292+
"identifier": {
293+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
294+
"value": "R69"
295+
}
296+
}
297+
},
298+
{
299+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedOnBehalfOf-1",
300+
"valueReference": {
301+
"identifier": {
302+
"system": "http://fhir.nhs.net/Id/sds-user-id",
303+
"value": "004377014925"
304+
}
305+
}
277306
}
278307
],
279308
"contentType": "application/pdf",
@@ -316,6 +345,17 @@
316345
"attachment": {
317346
"id": "70001",
318347
"extension": [
348+
{
349+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AvailabilityStatus-1",
350+
"valueCodeableConcept": {
351+
"coding": [
352+
{
353+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-AvailabilityStatus-1",
354+
"code": "AVAILABLE"
355+
}
356+
]
357+
}
358+
},
319359
{
320360
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedBy-1",
321361
"valueReference": {
@@ -324,6 +364,24 @@
324364
"value": "103264994981"
325365
}
326366
}
367+
},
368+
{
369+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedBy-Organisation-1",
370+
"valueReference": {
371+
"identifier": {
372+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
373+
"value": "R69"
374+
}
375+
}
376+
},
377+
{
378+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedOnBehalfOf-1",
379+
"valueReference": {
380+
"identifier": {
381+
"system": "http://fhir.nhs.net/Id/sds-user-id",
382+
"value": "004377014925"
383+
}
384+
}
327385
}
328386
],
329387
"contentType": "application/pdf",

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

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,17 @@
256256
"attachment": {
257257
"id": "70000",
258258
"extension": [
259+
{
260+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AvailabilityStatus-1",
261+
"valueCodeableConcept": {
262+
"coding": [
263+
{
264+
"system": "https://fhir.nhs.uk/STU3/CodeSystem/eRS-AvailabilityStatus-1",
265+
"code": "AVAILABLE"
266+
}
267+
]
268+
}
269+
},
259270
{
260271
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedBy-1",
261272
"valueReference": {
@@ -264,6 +275,24 @@
264275
"value": "103264992985"
265276
}
266277
}
278+
},
279+
{
280+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedBy-Organisation-1",
281+
"valueReference": {
282+
"identifier": {
283+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
284+
"value": "R69"
285+
}
286+
}
287+
},
288+
{
289+
"url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedOnBehalfOf-1",
290+
"valueReference": {
291+
"identifier": {
292+
"system": "http://fhir.nhs.net/Id/sds-user-id",
293+
"value": "004377014925"
294+
}
295+
}
267296
}
268297
],
269298
"contentType": "image/png",

0 commit comments

Comments
 (0)