MedAdvisor Config API

The Config API from MedAdvisor — 2 operation(s) for config.

Operations 2

GET /api/v1/config/demographicRules Retrieve Demographic Rules Details #
GET /api/v1/config/precursorInstructions Retrieve Demographic Rules Details #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/medadvisor-config-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

medadvisor-config-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1
  title: Pharmacy Unified API v1.0 Config API
servers:
- url: https://pharmacy-unified.api.medadvisor.com.au
tags:
- name: Config
paths:
  /api/v1/config/demographicRules:
    get:
      tags:
      - Config
      summary: Retrieve Demographic Rules Details
      operationId: Config_RetrieveDemographicRules
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.DemoRuleSetResult'
            text/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.DemoRuleSetResult'
            application/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.DemoRuleSetResult'
            text/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.DemoRuleSetResult'
      security:
      - Bearer: []
  /api/v1/config/precursorInstructions:
    get:
      tags:
      - Config
      summary: Retrieve Demographic Rules Details
      operationId: Config_RetrievePrecursorInstructionMappings
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.InstructionAbstractionResult'
            text/json:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.InstructionAbstractionResult'
            application/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.InstructionAbstractionResult'
            text/xml:
              schema:
                $ref: '#/components/schemas/MedAdvisor.Framework.Interface.InstructionAbstractionResult'
      security:
      - Bearer: []
components:
  schemas:
    MedAdvisor.Framework.Interface.DemoRuleSet:
      type: object
      properties:
        demoRuleSetRowId:
          format: int64
          type: integer
        programName:
          type: string
        selectionEngine:
          type: string
        minimumAge:
          format: int32
          type: integer
        maximumAge:
          format: int32
          type: integer
        gender:
          type: string
        includeNoAge:
          type: boolean
        includeNoGender:
          type: boolean
        hash:
          type: string
        createDate:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
    MedAdvisor.Framework.Interface.InstructionAbstraction:
      type: object
      properties:
        id:
          format: int32
          type: integer
        rawInstructions:
          type: string
        translatedInstructions:
          type: string
        quantityPerDose:
          format: double
          type: number
        dosesPerDay:
          format: double
          type: number
        usagePerDay:
          format: double
          type: number
        deterministic:
          type: boolean
        translationStatus:
          type: boolean
        daysSupplyOverride:
          format: int32
          type: integer
        live:
          type: boolean
        nonContOverride:
          type: string
    MedAdvisor.Framework.Interface.DemoRuleSetResult:
      type: object
      properties:
        demoRuleSet:
          type: array
          items:
            $ref: '#/components/schemas/MedAdvisor.Framework.Interface.DemoRuleSet'
        result:
          format: int32
          type: integer
        resultMessage:
          type: string
    MedAdvisor.Framework.Interface.InstructionAbstractionResult:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/MedAdvisor.Framework.Interface.InstructionAbstraction'
        result:
          format: int32
          type: integer
        resultMessage:
          type: string
  securitySchemes:
    Bearer:
      type: apiKey
      description: 'JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"'
      name: Authorization
      in: header