{
  "opencollection": "1.0.0",
  "info": {
    "name": "ModMed Certified Condition API",
    "version": "4.1-SNAPSHOT"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://fhirmp.mmi.prod.fhir.ema-api.com/fhir/r4/auth/realms/fhir/protocol/openid-connect/auth",
      "accessTokenUrl": "https://fhirmp.mmi.prod.fhir.ema-api.com/fhir/r4/auth/realms/fhir/protocol/openid-connect/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Condition",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "read-instance: Read Condition instance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://fhirmp.mmi.prod.fhir.ema-api.com/fhir/r4/Condition/:id",
            "params": [
              {
                "name": "id",
                "value": "123",
                "type": "path",
                "description": "The resource ID"
              }
            ]
          },
          "docs": "read-instance: Read Condition instance"
        },
        {
          "info": {
            "name": "search-type: Search for Condition instances",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://fhirmp.mmi.prod.fhir.ema-api.com/fhir/r4/Condition",
            "params": [
              {
                "name": "_id",
                "value": "",
                "type": "query",
                "description": "The ID of the resource"
              },
              {
                "name": "category",
                "value": "",
                "type": "query",
                "description": "The category of the condition"
              },
              {
                "name": "clinical-status",
                "value": "",
                "type": "query",
                "description": "The clinical status of the condition"
              },
              {
                "name": "code",
                "value": "",
                "type": "query",
                "description": "Code for the condition"
              },
              {
                "name": "encounter",
                "value": "",
                "type": "query",
                "description": "Encounter created as part of"
              },
              {
                "name": "onset-date",
                "value": "",
                "type": "query",
                "description": "Date related onsets (dateTime and Period)"
              },
              {
                "name": "patient",
                "value": "",
                "type": "query",
                "description": "Who has the condition?"
              },
              {
                "name": "recorded-date",
                "value": "",
                "type": "query",
                "description": "Date record was first recorded"
              }
            ]
          },
          "docs": "This is a search type"
        }
      ]
    }
  ],
  "bundled": true
}