File tree Expand file tree Collapse file tree 3 files changed +43
-3
lines changed
infrastructure/swagger/swagger-fhir-generator-definitions
src/api/tests/feature_tests/steps Expand file tree Collapse file tree 3 files changed +43
-3
lines changed Original file line number Diff line number Diff line change @@ -680,6 +680,38 @@ paths:
680680 application/fhir+json :
681681 schema :
682682 $ref : " #/components/schemas/OperationOutcome"
683+ /Questionnaire/{questionnaire_id} :
684+ get :
685+ operationId : readQuestionnaire
686+ summary : readQuestionnaire endpoint for APIGEE integration
687+ parameters :
688+ - name : questionnaire_id
689+ in : path
690+ required : true
691+ description : logical identifier
692+ schema :
693+ type : string
694+ - in : header
695+ name : version
696+ schema :
697+ $ref : " #/components/schemas/Version"
698+ - in : header
699+ name : x-request-id
700+ schema :
701+ $ref : " #/components/schemas/RequestId"
702+ - in : header
703+ name : x-correlation-id
704+ schema :
705+ $ref : " #/components/schemas/CorrelationId"
706+ responses :
707+ " 200 " :
708+ $ref : " #/components/responses/Questionnaire"
709+ " 4XX " :
710+ description : " Client Error"
711+ content :
712+ application/fhir+json :
713+ schema :
714+ $ref : " #/components/schemas/OperationOutcome"
683715components :
684716 requestBodies :
685717 Device :
@@ -2754,6 +2786,15 @@ components:
27542786 app-level0 :
27552787 $ref : https://proxygen.prod.api.platform.nhs.uk/components/securitySchemes/app-level0
27562788 responses :
2789+ Questionnaire :
2790+ description : Questionnaire response body
2791+ content :
2792+ application/json :
2793+ schema :
2794+ type : object
2795+ properties :
2796+ tbc :
2797+ type : string
27572798 ProductTeamResponse :
27582799 description : Read Product Team operation successful
27592800 content :
@@ -2817,5 +2858,3 @@ components:
28172858 type : string
28182859 updated_on :
28192860 type : string
2820- deleted_on :
2821- type : string
Original file line number Diff line number Diff line change 99# RESTful API "Instance Level" or "Type Level" interactions
1010# described in https://hl7.org/fhir/r4b/http.html
1111
12- Device : [create, read, search ]
12+ Device : [create, read]
1313Product : [read]
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ def get_endpoint_lambda_mapping() -> ENDPOINT_LAMBDA_MAPPING:
4949 "ProductTeam/{product_team_id}/Product/{product_id}" : api .readCpmProduct .index ,
5050 "ProductTeam/{product_team_id}/Product/{product_id}/DeviceReferenceData/{device_reference_data_id}" : api .readDeviceReferenceData .index ,
5151 "Device/{id}" : api .readDevice .index ,
52+ "Questionnaire/{questionnaire_id}" : api .readQuestionnaire .index ,
5253 "_status" : api .status .index ,
5354 },
5455 "DELETE" : {
You can’t perform that action at this time.
0 commit comments