{
  "opencollection": "1.0.0",
  "info": {
    "name": "ModMed Certified Observation 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": "Observation",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "read-instance: Read Observation instance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://fhirmp.mmi.prod.fhir.ema-api.com/fhir/r4/Observation/:id",
            "params": [
              {
                "name": "id",
                "value": "123",
                "type": "path",
                "description": "The resource ID"
              }
            ]
          },
          "docs": "read-instance: Read Observation instance"
        },
        {
          "info": {
            "name": "search-type: Search for Observation instances",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://fhirmp.mmi.prod.fhir.ema-api.com/fhir/r4/Observation",
            "params": [
              {
                "name": "_id",
                "value": "",
                "type": "query",
                "description": "The ID of the resource"
              },
              {
                "name": "category",
                "value": "",
                "type": "query",
                "description": "The classification of the type of observation"
              },
              {
                "name": "code",
                "value": "",
                "type": "query",
                "description": "The code of the observation type"
              },
              {
                "name": "date",
                "value": "",
                "type": "query",
                "description": "Obtained date/time. If the obtained element is a period, a date that falls in the period"
              },
              {
                "name": "patient",
                "value": "",
                "type": "query",
                "description": "The subject that the observation is about (if patient)"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "The status of the observation"
              }
            ]
          },
          "docs": "This is a search type"
        }
      ]
    }
  ],
  "bundled": true
}