drchrono · Schema

InventoryVaccine

EHRElectronic Health RecordsHealthcareMedical RecordsPractice ManagementHIPAAAppointmentsBillingPrescriptionsLab IntegrationFHIR

Properties

Name Type Description
category integer ID of `/api/inventory_categories`
lot_number string
manufacturer_code string
name string
original_quantity integer Default to zero
doctor integer
created_at string
status string Status of vaccine, could be one of `active`, `inactive`, `archived`, `voided`, default to `active`
updated_at string
price_with_tax number
expiry string When will the vaccine expire
note string
sales_tax_applicable boolean Is sales tax applicable to this service/product? Default to false
cost number Base cost for consumables.
price number
vaccination_type string Default to `"standard vaccine"`
id integer
manufacturer string
current_quantity integer This field can onlyu be changed by creating new patient vaccine record. Current quantity of an inventory vaccine is calculated by subtract number of records pointing to this inventory from the origina
cvx_code string
View JSON Schema on GitHub

JSON Schema

inventoryvaccine.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/drchrono/json-schema/inventoryvaccine.json",
  "title": "InventoryVaccine",
  "required": [
    "doctor",
    "name",
    "manufacturer_code"
  ],
  "type": "object",
  "properties": {
    "category": {
      "type": "integer",
      "description": "ID of `/api/inventory_categories`",
      "title": "Category"
    },
    "lot_number": {
      "type": "string",
      "description": "",
      "title": "Lot number"
    },
    "manufacturer_code": {
      "type": "string",
      "description": "",
      "title": "Manufacturer code"
    },
    "name": {
      "type": "string",
      "description": "",
      "title": "Name"
    },
    "original_quantity": {
      "type": "integer",
      "description": "Default to zero",
      "title": "Original quantity"
    },
    "doctor": {
      "type": "integer",
      "description": "",
      "title": "Doctor"
    },
    "created_at": {
      "readOnly": true,
      "type": "string",
      "description": "",
      "title": "Created at"
    },
    "status": {
      "enum": [
        "active",
        "inactive",
        "archived",
        "voided"
      ],
      "type": "string",
      "description": "Status of vaccine, could be one of `active`, `inactive`, `archived`, `voided`, default to `active`",
      "title": "Status"
    },
    "updated_at": {
      "readOnly": true,
      "type": "string",
      "description": "",
      "title": "Updated at"
    },
    "price_with_tax": {
      "type": "number",
      "description": "",
      "title": "Price with tax"
    },
    "expiry": {
      "type": "string",
      "description": "When will the vaccine expire",
      "title": "Expiry"
    },
    "note": {
      "type": "string",
      "description": "",
      "title": "Note"
    },
    "sales_tax_applicable": {
      "type": "boolean",
      "description": "Is sales tax applicable to this service/product? Default to false",
      "title": "Sales tax applicable"
    },
    "cost": {
      "type": "number",
      "description": "Base cost for consumables.",
      "title": "Cost"
    },
    "price": {
      "type": "number",
      "description": "",
      "title": "Price"
    },
    "vaccination_type": {
      "type": "string",
      "description": "Default to `\"standard vaccine\"`",
      "title": "Vaccination type"
    },
    "id": {
      "readOnly": true,
      "type": "integer",
      "description": "",
      "title": "ID"
    },
    "manufacturer": {
      "type": "string",
      "description": "",
      "title": "Manufacturer"
    },
    "current_quantity": {
      "readOnly": true,
      "type": "integer",
      "description": "This field can onlyu be changed by creating new patient vaccine record. Current quantity of an inventory vaccine is calculated by subtract number of records pointing to this inventory from the original quantity value.",
      "title": "Current quantity"
    },
    "cvx_code": {
      "type": "string",
      "description": "",
      "title": "Cvx code"
    }
  },
  "x-verbose-required": []
}