{
  "info": {
    "_postman_id": "b39ab445-d896-4e6d-91c4-496033ac013d",
    "name": "EPA UMV",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "18103090"
  },
  "item": [
    {
      "name": "subscription-notification Happy Path Copy",
      "request": {
        "auth": {
          "type": "oauth2",
          "oauth2": [
            {
              "key": "clientSecret",
              "value": "{{EPA_UM_CLEINT_SECRET}}",
              "type": "string"
            },
            {
              "key": "clientId",
              "value": "{{EPA_UM_CLIENT_ID}}",
              "type": "string"
            },
            {
              "key": "client_authentication",
              "value": "header",
              "type": "string"
            },
            {
              "key": "scope",
              "value": "{{EPA_UM_SCOPES}}",
              "type": "string"
            },
            {
              "key": "accessTokenUrl",
              "value": "{{SLAP_BASE_URL}}/slapv3/o/epa/token/",
              "type": "string"
            },
            {
              "key": "grant_type",
              "value": "client_credentials",
              "type": "string"
            },
            {
              "key": "addTokenTo",
              "value": "header",
              "type": "string"
            }
          ]
        },
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n    \"resourceType\": \"CommunicationRequest\",\r\n    \"id\": \"e39badf6-0233-4621-abea-cdf5402e34ce\",\r\n    \"status\": \"active\",\r\n    \"subject\": {\r\n        \"reference\": \"Patient/GEPatient-2\"\r\n    },\r\n    \"recipient\": [\r\n        {\r\n            \"reference\": \"Organization/Organization-EPA-00010\"\r\n        }\r\n    ],\r\n    \"basedOn\": [\r\n        {\r\n            \"reference\": \"Coverage/GECoverage-2\"\r\n        },\r\n        {\r\n            \"reference\": \"Claim/705beb3f-3cae-44ad-91ea-a6bf25c2b0d0\"\r\n        },\r\n        {\r\n            \"reference\": \"ClaimResponse/199d997d-9747-44ba-b0a9-af03849da334\"\r\n        }\r\n    ],\r\n    \"priority\": \"asap\",\r\n    \"payload\": [\r\n        {\r\n            \"contentString\": \"questionnaire\",\r\n            \"extension\": [\r\n                {\r\n                    \"url\": \"questionnaire\",\r\n                    \"valueCanonical\": \"https://api-dev.safhir.io/fhir/r4/Questionnaire/NebulizersOrder\"\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"category\": [\r\n        {\r\n            \"coding\": [\r\n                {\r\n                    \"system\": \"https://codesystem.x12.org/005010/755\",\r\n                    \"code\": \"86\",\r\n                    \"display\": \"Pended for Follow Up\"\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"meta\": {\r\n        \"versionId\": \"d26c6428-42bc-418f-9274-ceafa912f1a8\",\r\n        \"lastUpdated\": \"2025-01-06T13:18:25.089+00:00\"\r\n    }\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{FITE_BASE_URL}}/epa/subscription-notification",
          "host": [
            "{{FITE_BASE_URL}}"
          ],
          "path": [
            "epa",
            "subscription-notification"
          ]
        }
      },
      "response": [
        {
          "name": "subscription-notification Happy Path",
          "originalRequest": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"resourceType\": \"CommunicationRequest\",\r\n    \"id\": \"e39badf6-0233-4621-abea-cdf5402e34ce\",\r\n    \"status\": \"active\",\r\n    \"subject\": {\r\n        \"reference\": \"Patient/GEPatient-2\"\r\n    },\r\n    \"recipient\": [\r\n        {\r\n            \"reference\": \"Organization/Organization-EPA-00010\"\r\n        }\r\n    ],\r\n    \"basedOn\": [\r\n        {\r\n            \"reference\": \"Coverage/GECoverage-2\"\r\n        },\r\n        {\r\n            \"reference\": \"Claim/705beb3f-3cae-44ad-91ea-a6bf25c2b0d0\"\r\n        },\r\n        {\r\n            \"reference\": \"ClaimResponse/199d997d-9747-44ba-b0a9-af03849da334\"\r\n        }\r\n    ],\r\n    \"priority\": \"asap\",\r\n    \"payload\": [\r\n        {\r\n            \"contentString\": \"questionnaire\",\r\n            \"extension\": [\r\n                {\r\n                    \"url\": \"questionnaire\",\r\n                    \"valueCanonical\": \"https://api-dev.safhir.io/fhir/r4/Questionnaire/NebulizersOrder\"\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"category\": [\r\n        {\r\n            \"coding\": [\r\n                {\r\n                    \"system\": \"https://codesystem.x12.org/005010/755\",\r\n                    \"code\": \"86\",\r\n                    \"display\": \"Pended for Follow Up\"\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"meta\": {\r\n        \"versionId\": \"d26c6428-42bc-418f-9274-ceafa912f1a8\",\r\n        \"lastUpdated\": \"2025-01-06T13:18:25.089+00:00\"\r\n    }\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{FITE_BASE_URL}}/epa/subscription-notification",
              "host": [
                "{{FITE_BASE_URL}}"
              ],
              "path": [
                "epa",
                "subscription-notification"
              ]
            }
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": null,
          "header": [
            {
              "key": "Date",
              "value": "Thu, 13 Aug 2026 19:59:46 GMT"
            },
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            },
            {
              "key": "Content-Length",
              "value": "159"
            },
            {
              "key": "Connection",
              "value": "keep-alive"
            },
            {
              "key": "ETag",
              "value": "W/\"9f-4GdLNcV4XQ4L7cG07dvTHrZahvc\""
            },
            {
              "key": "Retry-After",
              "value": "0"
            },
            {
              "key": "Access-Control-Allow-Origin",
              "value": "*"
            },
            {
              "key": "Access-Control-Expose-Headers",
              "value": "Content-Type,X-Powered-By,Access-Control-Allow-Origin,x-correlation-id,ETag,Date,Server"
            },
            {
              "key": "Strict-Transport-Security",
              "value": "max-age=31536000; includeSubDomains; preload"
            },
            {
              "key": "X-Powered-By",
              "value": "Express"
            },
            {
              "key": "x-correlation-id",
              "value": "bf9cb76c-e726-404c-8f97-5d609755a606"
            },
            {
              "key": "X-RateLimit-Limit",
              "value": "1"
            },
            {
              "key": "X-RateLimit-Remaining",
              "value": "1"
            },
            {
              "key": "X-RateLimit-Reset",
              "value": "1786651187"
            }
          ],
          "cookie": [],
          "body": "{\n    \"resourceType\": \"OperationOutcome\",\n    \"issue\": [\n        {\n            \"severity\": \"information\",\n            \"code\": \"informational\",\n            \"diagnostics\": \"Resource ingested and EHR notified successfully\"\n        }\n    ]\n}"
        }
      ]
    }
  ]
}
