{
  "info": {
    "_postman_id": "12fcc379-b654-4bc8-95a2-04b39e22c810",
    "name": "Orion Health FHIR Alerts Message Queues API",
    "description": "The Orion Health FHIR API provides standards-based access to healthcare data using the HL7 FHIR (Fast Healthcare Interoperability Resources) specification. It enables healthcare organizations to read, search, create, and update clinical resources including patients, encounters, observations, conditions, medications, allergies, procedures, diagnostic reports, and care plans. The API conforms to FHIR R4 (v4.0.1) and supports both JSON and XML representations.\n\nContact Support:\n Name: Orion Health API Support\n Email: apisupport@orionhealth.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:29:21.000Z",
    "updatedAt": "2026-07-28T02:29:21.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-12fcc379-b654-4bc8-95a2-04b39e22c810"
  },
  "item": [
    {
      "name": "queues",
      "item": [
        {
          "name": "{queueId}",
          "item": [
            {
              "name": "messages",
              "item": [
                {
                  "name": "Orion Health List messages in a queue",
                  "id": "03f6eaad-eaca-457e-b02a-97bc5b44cb68",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/queues/:queueId/messages?status=error&offset=0&limit=20",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "queues",
                        ":queueId",
                        "messages"
                      ],
                      "query": [
                        {
                          "key": "status",
                          "value": "error"
                        },
                        {
                          "description": "Number of items to skip",
                          "key": "offset",
                          "value": "0"
                        },
                        {
                          "description": "Maximum number of items to return",
                          "key": "limit",
                          "value": "20"
                        }
                      ],
                      "variable": [
                        {
                          "id": "95b71cfe-f7b3-4072-a490-eef911c0f090",
                          "key": "queueId",
                          "value": "<integer>",
                          "description": "(Required) "
                        }
                      ]
                    },
                    "description": "Retrieve messages currently held in a specific queue."
                  },
                  "response": [
                    {
                      "id": "b349e6e2-e5c4-4189-aae3-37ff939bf7fa",
                      "name": "List of messages",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/queues/:queueId/messages?status=error&offset=0&limit=20",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "queues",
                            ":queueId",
                            "messages"
                          ],
                          "query": [
                            {
                              "key": "status",
                              "value": "error"
                            },
                            {
                              "description": "Number of items to skip",
                              "key": "offset",
                              "value": "0"
                            },
                            {
                              "description": "Maximum number of items to return",
                              "key": "limit",
                              "value": "20"
                            }
                          ],
                          "variable": [
                            {
                              "key": "queueId"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"data\": [\n    {\n      \"id\": \"<integer>\",\n      \"messageType\": \"<string>\",\n      \"status\": \"processed\",\n      \"routeId\": \"<integer>\",\n      \"routeName\": \"<string>\",\n      \"receivedAt\": \"<dateTime>\",\n      \"processedAt\": \"<dateTime>\",\n      \"size\": \"<integer>\",\n      \"errorMessage\": \"<string>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"messageType\": \"<string>\",\n      \"status\": \"queued\",\n      \"routeId\": \"<integer>\",\n      \"routeName\": \"<string>\",\n      \"receivedAt\": \"<dateTime>\",\n      \"processedAt\": \"<dateTime>\",\n      \"size\": \"<integer>\",\n      \"errorMessage\": \"<string>\"\n    }\n  ],\n  \"pagination\": {\n    \"offset\": \"<integer>\",\n    \"limit\": \"<integer>\",\n    \"total\": \"<integer>\",\n    \"hasMore\": \"<boolean>\"\n  }\n}",
                      "createdAt": "2026-07-28T02:29:22.000Z",
                      "updatedAt": "2026-07-28T02:29:22.000Z",
                      "uid": "35240-b349e6e2-e5c4-4189-aae3-37ff939bf7fa"
                    },
                    {
                      "id": "57b3c081-a1e8-4b52-9c5a-6af84c28f409",
                      "name": "Authentication required",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/queues/:queueId/messages?status=error&offset=0&limit=20",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "queues",
                            ":queueId",
                            "messages"
                          ],
                          "query": [
                            {
                              "key": "status",
                              "value": "error"
                            },
                            {
                              "description": "Number of items to skip",
                              "key": "offset",
                              "value": "0"
                            },
                            {
                              "description": "Maximum number of items to return",
                              "key": "limit",
                              "value": "20"
                            }
                          ],
                          "variable": [
                            {
                              "key": "queueId"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"<string>\",\n  \"message\": \"<string>\",\n  \"details\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                      "createdAt": "2026-07-28T02:29:22.000Z",
                      "updatedAt": "2026-07-28T02:29:22.000Z",
                      "uid": "35240-57b3c081-a1e8-4b52-9c5a-6af84c28f409"
                    },
                    {
                      "id": "486285c8-bb5e-47de-b184-0ad152489533",
                      "name": "Resource not found",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/queues/:queueId/messages?status=error&offset=0&limit=20",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "queues",
                            ":queueId",
                            "messages"
                          ],
                          "query": [
                            {
                              "key": "status",
                              "value": "error"
                            },
                            {
                              "description": "Number of items to skip",
                              "key": "offset",
                              "value": "0"
                            },
                            {
                              "description": "Maximum number of items to return",
                              "key": "limit",
                              "value": "20"
                            }
                          ],
                          "variable": [
                            {
                              "key": "queueId"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"<string>\",\n  \"message\": \"<string>\",\n  \"details\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                      "createdAt": "2026-07-28T02:29:22.000Z",
                      "updatedAt": "2026-07-28T02:29:22.000Z",
                      "uid": "35240-486285c8-bb5e-47de-b184-0ad152489533"
                    }
                  ],
                  "createdAt": "2026-07-28T02:29:22.000Z",
                  "updatedAt": "2026-07-28T02:29:22.000Z",
                  "uid": "35240-03f6eaad-eaca-457e-b02a-97bc5b44cb68"
                }
              ],
              "id": "3ca9afd4-70de-4ff3-b0e3-792ae19cde37",
              "createdAt": "2026-07-28T02:29:21.000Z",
              "updatedAt": "2026-07-28T02:29:21.000Z",
              "uid": "35240-3ca9afd4-70de-4ff3-b0e3-792ae19cde37"
            },
            {
              "name": "Orion Health Get queue details",
              "id": "707885c7-30a1-4a8e-b0a0-da1ad4b9da9d",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/queues/:queueId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "queues",
                    ":queueId"
                  ],
                  "variable": [
                    {
                      "id": "23bf7704-ea4c-41f1-98e0-23935ef120b2",
                      "key": "queueId",
                      "value": "<integer>",
                      "description": "(Required) "
                    }
                  ]
                },
                "description": "Retrieve details of a specific message queue."
              },
              "response": [
                {
                  "id": "11693a62-228e-451f-b0af-580eb06cbd82",
                  "name": "Queue details",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: oauth2",
                        "key": "Authorization",
                        "value": "<token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/queues/:queueId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "queues",
                        ":queueId"
                      ],
                      "variable": [
                        {
                          "key": "queueId"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"id\": \"<integer>\",\n  \"name\": \"<string>\",\n  \"routeId\": \"<integer>\",\n  \"routeName\": \"<string>\",\n  \"depth\": \"<integer>\",\n  \"errorCount\": \"<integer>\",\n  \"heldCount\": \"<integer>\",\n  \"maxDepth\": \"<integer>\",\n  \"oldestMessageTime\": \"<dateTime>\",\n  \"averageWaitTimeMs\": \"<number>\",\n  \"throughputPerSecond\": \"<number>\"\n}",
                  "createdAt": "2026-07-28T02:29:22.000Z",
                  "updatedAt": "2026-07-28T02:29:22.000Z",
                  "uid": "35240-11693a62-228e-451f-b0af-580eb06cbd82"
                },
                {
                  "id": "334ed6e7-cc6f-4cfd-988e-0c5534467173",
                  "name": "Authentication required",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: oauth2",
                        "key": "Authorization",
                        "value": "<token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/queues/:queueId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "queues",
                        ":queueId"
                      ],
                      "variable": [
                        {
                          "key": "queueId"
                        }
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"code\": \"<string>\",\n  \"message\": \"<string>\",\n  \"details\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T02:29:22.000Z",
                  "updatedAt": "2026-07-28T02:29:22.000Z",
                  "uid": "35240-334ed6e7-cc6f-4cfd-988e-0c5534467173"
                },
                {
                  "id": "037aa9d7-f885-421f-80ed-0b4ed9b798e0",
                  "name": "Resource not found",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: oauth2",
                        "key": "Authorization",
                        "value": "<token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/queues/:queueId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "queues",
                        ":queueId"
                      ],
                      "variable": [
                        {
                          "key": "queueId"
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"code\": \"<string>\",\n  \"message\": \"<string>\",\n  \"details\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T02:29:22.000Z",
                  "updatedAt": "2026-07-28T02:29:22.000Z",
                  "uid": "35240-037aa9d7-f885-421f-80ed-0b4ed9b798e0"
                }
              ],
              "createdAt": "2026-07-28T02:29:22.000Z",
              "updatedAt": "2026-07-28T02:29:22.000Z",
              "uid": "35240-707885c7-30a1-4a8e-b0a0-da1ad4b9da9d"
            }
          ],
          "id": "bffbdabf-8ce1-4cf9-bde2-a3273bf749a6",
          "createdAt": "2026-07-28T02:29:21.000Z",
          "updatedAt": "2026-07-28T02:29:21.000Z",
          "uid": "35240-bffbdabf-8ce1-4cf9-bde2-a3273bf749a6"
        },
        {
          "name": "Orion Health List message queues",
          "id": "f225453b-d15d-4793-8eb7-02a68d2a10d8",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/queues?routeId=<integer>&hasErrors=<boolean>&offset=0&limit=20",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "queues"
              ],
              "query": [
                {
                  "description": "Filter by route ID",
                  "key": "routeId",
                  "value": "<integer>"
                },
                {
                  "description": "Only show queues with errors",
                  "key": "hasErrors",
                  "value": "<boolean>"
                },
                {
                  "description": "Number of items to skip",
                  "key": "offset",
                  "value": "0"
                },
                {
                  "description": "Maximum number of items to return",
                  "key": "limit",
                  "value": "20"
                }
              ]
            },
            "description": "Retrieve all message queues in the Rhapsody engine with their current depth and status."
          },
          "response": [
            {
              "id": "208b9b93-1ac4-4690-b5f7-1ebcb34fa11c",
              "name": "List of message queues",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: oauth2",
                    "key": "Authorization",
                    "value": "<token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/queues?routeId=<integer>&hasErrors=<boolean>&offset=0&limit=20",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "queues"
                  ],
                  "query": [
                    {
                      "description": "Filter by route ID",
                      "key": "routeId",
                      "value": "<integer>"
                    },
                    {
                      "description": "Only show queues with errors",
                      "key": "hasErrors",
                      "value": "<boolean>"
                    },
                    {
                      "description": "Number of items to skip",
                      "key": "offset",
                      "value": "0"
                    },
                    {
                      "description": "Maximum number of items to return",
                      "key": "limit",
                      "value": "20"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"routeId\": \"<integer>\",\n      \"routeName\": \"<string>\",\n      \"depth\": \"<integer>\",\n      \"errorCount\": \"<integer>\",\n      \"heldCount\": \"<integer>\",\n      \"oldestMessageTime\": \"<dateTime>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"name\": \"<string>\",\n      \"routeId\": \"<integer>\",\n      \"routeName\": \"<string>\",\n      \"depth\": \"<integer>\",\n      \"errorCount\": \"<integer>\",\n      \"heldCount\": \"<integer>\",\n      \"oldestMessageTime\": \"<dateTime>\"\n    }\n  ],\n  \"pagination\": {\n    \"offset\": \"<integer>\",\n    \"limit\": \"<integer>\",\n    \"total\": \"<integer>\",\n    \"hasMore\": \"<boolean>\"\n  }\n}",
              "createdAt": "2026-07-28T02:29:22.000Z",
              "updatedAt": "2026-07-28T02:29:22.000Z",
              "uid": "35240-208b9b93-1ac4-4690-b5f7-1ebcb34fa11c"
            },
            {
              "id": "f5dde9f9-a13e-40ed-bddf-eca1ba6af281",
              "name": "Authentication required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: oauth2",
                    "key": "Authorization",
                    "value": "<token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/queues?routeId=<integer>&hasErrors=<boolean>&offset=0&limit=20",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "queues"
                  ],
                  "query": [
                    {
                      "description": "Filter by route ID",
                      "key": "routeId",
                      "value": "<integer>"
                    },
                    {
                      "description": "Only show queues with errors",
                      "key": "hasErrors",
                      "value": "<boolean>"
                    },
                    {
                      "description": "Number of items to skip",
                      "key": "offset",
                      "value": "0"
                    },
                    {
                      "description": "Maximum number of items to return",
                      "key": "limit",
                      "value": "20"
                    }
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"code\": \"<string>\",\n  \"message\": \"<string>\",\n  \"details\": [\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    },\n    {\n      \"field\": \"<string>\",\n      \"message\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T02:29:22.000Z",
              "updatedAt": "2026-07-28T02:29:22.000Z",
              "uid": "35240-f5dde9f9-a13e-40ed-bddf-eca1ba6af281"
            }
          ],
          "createdAt": "2026-07-28T02:29:22.000Z",
          "updatedAt": "2026-07-28T02:29:22.000Z",
          "uid": "35240-f225453b-d15d-4793-8eb7-02a68d2a10d8"
        }
      ],
      "id": "e35b0152-c65f-44e7-a4b6-4f1fafe93d58",
      "createdAt": "2026-07-28T02:29:21.000Z",
      "updatedAt": "2026-07-28T02:29:21.000Z",
      "uid": "35240-e35b0152-c65f-44e7-a4b6-4f1fafe93d58"
    }
  ],
  "auth": {
    "type": "oauth2",
    "oauth2": [
      {
        "key": "scope",
        "value": "patient/*.read patient/*.write patient/Patient.read patient/Observation.read patient/Condition.read patient/MedicationRequest.read launch openid fhirUser",
        "type": "string"
      },
      {
        "key": "accessTokenUrl",
        "value": "https://auth.orionhealth.com/oauth2/token",
        "type": "string"
      },
      {
        "key": "authUrl",
        "value": "https://auth.orionhealth.com/oauth2/authorize",
        "type": "string"
      },
      {
        "key": "grant_type",
        "value": "authorization_code",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.orionhealth.com/fhir"
    }
  ]
}