Advertisement
Kool_Cool

medicationAdditionalInfoSchema

Sep 9th, 2024
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 6.95 KB | None | 0 0
  1. {
  2.     "status": "ok",
  3.     "data": {
  4.         "dosage": {
  5.             "type": "string",
  6.             "input_type": "text",
  7.             "current_value": "",
  8.             "placeholder": "Enter dosage",
  9.             "description": "The dosage of the medication in mg or other units",
  10.             "required": false,
  11.             "show_info": false
  12.         },
  13.         "unit": {
  14.             "type": "string",
  15.             "input_type": "select",
  16.             "current_value": "",
  17.             "placeholder": "Select unit",
  18.             "options": [
  19.                 {
  20.                     "value": "mg",
  21.                     "label": "Milligram (mg)"
  22.                 },
  23.                 {
  24.                     "value": "g",
  25.                     "label": "Gram (g)"
  26.                 },
  27.                 {
  28.                     "value": "ml",
  29.                     "label": "Milliliter (ml)"
  30.                 },
  31.                 {
  32.                     "value": "L",
  33.                     "label": "Liter (L)"
  34.                 },
  35.                 {
  36.                     "value": "mcg",
  37.                     "label": "Microgram (mcg)"
  38.                 },
  39.                 {
  40.                     "value": "units",
  41.                     "label": "Units"
  42.                 },
  43.                 {
  44.                     "value": "drops",
  45.                     "label": "Drops"
  46.                 },
  47.                 {
  48.                     "value": "tablets",
  49.                     "label": "Tablets"
  50.                 },
  51.                 {
  52.                     "value": "capsules",
  53.                     "label": "Capsules"
  54.                 },
  55.                 {
  56.                     "value": "inhalations",
  57.                     "label": "Inhalations"
  58.                 },
  59.                 {
  60.                     "value": "patches",
  61.                     "label": "Patches"
  62.                 },
  63.                 {
  64.                     "value": "grams",
  65.                     "label": "Grams (g)"
  66.                 }
  67.             ],
  68.             "description": "The unit of measurement for the dosage",
  69.             "required": false,
  70.             "show_info": false
  71.         },
  72.         "adherence": {
  73.             "type": "string",
  74.             "input_type": "text",
  75.             "current_value": "",
  76.             "placeholder": "Enter adherence level (e.g., High, Medium, Low)",
  77.             "description": "The level of adherence to the medication schedule",
  78.             "required": false,
  79.             "show_info": false
  80.         },
  81.         "frequency": {
  82.             "type": "string",
  83.             "input_type": "select",
  84.             "current_value": "",
  85.             "placeholder": "Select frequency",
  86.             "options": [
  87.                 {
  88.                     "value": "daily",
  89.                     "label": "Daily"
  90.                 },
  91.                 {
  92.                     "value": "twice-daily",
  93.                     "label": "Twice Daily"
  94.                 },
  95.                 {
  96.                     "value": "three-times-daily",
  97.                     "label": "Three Times Daily"
  98.                 },
  99.                 {
  100.                     "value": "weekly",
  101.                     "label": "Weekly"
  102.                 },
  103.                 {
  104.                     "value": "as-needed",
  105.                     "label": "As Needed"
  106.                 }
  107.             ],
  108.             "description": "How often the medication should be taken",
  109.             "required": false,
  110.             "show_info": false
  111.         },
  112.         "indications": {
  113.             "type": "string",
  114.             "input_type": "text",
  115.             "current_value": "",
  116.             "placeholder": "Enter indications",
  117.             "description": "The medical conditions or symptoms for which the medication is prescribed",
  118.             "required": false,
  119.             "show_info": false
  120.         },
  121.         "prescribing_doctor": {
  122.             "type": "string",
  123.             "input_type": "text",
  124.             "current_value": "",
  125.             "placeholder": "Enter prescriber's name",
  126.             "description": "The name of the doctor who prescribed the medication",
  127.             "required": false,
  128.             "show_info": false
  129.         },
  130.         "prescription_notes": {
  131.             "type": "string",
  132.             "input_type": "textarea",
  133.             "current_value": "",
  134.             "placeholder": "Enter additional notes",
  135.             "description": "Additional notes or instructions for the medication",
  136.             "required": false,
  137.             "show_info": false
  138.         },
  139.         "administration_route": {
  140.             "type": "string",
  141.             "input_type": "select",
  142.             "current_value": "",
  143.             "placeholder": "Select route of administration",
  144.             "options": [
  145.                 {
  146.                     "value": "oral",
  147.                     "label": "Oral"
  148.                 },
  149.                 {
  150.                     "value": "intravenous",
  151.                     "label": "Intravenous"
  152.                 },
  153.                 {
  154.                     "value": "intramuscular",
  155.                     "label": "Intramuscular"
  156.                 },
  157.                 {
  158.                     "value": "topical",
  159.                     "label": "Topical"
  160.                 },
  161.                 {
  162.                     "value": "subcutaneous",
  163.                     "label": "Subcutaneous"
  164.                 }
  165.             ],
  166.             "description": "The method by which the medication is administered",
  167.             "required": false,
  168.             "show_info": false
  169.         },
  170.         "side_effects": {
  171.             "type": "string",
  172.             "input_type": "text",
  173.             "current_value": "",
  174.             "placeholder": "Enter known side effects",
  175.             "description": "Known side effects or adverse reactions of the medication",
  176.             "required": false,
  177.             "show_info": false
  178.         },
  179.         "storage_conditions": {
  180.             "type": "string",
  181.             "input_type": "text",
  182.             "current_value": "",
  183.             "placeholder": "Enter storage conditions",
  184.             "description": "The recommended storage conditions for the medication (e.g., temperature, light exposure)",
  185.             "required": false,
  186.             "show_info": false
  187.         },
  188.         "refill_info": {
  189.             "type": "string",
  190.             "input_type": "text",
  191.             "current_value": "",
  192.             "placeholder": "Enter refill information",
  193.             "description": "Information about refills (e.g., number of refills allowed, refill date)",
  194.             "required": false,
  195.             "show_info": false
  196.         }
  197.     },
  198.     "message": "Schema fetched.",
  199.     "meta": {
  200.         "timestamp": "2024-09-10T09:27:54+05:30",
  201.         "api_version": "1.0",
  202.         "req_id": "9b7fc455-3162-4edf-b42d-c830da222e92",
  203.         "resp_code": 200,
  204.         "resp_time": "7.17 ms",
  205.         "pagination": null
  206.     },
  207.     "method": "GET",
  208.     "links": {
  209.         "self": "http:\/\/api.larissainfotech.com\/api\/v1\/dse\/user-medications\/medication-details"
  210.     }
  211. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement