0% found this document useful (0 votes)
12 views2 pages

Treatment

The document is a MariaDB dump for a database named 'hospital', specifically for the 'treatment' table. It includes the table structure, constraints, and sample data entries for various treatments administered to patients. The dump was completed on June 16, 2025.

Uploaded by

awilmohaismail8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

Treatment

The document is a MariaDB dump for a database named 'hospital', specifically for the 'treatment' table. It includes the table structure, constraints, and sample data entries for various treatments administered to patients. The dump was completed on June 16, 2025.

Uploaded by

awilmohaismail8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

-- MariaDB dump 10.19 Distrib 10.4.

32-MariaDB, for Win64 (AMD64)


--
-- Host: localhost Database: hospital
-- ------------------------------------------------------
-- Server version 10.4.32-MariaDB

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;


/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `treatment`
--

DROP TABLE IF EXISTS `treatment`;


/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `treatment` (
`TreatmentID` int(11) NOT NULL AUTO_INCREMENT,
`fk_AdmissionID` int(11) DEFAULT NULL,
`fk_NurseID` int(11) DEFAULT NULL,
`TreatmentType` varchar(20) DEFAULT NULL,
`TreatmentDate` date DEFAULT NULL,
PRIMARY KEY (`TreatmentID`),
KEY `fk_AdmissionID` (`fk_AdmissionID`),
KEY `fk_NurseID` (`fk_NurseID`),
CONSTRAINT `treatment_ibfk_1` FOREIGN KEY (`fk_AdmissionID`) REFERENCES `patient`
(`AdmissionID`),
CONSTRAINT `treatment_ibfk_2` FOREIGN KEY (`fk_NurseID`) REFERENCES `nurse`
(`NurseID`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4
COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `treatment`
--

LOCK TABLES `treatment` WRITE;


/*!40000 ALTER TABLE `treatment` DISABLE KEYS */;
INSERT INTO `treatment` VALUES (1,1,7,'FirstAid','2025-06-16'),
(2,2,8,'Injection','2025-06-15'),(3,3,9,'Ultrasound','2025-06-14'),(4,4,6,'X-
Ray','2025-06-13'),(5,5,6,'Syrup','2025-06-16');
/*!40000 ALTER TABLE `treatment` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;


/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2025-06-16 18:31:45

You might also like