{
  "opencollection": "1.0.0",
  "info": {
    "name": "Oracle Health Millennium Platform FHIR R4 API",
    "version": "R4"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://authorization.cerner.com/tenants/{tenant}/protocols/oauth2/profiles/smart-v1/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Capability",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Capability Statement",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://fhir-ehr.cerner.com/r4/metadata"
          },
          "docs": "Returns the FHIR CapabilityStatement describing supported resources and operations."
        },
        {
          "info": {
            "name": "Read CapabilityStatement",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://fhir-ehr.cerner.com/r4/CapabilityStatement"
          },
          "docs": "Returns the CapabilityStatement resource for the FHIR server."
        }
      ]
    },
    {
      "info": {
        "name": "Condition",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search or Read Condition",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://fhir-ehr.cerner.com/r4/Condition",
            "params": [
              {
                "name": "patient",
                "value": "",
                "type": "query",
                "description": "Patient resource reference."
              }
            ]
          },
          "docs": "Search or read Condition resources for a patient."
        }
      ]
    },
    {
      "info": {
        "name": "Encounter",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search or Read Encounter",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://fhir-ehr.cerner.com/r4/Encounter",
            "params": [
              {
                "name": "patient",
                "value": "",
                "type": "query",
                "description": "Patient resource reference."
              }
            ]
          },
          "docs": "Search or read Encounter resources for a patient."
        }
      ]
    },
    {
      "info": {
        "name": "Patient",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search or Read Patient",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://fhir-ehr.cerner.com/r4/Patient",
            "params": [
              {
                "name": "identifier",
                "value": "",
                "type": "query",
                "description": "Patient identifier."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Patient name."
              }
            ]
          },
          "docs": "Search or read Patient resources."
        }
      ]
    },
    {
      "info": {
        "name": "Procedure",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search or Read Procedure",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://fhir-ehr.cerner.com/r4/Procedure",
            "params": [
              {
                "name": "patient",
                "value": "",
                "type": "query",
                "description": "Patient resource reference."
              }
            ]
          },
          "docs": "Search or read Procedure resources for a patient."
        }
      ]
    },
    {
      "info": {
        "name": "Definitions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search OperationDefinition",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://fhir-ehr.cerner.com/r4/OperationDefinition"
          },
          "docs": "Returns OperationDefinition resources defined for the server."
        },
        {
          "info": {
            "name": "Search StructureDefinition",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://fhir-ehr.cerner.com/r4/StructureDefinition"
          },
          "docs": "Returns StructureDefinition resources defined for the server."
        }
      ]
    },
    {
      "info": {
        "name": "Generic",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create FHIR Resource",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://fhir-ehr.cerner.com/r4/:resource",
            "params": [
              {
                "name": "resource",
                "value": "",
                "type": "path",
                "description": "The FHIR resource type (e.g., Observation, Condition)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new instance of the named FHIR resource type."
        },
        {
          "info": {
            "name": "Update FHIR Resource",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://fhir-ehr.cerner.com/r4/:resource/:id",
            "params": [
              {
                "name": "resource",
                "value": "",
                "type": "path",
                "description": "The FHIR resource type."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The FHIR resource ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing FHIR resource by ID."
        },
        {
          "info": {
            "name": "Patch FHIR Resource",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://fhir-ehr.cerner.com/r4/:resource/:id",
            "params": [
              {
                "name": "resource",
                "value": "",
                "type": "path",
                "description": "The FHIR resource type."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The FHIR resource ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Partially updates an existing FHIR resource by ID."
        }
      ]
    }
  ],
  "bundled": true
}