/*
 Navicat Premium Data Transfer

 Source Server         : Local
 Source Server Type    : MySQL
 Source Server Version : 80027
 Source Host           : 192.168.0.12:3306
 Source Schema         : shims

 Target Server Type    : MySQL
 Target Server Version : 80027
 File Encoding         : 65001

 Date: 24/05/2022 14:15:53
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for patient_service_charge_header
-- ----------------------------
DROP TABLE IF EXISTS `patient_service_charge_header`;
CREATE TABLE `patient_service_charge_header`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `patient_id` int NULL DEFAULT NULL,
  `primary_module_id` int NULL DEFAULT NULL,
  `primary_id` int NULL DEFAULT NULL COMMENT 'Haedaer table id \r\nlike for ipd, ipd admission id ',
  `billing_module_id` int NULL DEFAULT NULL,
  `patient_service_charge_id` int NULL DEFAULT NULL,
  `created_at` date NULL DEFAULT NULL,
  `created_by` int NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;
