From dab8c3fa2a47672c78e043824f34e7c60f576c61 Mon Sep 17 00:00:00 2001 From: piyush-at-eka Date: Wed, 8 Apr 2026 11:39:17 +0530 Subject: [PATCH 1/2] Add EMR user api's --- .../patient_directory.yml | 64 +++++++++---------- docs.json | 7 ++ 2 files changed, 39 insertions(+), 32 deletions(-) diff --git a/api-reference/doc-tool/patient-directory-apis/patient_directory.yml b/api-reference/doc-tool/patient-directory-apis/patient_directory.yml index 38623b5..8daec4d 100644 --- a/api-reference/doc-tool/patient-directory-apis/patient_directory.yml +++ b/api-reference/doc-tool/patient-directory-apis/patient_directory.yml @@ -676,43 +676,43 @@ paths: '500': description: Server error - # get: - # summary: Retrieve EMR user profile - # description: | - # Retrieves an EMR user profile by OID. + get: + summary: Retrieve EMR user profile + description: | + Retrieves an EMR user profile by OID. - # parameters: - # - in: header - # name: client-id - # required: true - # schema: - # type: string - # example: EC_1431 + parameters: + - in: header + name: client-id + required: true + schema: + type: string + example: EC_1431 - # - in: path - # name: oid - # required: true - # schema: - # type: string - # example: 18661861868168 + - in: path + name: oid + required: true + schema: + type: string + example: 18661861868168 - # security: - # - bearerAuth: [] + security: + - bearerAuth: [] - # responses: - # '200': - # description: EMR user profile details - # content: - # application/json: - # schema: - # $ref: '#/components/schemas/EmrUserProfile' + responses: + '200': + description: EMR user profile details + content: + application/json: + schema: + $ref: '#/components/schemas/EmrUserProfile' - # '404': - # description: Not found - # content: - # application/json: - # schema: - # $ref: '#/components/schemas/404Error' + '404': + description: Not found + content: + application/json: + schema: + $ref: '#/components/schemas/404Error' components: securitySchemes: bearerAuth: diff --git a/docs.json b/docs.json index 3893d34..988a742 100644 --- a/docs.json +++ b/docs.json @@ -363,6 +363,13 @@ "api-reference/doc-tool/patient-directory-apis/retrieve-patient-by-username" ] }, + { + "group": "EMR User APIs", + "pages": [ + "api-reference/doc-tool/patient-directory-apis/retrieve-emr-user", + "api-reference/doc-tool/patient-directory-apis/update-emr-user" + ] + }, { "group": "SDKs", "pages": [ From 4bfec44d8716f3a465da42de7f42a869d1e83ccb Mon Sep 17 00:00:00 2001 From: piyush-at-eka Date: Wed, 8 Apr 2026 11:41:27 +0530 Subject: [PATCH 2/2] Add EMR user api's --- .../doc-tool/patient-directory-apis/patient_directory.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/api-reference/doc-tool/patient-directory-apis/patient_directory.yml b/api-reference/doc-tool/patient-directory-apis/patient_directory.yml index 8daec4d..cbed41b 100644 --- a/api-reference/doc-tool/patient-directory-apis/patient_directory.yml +++ b/api-reference/doc-tool/patient-directory-apis/patient_directory.yml @@ -669,12 +669,6 @@ paths: application/json: schema: $ref: '#/components/schemas/400Error' - - '401': - description: Unauthorized - - '500': - description: Server error get: summary: Retrieve EMR user profile