{
  "info": {
    "_postman_id": "f1b1f50a-e537-4c56-989b-b381442ef5ff",
    "name": "TEFCA Gateway API",
    "description": "REST API for Trusted Exchange Framework and Common Agreement (TEFCA) workflows.\nSupports inbound/outbound IHE XCPD patient discovery and IHE XCA document/resource queries\nwith GPID-stamped identity resolution. Network directory endpoints are public read.\n\nParker Apex routes outbound TEFCA exchange through **KONZA Health**, our designated QHIN partner\n(Designated December 12, 2023). Resolve KONZA's organization OID via GET /tefca/directory.\n",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{access_token}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://api.parkerapex.com",
      "type": "string"
    },
    {
      "key": "access_token",
      "value": "REPLACE_WITH_TOKEN",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "XCPD",
      "item": [
        {
          "name": "Inbound patient discovery",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/tefca/xcpd/discover",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "tefca",
                "xcpd",
                "discover"
              ]
            },
            "description": "Handle inbound XCPD patient discovery from an external QHIN participant.",
            "body": {
              "mode": "raw",
              "raw": "{}"
            }
          }
        },
        {
          "name": "Outbound patient discovery",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/tefca/xcpd/search",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "tefca",
                "xcpd",
                "search"
              ]
            },
            "description": "Search for a patient at an external QHIN using Parker GPID and optional demographics.",
            "body": {
              "mode": "raw",
              "raw": "{}"
            }
          }
        },
        {
          "name": "(Deprecated) Patient discovery alias",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/tefca/v1/patient-discovery",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "tefca",
                "v1",
                "patient-discovery"
              ]
            },
            "description": "Deprecated \u2014 use POST /tefca/xcpd/search (outbound) or POST /tefca/xcpd/discover (inbound).\nSunset 2026-09-12.\n",
            "body": {
              "mode": "raw",
              "raw": "{}"
            }
          }
        }
      ]
    },
    {
      "name": "XCA",
      "item": [
        {
          "name": "Inbound resource query",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/tefca/xca/query",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "tefca",
                "xca",
                "query"
              ]
            },
            "description": "Handle inbound XCA query from an external QHIN for FHIR resources by GPID.",
            "body": {
              "mode": "raw",
              "raw": "{}"
            }
          }
        },
        {
          "name": "Outbound resource query",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/tefca/xca/search",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "tefca",
                "xca",
                "search"
              ]
            },
            "description": "Query an external QHIN for patient resources by GPID.",
            "body": {
              "mode": "raw",
              "raw": "{}"
            }
          }
        },
        {
          "name": "(Deprecated) Document query alias",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/tefca/v1/document-query",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "tefca",
                "v1",
                "document-query"
              ]
            },
            "description": "Deprecated \u2014 use POST /tefca/xca/search (outbound) or POST /tefca/xca/query (inbound).\nSunset 2026-09-12.\n",
            "body": {
              "mode": "raw",
              "raw": "{}"
            }
          }
        },
        {
          "name": "(Deprecated) Directed exchange alias",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/tefca/v1/directed-exchange",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "tefca",
                "v1",
                "directed-exchange"
              ]
            },
            "description": "Deprecated \u2014 use KONZA Health Direct messaging via network directory endpoints. Sunset 2026-09-12.",
            "body": {
              "mode": "raw",
              "raw": "{}"
            }
          }
        }
      ]
    },
    {
      "name": "Directory",
      "item": [
        {
          "name": "List QHIN network partners",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/tefca/directory",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "tefca",
                "directory"
              ]
            },
            "description": "Public directory of active QHIN participants and capability flags."
          }
        },
        {
          "name": "Get QHIN partner details",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/tefca/directory/{oid}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "tefca",
                "directory",
                "{oid}"
              ]
            },
            "description": ""
          }
        }
      ]
    }
  ]
}