Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
17 kB
6
Indexable
Never
string scheduleJson = @"
            {
                ""Id"": 100,
                ""StartDate"": ""2024-07-30T00:00:00Z"",
                ""Appointments"": [
                    {
                        ""Id"": 101,
                        ""Surgery"": {
                            ""Id"": 102,
                            ""Name"": ""Appendectomy"",
                            ""Surgeon"": {
                                ""Id"": 103,
                                ""FirstName"": ""Alice"",
                                ""LastName"": ""Johnson""
                            },
                            ""Anesthetist"": {
                                ""Id"": 104,
                                ""FirstName"": ""Arda"",
                                ""LastName"": ""Altinors""
                            },
                            ""Patient"": {
                                ""Id"": 105,
                                ""FirstName"": ""Jane"",
                                ""LastName"": ""Smith"",
                                ""DateOfBirth"": ""1990-01-01T00:00:00Z""
                            },
                            ""ProtocolNo"": 123,
                            ""Duration"": 120,
                            ""Priority"": 1,
                            ""AnesthesiaTime"": 15,
                            ""CleaningTime"": 10,
                            ""MedEquipSterilizationTime"": 5
                        },
                        ""StartTime"": 8.0,
                        ""EndTime"": 10.0,
                        ""Date"": ""2024-07-24T00:00:00Z"",
                        ""Status"": 0,
                        ""AssignedOR"": {
                            ""Id"": 106,
                            ""OperationRoomStatus"": 2
                        }
                    },
                    {
                        ""Id"": 107,
                        ""Surgery"": {
                            ""Id"": 108,
                            ""Name"": ""Gallbladder Removal"",
                            ""Surgeon"": {
                                ""Id"": 109,
                                ""FirstName"": ""Bob"",
                                ""LastName"": ""Miller""
                            },
                            ""Anesthetist"": {
                                ""Id"": 110,
                                ""FirstName"": ""Tarik"",
                                ""LastName"": ""Tezcan""
                            },
                            ""Patient"": {
                                ""Id"": 111,
                                ""FirstName"": ""Alice"",
                                ""LastName"": ""Wonderland"",
                                ""DateOfBirth"": ""1985-05-15T00:00:00Z""
                            },
                            ""ProtocolNo"": 456,
                            ""Duration"": 90,
                            ""Priority"": 2,
                            ""AnesthesiaTime"": 10,
                            ""CleaningTime"": 15,
                            ""MedEquipSterilizationTime"": 7
                        },
                        ""StartTime"": 10.0,
                        ""EndTime"": 11.5,
                        ""Date"": ""2024-07-24T00:00:00Z"",
                        ""Status"": 1,
                        ""AssignedOR"": {
                            ""Id"": 112,
                            ""OperationRoomStatus"": 1
                        }
                    },
                    {
                        ""Id"": 113,
                        ""Surgery"": {
                            ""Id"": 114,
                            ""Name"": ""Hernia Repair"",
                            ""Surgeon"": {
                                ""Id"": 115,
                                ""FirstName"": ""David"",
                                ""LastName"": ""Clark""
                            },
                            ""Anesthetist"": {
                                ""Id"": 116,
                                ""FirstName"": ""Honeyfee"",
                                ""LastName"": ""Demir""
                            },
                            ""Patient"": {
                                ""Id"": 117,
                                ""FirstName"": ""Ahmet"",
                                ""LastName"": ""Demir"",
                                ""DateOfBirth"": ""1992-08-20T00:00:00Z""
                            },
                            ""ProtocolNo"": 789,
                            ""Duration"": 60,
                            ""Priority"": 3,
                            ""AnesthesiaTime"": 12,
                            ""CleaningTime"": 8,
                            ""MedEquipSterilizationTime"": 6
                        },
                        ""StartTime"": 12.0,
                        ""EndTime"": 13.0,
                        ""Date"": ""2024-07-24T00:00:00Z"",
                        ""Status"": 0,
                        ""AssignedOR"": {
                            ""Id"": 118,
                            ""OperationRoomStatus"": 3
                        }
                    },
                    {
                        ""Id"": 119,
                        ""Surgery"": {
                            ""Id"": 120,
                            ""Name"": ""Tonsillectomy"",
                            ""Surgeon"": {
                                ""Id"": 121,
                                ""FirstName"": ""Frank"",
                                ""LastName"": ""Wright""
                            },
                            ""Anesthetist"": {
                                ""Id"": 122,
                                ""FirstName"": ""George"",
                                ""LastName"": ""Harris""
                            },
                            ""Patient"": {
                                ""Id"": 123,
                                ""FirstName"": ""Grace"",
                                ""LastName"": ""Kelly"",
                                ""DateOfBirth"": ""1980-12-01T00:00:00Z""
                            },
                            ""ProtocolNo"": 101,
                            ""Duration"": 45,
                            ""Priority"": 1,
                            ""AnesthesiaTime"": 10,
                            ""CleaningTime"": 5,
                            ""MedEquipSterilizationTime"": 3
                        },
                        ""StartTime"": 14.0,
                        ""EndTime"": 14.75,
                        ""Date"": ""2024-07-24T00:00:00Z"",
                        ""Status"": 2,
                        ""AssignedOR"": {
                            ""Id"": 124,
                            ""OperationRoomStatus"": 2
                        }
                    },
                    {
                        ""Id"": 125,
                        ""Surgery"": {
                            ""Id"": 126,
                            ""Name"": ""Knee Arthroscopy"",
                            ""Surgeon"": {
                                ""Id"": 127,
                                ""FirstName"": ""Helen"",
                                ""LastName"": ""Smith""
                            },
                            ""Anesthetist"": {
                                ""Id"": 128,
                                ""FirstName"": ""Ian"",
                                ""LastName"": ""Taylor""
                            },
                            ""Patient"": {
                                ""Id"": 129,
                                ""FirstName"": ""Jack"",
                                ""LastName"": ""White"",
                                ""DateOfBirth"": ""1975-11-11T00:00:00Z""
                            },
                            ""ProtocolNo"": 202,
                            ""Duration"": 30,
                            ""Priority"": 2,
                            ""AnesthesiaTime"": 8,
                            ""CleaningTime"": 4,
                            ""MedEquipSterilizationTime"": 2
                        },
                        ""StartTime"": 15.0,
                        ""EndTime"": 15.5,
                        ""Date"": ""2024-07-24T00:00:00Z"",
                        ""Status"": 1,
                        ""AssignedOR"": {
                            ""Id"": 130,
                            ""OperationRoomStatus"": 1
                        }
                    },
                    {
                        ""Id"": 131,
                        ""Surgery"": {
                            ""Id"": 132,
                            ""Name"": ""Hip Replacement"",
                            ""Surgeon"": {
                                ""Id"": 133,
                                ""FirstName"": ""Kate"",
                                ""LastName"": ""Brown""
                            },
                            ""Anesthetist"": {
                                ""Id"": 134,
                                ""FirstName"": ""Larry"",
                                ""LastName"": ""Green""
                            },
                            ""Patient"": {
                                ""Id"": 135,
                                ""FirstName"": ""Lucy"",
                                ""LastName"": ""Gray"",
                                ""DateOfBirth"": ""1995-06-06T00:00:00Z""
                            },
                            ""ProtocolNo"": 303,
                            ""Duration"": 60,
                            ""Priority"": 3,
                            ""AnesthesiaTime"": 10,
                            ""CleaningTime"": 5,
                            ""MedEquipSterilizationTime"": 4
                        },
                        ""StartTime"": 16.0,
                        ""EndTime"": 17.0,
                        ""Date"": ""2024-07-24T00:00:00Z"",
                        ""Status"": 0,
                        ""AssignedOR"": {
                            ""Id"": 136,
                            ""OperationRoomStatus"": 3
                        }
                    },
                    {
                        ""Id"": 137,
                        ""Surgery"": {
                            ""Id"": 138,
                            ""Name"": ""Coronary Bypass"",
                            ""Surgeon"": {
                                ""Id"": 139,
                                ""FirstName"": ""Michael"",
                                ""LastName"": ""Scott""
                            },
                            ""Anesthetist"": {
                                ""Id"": 140,
                                ""FirstName"": ""Nancy"",
                                ""LastName"": ""Drew""
                            },
                            ""Patient"": {
                                ""Id"": 141,
                                ""FirstName"": ""Oliver"",
                                ""LastName"": ""Twist"",
                                ""DateOfBirth"": ""1988-04-04T00:00:00Z""
                            },
                            ""ProtocolNo"": 404,
                            ""Duration"": 90,
                            ""Priority"": 1,
                            ""AnesthesiaTime"": 15,
                            ""CleaningTime"": 10,
                            ""MedEquipSterilizationTime"": 5
                        },
                        ""StartTime"": 17.0,
                        ""EndTime"": 18.5,
                        ""Date"": ""2024-07-24T00:00:00Z"",
                        ""Status"": 2,
                        ""AssignedOR"": {
                            ""Id"": 142,
                            ""OperationRoomStatus"": 2
                        }
                    },
                    {
                        ""Id"": 143,
                        ""Surgery"": {
                            ""Id"": 144,
                            ""Name"": ""Spinal Fusion"",
                            ""Surgeon"": {
                                ""Id"": 145,
                                ""FirstName"": ""Pam"",
                                ""LastName"": ""Beesly""
                            },
                            ""Anesthetist"": {
                                ""Id"": 146,
                                ""FirstName"": ""Quincy"",
                                ""LastName"": ""Jones""
                            },
                            ""Patient"": {
                                ""Id"": 147,
                                ""FirstName"": ""Rachel"",
                                ""LastName"": ""Green"",
                                ""DateOfBirth"": ""1983-02-02T00:00:00Z""
                            },
                            ""ProtocolNo"": 505,
                            ""Duration"": 120,
                            ""Priority"": 2,
                            ""AnesthesiaTime"": 20,
                            ""CleaningTime"": 15,
                            ""MedEquipSterilizationTime"": 10
                        },
                        ""StartTime"": 19.0,
                        ""EndTime"": 21.0,
                        ""Date"": ""2024-07-24T00:00:00Z"",
                        ""Status"": 1,
                        ""AssignedOR"": {
                            ""Id"": 148,
                            ""OperationRoomStatus"": 1
                        }
                    },
                    {
                        ""Id"": 149,
                        ""Surgery"": {
                            ""Id"": 150,
                            ""Name"": ""Cataract Surgery"",
                            ""Surgeon"": {
                                ""Id"": 151,
                                ""FirstName"": ""Ross"",
                                ""LastName"": ""Geller""
                            },
                            ""Anesthetist"": {
                                ""Id"": 152,
                                ""FirstName"": ""Susan"",
                                ""LastName"": ""Baker""
                            },
                            ""Patient"": {
                                ""Id"": 153,
                                ""FirstName"": ""Sam"",
                                ""LastName"": ""Smith"",
                                ""DateOfBirth"": ""1997-03-03T00:00:00Z""
                            },
                            ""ProtocolNo"": 606,
                            ""Duration"": 60,
                            ""Priority"": 3,
                            ""AnesthesiaTime"": 12,
                            ""CleaningTime"": 8,
                            ""MedEquipSterilizationTime"": 6
                        },
                        ""StartTime"": 21.0,
                        ""EndTime"": 22.0,
                        ""Date"": ""2024-07-24T00:00:00Z"",
                        ""Status"": 0,
                        ""AssignedOR"": {
                            ""Id"": 154,
                            ""OperationRoomStatus"": 3
                        }
                    },
                    {
                        ""Id"": 155,
                        ""Surgery"": {
                            ""Id"": 156,
                            ""Name"": ""Mastectomy"",
                            ""Surgeon"": {
                                ""Id"": 157,
                                ""FirstName"": ""Tom"",
                                ""LastName"": ""Riddle""
                            },
                            ""Anesthetist"": {
                                ""Id"": 158,
                                ""FirstName"": ""Ursula"",
                                ""LastName"": ""Stanley""
                            },
                            ""Patient"": {
                                ""Id"": 159,
                                ""FirstName"": ""Violet"",
                                ""LastName"": ""Parr"",
                                ""DateOfBirth"": ""1987-07-07T00:00:00Z""
                            },
                            ""ProtocolNo"": 707,
                            ""Duration"": 90,
                            ""Priority"": 2,
                            ""AnesthesiaTime"": 15,
                            ""CleaningTime"": 10,
                            ""MedEquipSterilizationTime"": 5
                        },
                        ""StartTime"": 22.0,
                        ""EndTime"": 23.5,
                        ""Date"": ""2024-07-24T00:00:00Z"",
                        ""Status"": 1,
                        ""AssignedOR"": {
                            ""Id"": 160,
                            ""OperationRoomStatus"": 1
                        }
                    }
                ]
            }";
Leave a Comment