Kodjin Fhir API

The Fhir API from Kodjin — 11 operation(s) for fhir.

Operations 11

POST /fhir/$apply-fhirpath POST /fhir/$apply-fhirpath #
POST /fhir/$reindex POST /fhir/$reindex #
GET /fhir/$versions GET /fhir/$versions #
GET /fhir/Composition/46745318-dbf3-4a2c-b70a-6d4ea85ee7fb/$document GET /fhir/Composition/46745318-dbf3-4a2c-b70a-6d4ea85ee7fb/$document #
GET /fhir/DocumentReference/a11b21f6-1ac7-ca23-1ba2-a021f6532a5d GET /fhir/DocumentReference/a11b21f6-1ac7-ca23-1ba2-a021f6532a5d #
POST /fhir/Patient/$validate POST /fhir/Patient/$validate #
GET /fhir/Patient/8a215a7f-2428-45fd-9ed2-88ec672d5158/$summary GET /fhir/Patient/8a215a7f-2428-45fd-9ed2-88ec672d5158/$summary #
PATCH /fhir/Patient/ac5b5b83-8c6a-43c9-98cd-0ce842b888ad PATCH /fhir/Patient/ac5b5b83-8c6a-43c9-98cd-0ce842b888ad #
GET /fhir/Patient/{patientid} Example -Request #
GET /fhir/reindex/{reindexid} GET /fhir/reindex/38955c06-3496-441b-8731-c2827b3a2f2f #
GET /fhir/{fhirid} FHIR Search Operations #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kodjin:kodjin-fhir-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

kodjin-fhir-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kodjin Fhir API
  version: '2026-10-14'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-14: 17 operation(s) read from 18 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; Kodjin has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 21
    documentation: -4
    pages-with-code: 16
    pages-read: 18
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-14'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.kodjin.com/kodjin-restful-api
  - https://docs.kodjin.com/uscdi_v3/onc-kodjin-restful-api
  - https://docs.kodjin.com/uscdi_v3/uscdi-clinical-notes-document-reference
  - https://docs.kodjin.com/uscdi_v3/app-client-registration
  - https://docs.kodjin.com/uscdi_v3/uscdi-observation-clinical-result
  - https://docs.kodjin.com/operation-resource-reindex
  - https://docs.kodjin.com/uscdi_v3/uscdi-clinical-tests-diagnostic-report
  - https://docs.kodjin.com/coded_data_types
  - https://docs.kodjin.com/authentication-authorization
  - https://docs.kodjin.com/smart-on-fhir-authorization
  - https://docs.kodjin.com/kodjin-search
  - https://docs.kodjin.com/versioning
  - https://docs.kodjin.com/everything-on-patient
  - https://docs.kodjin.com/operation-validate
  - https://docs.kodjin.com/operation-document
  - https://docs.kodjin.com/operation-apply-fhirpath
  - https://docs.kodjin.com/opeation-versions
  - https://docs.kodjin.com/operation-ips
servers:
- url: https://sandbox.fhir.elationemr.com
security:
- bearer: []
tags:
- name: FHIR
paths:
  /fhir/$apply-fhirpath:
    post:
      operationId: post_fhir_apply_fhirpath
      tags:
      - FHIR
      summary: POST /fhir/$apply-fhirpath
      x-source: https://docs.kodjin.com/operation-apply-fhirpath
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostFhirApplyFhirpathRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --location 'https://fhir.example.com/fhir/$apply-fhirpath'  --header 'Content-Type: application/json'  --header 'Cookie: cookie=e3f7cd66a576cbfa; session=T8mHJ0uxnck9Qb3q8qmSnA|1689349873|FATFY_uwswuASoOeva3amj_3czw'  --data '{\n \"ResourceType\": \"Parameters\",\n \"parameter\": [\n {\n \"name\": \"fhirPath\",\n \"valueString\": \"(Medication.ingredient.isActive=true and Medication.ingredient.strength.exists("
  /fhir/$reindex:
    post:
      operationId: post_fhir_reindex
      tags:
      - FHIR
      summary: POST /fhir/$reindex
      x-source: https://docs.kodjin.com/operation-resource-reindex
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostFhirReindexRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --location 'https://fhir.example.com/fhir/$reindex'  --header 'Content-Type: application/json'  --data '{\n \"resourceType\": \"Parameters\",\n \"parameter\": [\n {\n \"name\": \"resourceType\",\n \"valueString\": \"Patient\"\n }\n ]\n }'\n {\n \"parameter\": [\n {\n \"name\": \"id\",\n \"valueString\": \"38955c06-3496-441b-8731-c2827b3a2f2f\"\n },\n {\n \"name\": \"insertedAt\",\n \"valueString\": \"2025-04-01T11:46:02.735482335+00:00\"\n }"
  /fhir/$versions:
    get:
      operationId: get_fhir_versions
      tags:
      - FHIR
      summary: GET /fhir/$versions
      x-source: https://docs.kodjin.com/opeation-versions
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetFhirVersionsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --location --request GET 'https://fhir.example.com/fhir/$versions'  {\n \"parameter\": [\n {\n \"name\": \"version\",\n \"valueCode\": \"4.0\"\n },\n {\n \"name\": \"default\",\n \"valueCode\": \"4.0\"\n }\n ],\n \"resourceType\": \"Parameters\"\n }\n Try operation $versions with our Kodjin FHIR Server Postman Collection \n Back to top\n © EDENLAB. ALL RIGHTS RESERVED, 2021 - 2024\n powered by\n MkDocs \n and\n Material for MkDocs"
  /fhir/Composition/46745318-dbf3-4a2c-b70a-6d4ea85ee7fb/$document:
    get:
      operationId: get_fhir_Composition_46745318_dbf3_4a2c_b70a_6d4ea85ee7fb_document
      tags:
      - FHIR
      summary: GET /fhir/Composition/46745318-dbf3-4a2c-b70a-6d4ea85ee7fb/$document
      x-source: https://docs.kodjin.com/operation-document
      parameters:
      - name: persist
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --location --request GET 'https://fhir.example.com/fhir/Composition/46745318-dbf3-4a2c-b70a-6d4ea85ee7fb/$document?persist=true'  Try operation $document with our Kodjin FHIR Server Postman Collection \n Back to top\n © EDENLAB. ALL RIGHTS RESERVED, 2021 - 2024\n powered by\n MkDocs \n and\n Material for MkDocs"
  /fhir/DocumentReference/a11b21f6-1ac7-ca23-1ba2-a021f6532a5d:
    get:
      operationId: get_fhir_DocumentReference_a11b21f6_1ac7_ca23_1ba2_a021f6532a5d
      tags:
      - FHIR
      summary: GET /fhir/DocumentReference/a11b21f6-1ac7-ca23-1ba2-a021f6532a5d
      x-source: https://docs.kodjin.com/uscdi_v3/uscdi-clinical-notes-document-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --location --request GET 'https://sandbox.fhir.elationemr.com/fhir/DocumentReference/a11b21f6-1ac7-ca23-1ba2-a021f6532a5d'  --header 'Authorization: Bearer fe1cd986-1ac7-4c26-b8b3-d632a48408fd'\n DocumentReference By patient \n Search for All DocumentReference by a specific patient. \n METHOD GET \n GET [base url]/DocumentReference?patient={Type/}[id]\n PARAMS \n [base url] - FHIR base url \n {Type/"
  /fhir/Patient/$validate:
    post:
      operationId: post_fhir_Patient_validate
      tags:
      - FHIR
      summary: POST /fhir/Patient/$validate
      x-source: https://docs.kodjin.com/operation-validate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostFhirPatientValidateRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --location --request POST 'https://fhir.example.com/fhir/Patient/$validate'  --header 'Content-Type: application/json'  --data-raw '{\n \"resourceType\": \"Patient\",\n \"id\": \"b095f89f-bf9c-4583-a1df-2fa0fd7a9d21\",\n \"meta\": {\n \"source\": \"b095f89f-bf9c-4583-a1df-2fa0fd7a9d21\",\n \"versionId\": \"1\",\n \"lastUpdated\": \"2022-09-20T07:47:49.390+00:00\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"syst"
  /fhir/Patient/8a215a7f-2428-45fd-9ed2-88ec672d5158/$summary:
    get:
      operationId: get_fhir_Patient_8a215a7f_2428_45fd_9ed2_88ec672d5158_summary
      tags:
      - FHIR
      summary: GET /fhir/Patient/8a215a7f-2428-45fd-9ed2-88ec672d5158/$summary
      x-source: https://docs.kodjin.com/operation-ips
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetFhirPatient8A215A7F242845Fd9Ed288Ec672D5158SummaryRespons'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --location 'https://fhir.example.com/fhir/Patient/8a215a7f-2428-45fd-9ed2-88ec672d5158/$summary'\n {\n \"resourceType\": \"Bundle\",\n \"type\": \"document\",\n \"entry\": [\n {\n \"fullUrl\": \"urn:uuid:1efba9cd-4059-42df-a6f9-a197221020b8\",\n \"resource\": {\n \"resourceType\": \"Composition\",\n \"id\": \"1efba9cd-4059-42df-a6f9-a197221020b8\",\n \"author\": [\n {\n \"reference\": \"Organization/kodjin\"\n }\n ],\n \"date\": \"2024-04-"
  /fhir/Patient/ac5b5b83-8c6a-43c9-98cd-0ce842b888ad:
    patch:
      operationId: patch_fhir_Patient_ac5b5b83_8c6a_43c9_98cd_0ce842b888ad
      tags:
      - FHIR
      summary: PATCH /fhir/Patient/ac5b5b83-8c6a-43c9-98cd-0ce842b888ad
      x-source: https://docs.kodjin.com/kodjin-restful-api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                type: object
                properties:
                  op:
                    type: string
                  path:
                    type: string
                  value:
                    type: array
                    items: {}
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --location --request PATCH 'https://fhir.example.com/fhir/Patient/ac5b5b83-8c6a-43c9-98cd-0ce842b888ad'  --header 'content-type: application/json-patch+json'  --data-raw '[\n { \"op\": \"add\", \"path\": \"/address\", \"value\":[]},\n { \"op\": \"add\", \"path\": \"/address/0\", \"value\":\n {\n \"use\" : \"home\",\n \"line\" : [\"23 thule st\",\"avon\"],\n \"city\" : \"Springfield\",\n \"country\" : \"USA\",\n \"text\":\"23 thule st\"\n }\n }"
  /fhir/Patient/{patientid}:
    get:
      operationId: get_fhir_Patient_patientid
      tags:
      - FHIR
      summary: Example -Request
      x-source: https://docs.kodjin.com/smart-on-fhir-authorization
      parameters:
      - name: patientid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
        collapsed_from: 2 example path(s) differing only at patientId
  /fhir/reindex/{reindexid}:
    get:
      operationId: get_fhir_reindex_reindexid
      tags:
      - FHIR
      summary: GET /fhir/reindex/38955c06-3496-441b-8731-c2827b3a2f2f
      x-source: https://docs.kodjin.com/operation-resource-reindex
      parameters:
      - name: reindexid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --location --request GET 'https://fhir.example.com/fhir/reindex/38955c06-3496-441b-8731-c2827b3a2f2f' \n }\n {\n \"parameter\": [\n {\n \"name\": \"id\",\n \"valueString\": \"38955c06-3496-441b-8731-c2827b3a2f2f\"\n },\n {\n \"name\": \"insertedAt\",\n \"valueString\": \"2025-04-01T11:46:02.735+00:00\"\n },\n {\n \"name\": \"updatedAt\",\n \"valueString\": \"2025-04-01T11:46:14.718+00:00\"\n },\n {\n \"name\": \"status\",\n \"valueString\": "
        collapsed_from: 3 example path(s) differing only at reindexId
  /fhir/{fhirid}:
    get:
      operationId: get_fhir_fhirid
      tags:
      - FHIR
      summary: FHIR Search Operations
      description: Search operation to fetch Condition resources. The response is a Bundle of resources or an OperationOutcome.
      x-source: https://docs.kodjin.com/kodjin-search
      parameters:
      - name: fhirid
        in: path
        required: true
        schema:
          type: string
      - name: patient
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
        collapsed_from: 5 example path(s) differing only at fhirId
components:
  schemas:
    PostFhirPatientValidateRequest:
      type: object
      properties:
        resourceType:
          type: string
        id:
          type: string
        meta:
          type: object
          properties:
            source:
              type: string
            versionId:
              type: string
            lastUpdated:
              type: string
              format: date-time
        identifier:
          type: array
          items:
            type: object
            properties:
              type:
                type: object
                properties:
                  coding:
                    type: array
                    items:
                      type: object
                      properties:
                        system:
                          type: string
                        code:
                          type: string
                        display:
                          type: string
              system:
                type: string
              value:
                type: string
        active:
          type: boolean
        name:
          type: array
          items:
            type: object
            properties:
              use:
                type: string
              text:
                type: string
              family:
                type: string
              given:
                type: array
                items:
                  type: string
        telecom:
          type: array
          items:
            type: object
            properties:
              system:
                type: string
              value:
                type: string
              use:
                type: string
        gender:
          type: string
        birthDate:
          type: string
          format: date
        managingOrganization:
          type: object
          properties:
            reference:
              type: string
    GetFhirPatient8A215A7F242845Fd9Ed288Ec672D5158SummaryRespons:
      type: object
      properties:
        reference:
          type: string
    PostFhirReindexRequest:
      type: object
      properties:
        resourceType:
          type: string
        parameter:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              valueString:
                type: string
    GetFhirVersionsResponse:
      type: object
      properties:
        parameter:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              valueCode:
                type: string
        resourceType:
          type: string
    PostFhirApplyFhirpathRequest:
      type: object
      properties:
        ResourceType:
          type: string
        parameter:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              valueString:
                type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer