LRP-Medicalrecord


https://www.youtube.com/watch?v=ivrVDU3Ev6I

This script was modified / added with @ShinxD

command: /mdtems

Download

https://github.com/karenciita/LRP–medicalrecord

There I attach the “mythic notify” that we use:

mythic_notify.rar (4.5 KB)

modified script of: credits to him for his base code … @jsfour

https://forum.cfx.re/t/release-jsfour-criminalrecord-esx/167239

18 Likes

link dont work

1 Like

If I’m sorry, I’ll change them.

We need more of that for EMS Roleplay. :heart_eyes: :heart: :heart_eyes: :heart:

3 Likes


Any Fix? Both on this and on the criminal record, Thank you in advance!
Also, really good work! Congrats!

what a beautiful hospital !! That paeo, where can I get it? by the way the skript is also very good

SOLUTION FOR THOSE WHO GET THIS TYPE OF ERROR IN THE F8

for those who do not appear the menu and an error of js. It is because when you pass it the .js gets corrupted.

replace these files in the “js” folder
these modified original .js files.

(.js files for medicalrecords)
js.rar (96.3 KB)

3 Likes

Thank you so much dude, foreal! Now works perfectly!

English Translation (Possibly a couple of errors)

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <link rel="stylesheet" href="assets/css/materialize.css">
    <link rel="stylesheet" href="assets/css/style.css">
  </head>
  <body>
    <div id="criminal-record-wrapper">
      <div id="menu">
        <div id="header">
          <div class="left">
            <a href="#!" class="logo"><img src="assets/images/lspd.png" alt="LOGO" draggable="false"/></a>
          </div>
          

            <ul class="right" id="date"> XXXX-XX-XX

            </ul>
         
        </div>

        <div class="row" id="menu-content">
          <div id="welcome">
            <p>MEDICAL FILES</p>
            <table class="centered">
               <thead>
                 <tr>
                   <th>DATE</th>
                   <th>N° RECORD</th>
                   <th>INSTITUTION</th>
                   <th>SYMPTOM</th>
                   <th>DIAGNOSIS</th>
                 </tr>


               </thead>
               <tbody>
               </tbody>
             </table>

            <button class="btn-large btn-flat waves-effect waves-light col s12" id="menu-search">SEARCH PATIENT HISTORY</button>
            <button class="btn-large btn-flat waves-effect waves-light col s12" id="menu-add">Add Data</button>
         
          </div>

          <div id="search">
            <form class="col s12">
              <div class="row">
                <div class="input-field col s6">
                  <input id="firstname-search" type="text" class="validate">
                  <label for="firstname-search">First Name</label>
                </div>
                <div class="input-field col s6">
                  <input id="lastname-search" type="text" class="validate">
                  <label for="lastname-search">Last Name</label>
                </div>
                <div class="input-field col s6">
                  <input id="dob-search" type="text" class="validate">
                  <label for="dob-search">Date of Birth</label>
                </div>
                <div class="input-field col s6">
                  <input id="offense-search" type="text" class="validate">
                  <label for="offense-search">N° PROCEEDINGS</label>
                </div>
              </div>
            </form>
            <button class="btn-large btn-flat  waves-effect waves-light col s12" id="submit-search">Search Person</button>
            <button class="btn-large btn-flat waves-effect waves-light col s12 back">Return</button>
          </div>
          <div id="search-result">
            <table class="centered result">
               <thead>
                 <tr>
                   <th>First Name</th>
                   <th>Last Name</th>
                   <th>Date of Birth</th>

                 </tr>
               </thead>
               <tbody>
                <button class="btn-large btn-flat waves-effect waves-light col s12 back"> Return </button>
                 <br />
               </tbody>

             </table>
      
          </div>



          <div id="add">
            <p class="error">Error - No person was found, first name, last name or dob could be wrong</p>
            <h2>...</h2>
            <form class="col s12">
              <div class="row">
                <div class="input-field col s6">
                  <input id="firstname-add" type="text" class="validate" required placeholder="John">
                  <label for="firstname-add">FIRST NAME</label>
                </div>
                <div class="input-field col s6">
                  <input id="lastname-add" type="text" class="validate" required placeholder="Doe">
                  <label for="lastname-add">LAST NAME</label>
                </div>
                <div class="input-field col s6">
                  <input id="dob-add" type="text" class="validate" required placeholder="BIRTH DATE">
                  <label for="dob-add">Date of Birth</label>
                </div>
                <div class="input-field col s6">
                  <input id="charge-add" type="text" class="validate" required placeholder= "DIAGNOSIS" >
                  <label for="charge-add">DIAGNOSIS</label>
                </div>
                <div class="input-field col s6">
                  <input id="term-add" type="text" class="validate" required placeholder="SYMPTOM">
                  <label for="term-add">SYMPTOM</label>
                </div>
                <div class="input-field col s6">
                  <input id="date-add" type="text" class="validate" required value="Today">
                  <label for="date-add">Date</label>
                </div>
                <div class="input-field col s12">
                  <textarea id="description-add" class="materialize-textarea" required placeholder="EXTRA PATIENT INFORMATION OR ADDITIONAL OBSERVATIONS OF THE DOCTOR."></textarea>
                  <label for="description-add">DESCRIPTION</label>
                </div>
              </div>
              <button class="btn-large btn-flat waves-effect waves-light col s12" id="submit-add">ADD</button>
              <button class="btn-large btn-flat waves-effect waves-light col s12 back">RETURN</button>
            </form>
          </div>
        </div>
      </div>
      <div id="criminal-record">
        <div id="header">
          <div class="left">
            <a href="#!" class="logo"><img src="assets/images/lspd.png" alt="LOGO" draggable="false"/></a>
            <p class="small-txt">Made by jsfour</p>
          </div>
          <div class="right">
            <ul>
              <li>

                
                  <span style="color:WHITE">  

                <p style="font-size:14px" >ARCHIVE</p></SPAN>
                <span style="color:#000000"> 
                <p  style="font-size:14px" >#1234567-890</p></SPAN>
              </li>

               <br/>
              <li>
              <span style="color:WHITE">    
                <p style="font-size:14px" >ID REGISTRY</p></SPAN>

                 
                <p style="font-size:14px" ><a href="#!" style="color:#000000" class="r-recordid">XXXXXXXX</a></p>
              </li>
            </ul>
          </div>
        </div>
        <div id="content">
          <div id="basic-info">
            <ul>
              <li>
                <p>Name</p>
                <p class="r-name"  style="color:#000000"  >unknown, unknown</p>
              </li>
              <li>
                <p>Aliases</p>
                <p class="r-aliases" style="color:#000000" >unknown</p>
              </li>
              <li id="r-recordid">
                <p>Record id</p>
                 <span style="color:#000000"> 
                <p class="square">X</p>
                <p class="square">X</p>
                <p class="square">X</p>
                <p class="square">X</p>
                <p class="square">X</p>
                <p class="square">X</p>
                <p class="square">X</p>
                <p class="square">X</p>
                </span>
              </li>
              <li class="divided">
                <div class="left">
                  <p>GENDER</p>
                  <p class="r-sex" style="color:#000000" >none</p>
                </div>
                <div class="right">
                  <p>CITIZEN   </p>
                  <p> <span style="color:#000000">Si</span></p>
                </div>
              </li>
              <li class="divided">
                <div class="left">
                  <p>HEIGHT</p>
                  <p style="color:#000000;font-weight:bold" class="r-height"><strong>000cm</strong></p>
                </div>
                <div class="right">
                  <p>WEIGHT</p>
                  <p style="color:#000000" class="r-weight">00kg</p>
                </div>
              </li>
              <li class="divided">
                <div class="left">
                  <p>EYE COLOR</p>
                  <p class="r-eyecolor" style="color:#000000"  >none</p>
                </div>
                <div class="right">
                  <p>HAIR COLOR</p>
                  <p class="r-haircolor" style="color:#000000"  >none</p>
                </div>
              </li>
              <li id="r-dob">
                <p>Date of Birth</p>
                <span style="color:#000000"> 
                <p class="square r-dob-year"><i>Y</i>00</p>
                <p class="square r-dob-month"><i>M</i>00</p>
                <p class="square r-dob-day"><i>D</i>00</p>
                <p class="square r-dob-lastdigits"><i>X</i></p></span>
              </li>
            </ul>
            <img src="assets/images/hTmpwKh.png" height="237" width="171"/>

            <img src="assets/images/fingerprints.png" alt="fingerprints" draggable="false"/>
            <img src="assets/images/male.png" alt="avatar" draggable="false" class="avatar"/>
          </div>
          <div id="records">
            <h1 align="center"> MEDICAL HISTORY  </h1>
            <table class="centered">
               <thead>
                 <tr>
                   <th>Date</th>
                   <th>N° RECORD</th>
                   <th>INSTITUTION</th>
                   <th>SYMPTOM</th>
                   <th>DIAGNOSIS</th>
                 </tr>
               </thead>
               <tbody>

               </tbody>

             </table>

            <button class="btn-large btn-flat waves-effect waves-light col s12 back">Return</button>

          </div>
         


        </div>
      </div>
      <div id="record-info">
        <div id="header">
          <div class="left">
            <a href="#!" class="logo"><img src="assets/images/lspd.png" alt="LOGO" draggable="false"/></a>
            <p class="small-txt">Made by jsfour</p>
          </div>
          <div class="right">
            <ul>
              <li>

                <span style="color:#000">
                <p style="font-size:13px"> Name</p> </span>
                <p  style="font-size:12px" class="r-name">&nbsp;  XXX </p>
              </li>
               <br/>
              <li>
                 <span style="color:#000">
                <p style="font-size:13px">Date of Birth</p> </span>
                <p  style="font-size:12px"  ><a href="#!" style="color:#000000" class="dob r-dob">XXX </a></p>
              </li>
            </ul>
          </div>
        </div>
        <div id="content">
          <div id="basic-info">
            <ul>
              <li class="divided">
                <div class="ce">
                  <p  style="font-size:11px" >Date</p>
                 <span style="color:#000000"> <p style="font-size:14px" class="r-date">XXXX-XX-XX</p></span>
                </div>

                <div class="right">

                <p style="font-size:11px" > DIAGNOSIS </p>

              
       <span style="color:#000000"> <p style="font-size:11px" class="r-term">XX</p></span>
             
                </div>

              </li>
              <li id="r-offense">
                <p style="font-size:11px">N° RECORD</p>
                 <span style="color:#000000">
                <p style="font-size:12px" class="square">X</p>
                <p style="font-size:12px" class="square">-</p>
                <p style="font-size:12px" class="square">X</p>
                <p style="font-size:12px" class="square">X</p>
                <p style="font-size:12px" class="square">X</p></span>
              </li>


              <li id="r-term">


                  <p  style="font-size:11px" > SYMPTOM </p>

                 <span style="color:#000000"> <p style="font-size:11px" class="r-charge">XX</p></span>






              </li>



              <li class="info">

               <span style="color:#000000"> <p style="font-size:12px">ADDITIONAL INFORMATION </p></span>
                <textarea class="r-description"></textarea>
              </li>

            </ul>

            <img src="assets/images/hTmpwKh.png" height="237" width="171"/>
            <img src="assets/images/fingerprints.png" alt="fingerprints" draggable="false"/>
            <img src="assets/images/male.png" alt="avatar" draggable="false" class="avatar"/>

          </div>
          <div id="signature">
            <div class="signature-part">
              <p class="r-offense">X-XXX</p>
              <p>N° RECORD</p>
            </div>
            <div class="signature-part">
              <p class="r-date">XX</p>
             <p>REGISTRATION DATE</p>
            </div>
            <div class="signature-part">
              <p id="the-signature">X</p>
              <p>SIGNATURE OF THE DOCTOR</p>
            </div>
          </div>
          <button class="btn-large btn-flat waves-effect waves-light" id="submit-update">CHANGE INFORMATION</button>
        <!--   <button class="btn-large btn-flat waves-effect waves-light" id="submit-delete">BORRAR CARGOS</button>--> 
                   <button class="btn-large btn-flat waves-effect waves-light col s12 back">TO RETURN</button>

          <button class="btn-large btn-flat waves-effect waves-light large" id="submit-classified">CLASSIFY HISTORY</button>


      </div>
    </div>
    <script src="assets/js/jquery.js" type="text/javascript"></script>
    <script src="assets/js/materialize.js" type="text/javascript"></script>
    <script src="assets/js/init.js" type="text/javascript"></script>
  </body>
</html>

3 Likes

I think this is not a easy thing to add. Is there a way you can add the user can make a photo of the person and put that in her/his file?

2 Likes

thank you for you time in the making of the mdts :slight_smile: amazing work :blush:

1 Like

i thinks the hospital is a paid mlos :confused:

1 Like

Hello so i have the same problem as what i have with the Police MDT the problem i am having is after closing the MDT i get stuck with the tablet in my hand and i also can’t use the T to send server messages or do command’s until i go in my inventory and use a water or something then i am able to use T but i also get this error if try to use to /fixmdtems command.

if you mean this line of code:

https://gyazo.com/c9f8c2ff9b4d027ec1f90d536c777992

it’s a command I was testing and it didn’t work out, that’s why you get it wrong.

the theme of the T as I told you in the other post, was to avoid a bugg when you open the mdt and chat, that’s why we freeze it, you can remove it if you want.
Change this from “true” to “false”

disablechatmdt = true

Any known fixes for issues with lower resolutions? It works perfectly on 1080p

I have a couple people on my server that use 1300 x 768 and the MedicalRecords takes up their entire screen and goes off the screen a little bit

A few lines were added in the “Client.lua” to fix the bugg of the object that remained in your hands and the animation.
Thanks ah:

image

psd: I don’t know your name, that’s why I put the picture.

:slight_smile:

The resolution can be changed in the “.css”.
In the end there is the resolution you can change it there.
psdt: Be careful in doing so, you can uncover the entire design.

Hello, there is a problem, when opening the tablet it displays the data of registrmedico and also that of lrp-criminalrecord
anyone have an idea of ​​the bug?

Check if you uploaded the scripts and the database correctly.

yes i just downloaded it