File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -409,7 +409,7 @@ Feature: Producer - createDocumentReference - Failure Scenarios
409409
410410 Scenario : Invalid format code for attachment type contact details
411411 Given the application 'DataShare' (ID 'z00z-y11y-x22x' ) is registered to access the API
412- And the organisation 'X26 ' is authorised to access pointer types:
412+ And the organisation 'TSTCUS ' is authorised to access pointer types:
413413 | system | value |
414414 | http ://snomed .info /sct | 1363501000000100 |
415415 | http ://snomed .info /sct | 736253002 |
@@ -455,7 +455,7 @@ Feature: Producer - createDocumentReference - Failure Scenarios
455455
456456 Scenario : Invalid format code for attachment type pdf
457457 Given the application 'DataShare' (ID 'z00z-y11y-x22x' ) is registered to access the API
458- And the organisation 'X26 ' is authorised to access pointer types:
458+ And the organisation 'TSTCUS ' is authorised to access pointer types:
459459 | system | value |
460460 | http ://snomed .info /sct | 1363501000000100 |
461461 | http ://snomed .info /sct | 736253002 |
Original file line number Diff line number Diff line change @@ -33,7 +33,12 @@ def create_test_document_reference(items: dict) -> DocumentReference:
3333 attachment = Attachment (
3434 contentType = items .get ("contentType" , "application/json" ),
3535 url = items ["url" ],
36- )
36+ ),
37+ format = Coding (
38+ system = "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode" ,
39+ code = "urn:nhs-ic:unstructured" ,
40+ display = "Unstructured document" ,
41+ ),
3742 )
3843 ],
3944 context = DocumentReferenceContext (
You can’t perform that action at this time.
0 commit comments