{
  "info": {
    "_postman_id": "137af427-8d0e-4ef1-831b-d7d222399148",
    "name": "Orion Health FHIR Alerts Audit 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:02.000Z",
    "updatedAt": "2026-07-28T02:29:02.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-137af427-8d0e-4ef1-831b-d7d222399148"
  },
  "item": [
    {
      "name": "audit-logs",
      "item": [
        {
          "name": "Orion Health Search audit logs",
          "id": "5ca9f2d6-32bd-4820-95df-007b01c883e9",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/audit-logs?patientId=<string>&userId=<string>&action=consent-change&dateFrom=<dateTime>&dateTo=<dateTime>&outcome=success&offset=0&limit=20",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "audit-logs"
              ],
              "query": [
                {
                  "key": "patientId",
                  "value": "<string>"
                },
                {
                  "key": "userId",
                  "value": "<string>"
                },
                {
                  "key": "action",
                  "value": "consent-change"
                },
                {
                  "key": "dateFrom",
                  "value": "<dateTime>"
                },
                {
                  "key": "dateTo",
                  "value": "<dateTime>"
                },
                {
                  "key": "outcome",
                  "value": "success"
                },
                {
                  "description": "Number of items to skip",
                  "key": "offset",
                  "value": "0"
                },
                {
                  "description": "Maximum number of items to return",
                  "key": "limit",
                  "value": "20"
                }
              ]
            },
            "description": "Search audit logs for data access and exchange events within the HIE network for compliance and accountability purposes."
          },
          "response": [
            {
              "id": "4569df67-b2c6-4df9-adae-9a83c9a5f442",
              "name": "Audit log entries",
              "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}}/audit-logs?patientId=<string>&userId=<string>&action=consent-change&dateFrom=<dateTime>&dateTo=<dateTime>&outcome=success&offset=0&limit=20",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "audit-logs"
                  ],
                  "query": [
                    {
                      "key": "patientId",
                      "value": "<string>"
                    },
                    {
                      "key": "userId",
                      "value": "<string>"
                    },
                    {
                      "key": "action",
                      "value": "consent-change"
                    },
                    {
                      "key": "dateFrom",
                      "value": "<dateTime>"
                    },
                    {
                      "key": "dateTo",
                      "value": "<dateTime>"
                    },
                    {
                      "key": "outcome",
                      "value": "success"
                    },
                    {
                      "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\": \"<uuid>\",\n      \"timestamp\": \"<dateTime>\",\n      \"action\": \"retrieve\",\n      \"outcome\": \"failure\",\n      \"patientId\": \"<string>\",\n      \"userId\": \"<string>\",\n      \"userName\": \"<string>\",\n      \"organization\": \"<string>\",\n      \"organizationName\": \"<string>\",\n      \"resourceType\": \"<string>\",\n      \"resourceId\": \"<string>\",\n      \"sourceIp\": \"<string>\",\n      \"details\": \"<string>\"\n    },\n    {\n      \"id\": \"<uuid>\",\n      \"timestamp\": \"<dateTime>\",\n      \"action\": \"consent-change\",\n      \"outcome\": \"denied\",\n      \"patientId\": \"<string>\",\n      \"userId\": \"<string>\",\n      \"userName\": \"<string>\",\n      \"organization\": \"<string>\",\n      \"organizationName\": \"<string>\",\n      \"resourceType\": \"<string>\",\n      \"resourceId\": \"<string>\",\n      \"sourceIp\": \"<string>\",\n      \"details\": \"<string>\"\n    }\n  ],\n  \"pagination\": {\n    \"offset\": \"<integer>\",\n    \"limit\": \"<integer>\",\n    \"total\": \"<integer>\",\n    \"hasMore\": \"<boolean>\"\n  }\n}",
              "createdAt": "2026-07-28T02:29:03.000Z",
              "updatedAt": "2026-07-28T02:29:03.000Z",
              "uid": "35240-4569df67-b2c6-4df9-adae-9a83c9a5f442"
            },
            {
              "id": "89df53db-8082-4cdd-ae5e-44d290a7649d",
              "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}}/audit-logs?patientId=<string>&userId=<string>&action=consent-change&dateFrom=<dateTime>&dateTo=<dateTime>&outcome=success&offset=0&limit=20",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "audit-logs"
                  ],
                  "query": [
                    {
                      "key": "patientId",
                      "value": "<string>"
                    },
                    {
                      "key": "userId",
                      "value": "<string>"
                    },
                    {
                      "key": "action",
                      "value": "consent-change"
                    },
                    {
                      "key": "dateFrom",
                      "value": "<dateTime>"
                    },
                    {
                      "key": "dateTo",
                      "value": "<dateTime>"
                    },
                    {
                      "key": "outcome",
                      "value": "success"
                    },
                    {
                      "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:03.000Z",
              "updatedAt": "2026-07-28T02:29:03.000Z",
              "uid": "35240-89df53db-8082-4cdd-ae5e-44d290a7649d"
            },
            {
              "id": "f451b0aa-08da-4fba-b31a-e3acd3ef2ea7",
              "name": "Insufficient permissions for audit access",
              "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}}/audit-logs?patientId=<string>&userId=<string>&action=consent-change&dateFrom=<dateTime>&dateTo=<dateTime>&outcome=success&offset=0&limit=20",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "audit-logs"
                  ],
                  "query": [
                    {
                      "key": "patientId",
                      "value": "<string>"
                    },
                    {
                      "key": "userId",
                      "value": "<string>"
                    },
                    {
                      "key": "action",
                      "value": "consent-change"
                    },
                    {
                      "key": "dateFrom",
                      "value": "<dateTime>"
                    },
                    {
                      "key": "dateTo",
                      "value": "<dateTime>"
                    },
                    {
                      "key": "outcome",
                      "value": "success"
                    },
                    {
                      "description": "Number of items to skip",
                      "key": "offset",
                      "value": "0"
                    },
                    {
                      "description": "Maximum number of items to return",
                      "key": "limit",
                      "value": "20"
                    }
                  ]
                }
              },
              "status": "Forbidden",
              "code": 403,
              "_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:03.000Z",
              "updatedAt": "2026-07-28T02:29:03.000Z",
              "uid": "35240-f451b0aa-08da-4fba-b31a-e3acd3ef2ea7"
            }
          ],
          "createdAt": "2026-07-28T02:29:03.000Z",
          "updatedAt": "2026-07-28T02:29:03.000Z",
          "uid": "35240-5ca9f2d6-32bd-4820-95df-007b01c883e9"
        }
      ],
      "id": "2512d621-c965-4f5a-abbe-6eb10dd6cd95",
      "createdAt": "2026-07-28T02:29:02.000Z",
      "updatedAt": "2026-07-28T02:29:02.000Z",
      "uid": "35240-2512d621-c965-4f5a-abbe-6eb10dd6cd95"
    }
  ],
  "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"
    }
  ]
}