menu_label = ;
left_button_menu = tarse; // verbose or tarse

route_color = 0 128 0;
label_color = 0 0 0;
volume_color = 0 96 255;
dosis_color = 0 0 0;
weight_color = 192 60 0;
sum_color = 0 0 0;
sum_color2 = 192 0 0;

routes
{
     = At/A;
    2 = At/A;
    3 = At/A;
    4 = At/A;
    l-Subc = At/A;
    r-Subc = At/A;
    l-IntJ = At/A;
    r-IntJ = At/A;
    l-ExtJ = At/A;
    r-ExtJ = At/A;
    S-G = At/A;
    sheath = At/A;
    LA = At/A;
    l-Fem = At/A;
    r-Fem = At/A;
     = At/A;
    2 = At/A;
    E = At/A;
    E2 = At/A;
     = At/A;
    2 = At/A;
    E = At/A;
    E2 = At/A;
    d = ǖ;
    d() = ǖ;
    d() = ǖ;
    t = At/A;
    K[[ = K[[;
    z = z;
    پ = پ;
    A = A;
    ڰ = ڰ;
    NG = NG;
    ڳ = ڳ;
}

bindings
{
    agent = O<sub>2</sub>;
    agent = N<sub>2</sub>O air;
    agent = "";
    agent = "";
    agent = "";
    agent = "";
    agent = "";
    agent = "";
    agent = "";
    agent = "";
    agent = "";
    agent = "";
    agent = "";
    agent = "";
    agent = "";
    agent = "";
    agent = "";
    route = ;
    route = 2;
    agent = "";
    agent = "";
    route = K[[;
    route = z;
    route = A;
}

//beginDrugButtonTemplate (do not remove this line)

//x=2330,2650,2770,2890
//y=40,55,1720
//h=40
//f=0 0 0
//b=255 255 208
//s=

/// ȉ̖܂DrugBtn.exeɂ
/// ̉̂ƂC{^`ɏ܂D
/// ̓eC̃t@CāC
/// ̫ނɂDrgBtn.exe޸؂ĉD
/// ʏɂ͉\܂񂪁Çق
/// {^`͏Ă͂łD
/// ŁÇقJȂĂmFD
/// ɋLĂߓȂǂ̖O
/// ƭ̒őgƭƂĒ`Ă
/// Kv܂DX̋̓Iȓe͖ƭ
/// D
/// g Vb{0.5}mg 1 2 hȂǂ̕\L͉ʏł
/// Vb0.5mg12̂R̃{^ɂȂ܂C
/// gƭ̒"Vb0.5mg","Vb1mg","Vb2mg"
/// ꂼΉt܂D

//ߓ
//d/ߓ
///Sev
//d//Sev
///Sev
//d//Sev
//۰
//air(3L)/O<sub>2</sub>(1L)
//N<sub>2</sub>O(3L)/O<sub>2</sub>(2L)
//O<sub>2</sub>(5L)
//ܺ{3}ml 6
//ި{100}mg 200
//Rb{10}mg 20 30
//Rb{10}mg/h 15 20
//Vb{0.5}mg 1 2
//Vb{2}mg/h 3 4
//{0.1} 0.2 0.4
//̪{25}g 50 100
//̪{50}g/h 75 100
//ؽ۰{1.5}mg/h 3 5
//ƶ{0.5}mg 1 2
//ƶ{2}mg/h 3 4
//ܿ{1}mg 2 3
//{0.15}mg 0.25 0.5
//̪{4}mg 8
//{3}mg 5
//zJn
//AJn

//endDrugButtonTemplate (do not remove this line)

//beginDrugButtonDefinitions (do not remove this line)

button
{
    drug = "ߓ" ;
    sheet =  ;
    left = 2330 ;
    right = 2890 ;
    top = 40 ;
    bottom = 95 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "ߓ" 40 ;
}

button
{
    drug = "d/ߓ" ;
    sheet =  ;
    left = 2330 ;
    right = 2890 ;
    top = 95 ;
    bottom = 150 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "d/ߓ" 40 ;
}

button
{
    drug = "/Sev" ;
    sheet =  ;
    left = 2330 ;
    right = 2890 ;
    top = 150 ;
    bottom = 205 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "/Sev" 40 ;
}

button
{
    drug = "d//Sev" ;
    sheet =  ;
    left = 2330 ;
    right = 2890 ;
    top = 205 ;
    bottom = 260 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "d//Sev" 40 ;
}

button
{
    drug = "/Sev" ;
    sheet =  ;
    left = 2330 ;
    right = 2890 ;
    top = 260 ;
    bottom = 315 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "/Sev" 40 ;
}

button
{
    drug = "d//Sev" ;
    sheet =  ;
    left = 2330 ;
    right = 2890 ;
    top = 315 ;
    bottom = 370 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "d//Sev" 40 ;
}

button
{
    drug = "۰" ;
    sheet =  ;
    left = 2330 ;
    right = 2890 ;
    top = 370 ;
    bottom = 425 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "۰" 40 ;
}

button
{
    drug = "air(3L)/O<sub>2</sub>(1L)" ;
    sheet =  ;
    left = 2330 ;
    right = 2890 ;
    top = 425 ;
    bottom = 480 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "air(3L)/O<sub>2</sub>(1L)" 40 ;
}

button
{
    drug = "N<sub>2</sub>O(3L)/O<sub>2</sub>(2L)" ;
    sheet =  ;
    left = 2330 ;
    right = 2890 ;
    top = 480 ;
    bottom = 535 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "N<sub>2</sub>O(3L)/O<sub>2</sub>(2L)" 40 ;
}

button
{
    drug = "O<sub>2</sub>(5L)" ;
    sheet =  ;
    left = 2330 ;
    right = 2890 ;
    top = 535 ;
    bottom = 590 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "O<sub>2</sub>(5L)" 40 ;
}

button
{
    drug = "ܺ3ml" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 590 ;
    bottom = 645 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "ܺ3ml" 40 ;
}

button
{
    drug = "ܺ6ml" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 590 ;
    bottom = 645 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "6" 40 ;
}

button
{
    drug = "ި100mg" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 645 ;
    bottom = 700 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "ި100mg" 40 ;
}

button
{
    drug = "ި200mg" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 645 ;
    bottom = 700 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "200" 40 ;
}

button
{
    drug = "Rb10mg" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 700 ;
    bottom = 755 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "Rb10mg" 40 ;
}

button
{
    drug = "Rb20mg" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 700 ;
    bottom = 755 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "20" 40 ;
}

button
{
    drug = "Rb30mg" ;
    sheet =  ;
    left = 2770 ;
    right = 2890 ;
    top = 700 ;
    bottom = 755 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "30" 40 ;
}

button
{
    drug = "Rb10mg/h" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 755 ;
    bottom = 810 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "Rb10mg/h" 40 ;
}

button
{
    drug = "Rb15mg/h" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 755 ;
    bottom = 810 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "15" 40 ;
}

button
{
    drug = "Rb20mg/h" ;
    sheet =  ;
    left = 2770 ;
    right = 2890 ;
    top = 755 ;
    bottom = 810 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "20" 40 ;
}

button
{
    drug = "Vb0.5mg" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 810 ;
    bottom = 865 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "Vb0.5mg" 40 ;
}

button
{
    drug = "Vb1mg" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 810 ;
    bottom = 865 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "1" 40 ;
}

button
{
    drug = "Vb2mg" ;
    sheet =  ;
    left = 2770 ;
    right = 2890 ;
    top = 810 ;
    bottom = 865 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "2" 40 ;
}

button
{
    drug = "Vb2mg/h" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 865 ;
    bottom = 920 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "Vb2mg/h" 40 ;
}

button
{
    drug = "Vb3mg/h" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 865 ;
    bottom = 920 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "3" 40 ;
}

button
{
    drug = "Vb4mg/h" ;
    sheet =  ;
    left = 2770 ;
    right = 2890 ;
    top = 865 ;
    bottom = 920 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "4" 40 ;
}

button
{
    drug = "0.1" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 920 ;
    bottom = 975 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "0.1" 40 ;
}

button
{
    drug = "0.2" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 920 ;
    bottom = 975 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "0.2" 40 ;
}

button
{
    drug = "0.4" ;
    sheet =  ;
    left = 2770 ;
    right = 2890 ;
    top = 920 ;
    bottom = 975 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "0.4" 40 ;
}

button
{
    drug = "̪25g" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 975 ;
    bottom = 1030 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "̪25g" 40 ;
}

button
{
    drug = "̪50g" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 975 ;
    bottom = 1030 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "50" 40 ;
}

button
{
    drug = "̪100g" ;
    sheet =  ;
    left = 2770 ;
    right = 2890 ;
    top = 975 ;
    bottom = 1030 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "100" 40 ;
}

button
{
    drug = "̪50g/h" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 1030 ;
    bottom = 1085 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "̪50g/h" 40 ;
}

button
{
    drug = "̪75g/h" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 1030 ;
    bottom = 1085 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "75" 40 ;
}

button
{
    drug = "̪100g/h" ;
    sheet =  ;
    left = 2770 ;
    right = 2890 ;
    top = 1030 ;
    bottom = 1085 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "100" 40 ;
}

button
{
    drug = "ؽ۰1.5mg/h" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 1085 ;
    bottom = 1140 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "ؽ۰1.5mg/h" 40 ;
}

button
{
    drug = "ؽ۰3mg/h" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 1085 ;
    bottom = 1140 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "3" 40 ;
}

button
{
    drug = "ؽ۰5mg/h" ;
    sheet =  ;
    left = 2770 ;
    right = 2890 ;
    top = 1085 ;
    bottom = 1140 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "5" 40 ;
}

button
{
    drug = "ƶ0.5mg" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 1140 ;
    bottom = 1195 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "ƶ0.5mg" 40 ;
}

button
{
    drug = "ƶ1mg" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 1140 ;
    bottom = 1195 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "1" 40 ;
}

button
{
    drug = "ƶ2mg" ;
    sheet =  ;
    left = 2770 ;
    right = 2890 ;
    top = 1140 ;
    bottom = 1195 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "2" 40 ;
}

button
{
    drug = "ƶ2mg/h" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 1195 ;
    bottom = 1250 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "ƶ2mg/h" 40 ;
}

button
{
    drug = "ƶ3mg/h" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 1195 ;
    bottom = 1250 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "3" 40 ;
}

button
{
    drug = "ƶ4mg/h" ;
    sheet =  ;
    left = 2770 ;
    right = 2890 ;
    top = 1195 ;
    bottom = 1250 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "4" 40 ;
}

button
{
    drug = "ܿ1mg" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 1250 ;
    bottom = 1305 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "ܿ1mg" 40 ;
}

button
{
    drug = "ܿ2mg" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 1250 ;
    bottom = 1305 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "2" 40 ;
}

button
{
    drug = "ܿ3mg" ;
    sheet =  ;
    left = 2770 ;
    right = 2890 ;
    top = 1250 ;
    bottom = 1305 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "3" 40 ;
}

button
{
    drug = "0.15mg" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 1305 ;
    bottom = 1360 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "0.15mg" 40 ;
}

button
{
    drug = "0.25mg" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 1305 ;
    bottom = 1360 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "0.25" 40 ;
}

button
{
    drug = "0.5mg" ;
    sheet =  ;
    left = 2770 ;
    right = 2890 ;
    top = 1305 ;
    bottom = 1360 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "0.5" 40 ;
}

button
{
    drug = "̪4mg" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 1360 ;
    bottom = 1415 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "̪4mg" 40 ;
}

button
{
    drug = "̪8mg" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 1360 ;
    bottom = 1415 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "8" 40 ;
}

button
{
    drug = "3mg" ;
    sheet =  ;
    left = 2330 ;
    right = 2650 ;
    top = 1415 ;
    bottom = 1470 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "3mg" 40 ;
}

button
{
    drug = "5mg" ;
    sheet =  ;
    left = 2650 ;
    right = 2770 ;
    top = 1415 ;
    bottom = 1470 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "5" 40 ;
}

button
{
    drug = "zJn" ;
    sheet =  ;
    left = 2330 ;
    right = 2890 ;
    top = 1470 ;
    bottom = 1525 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "zJn" 40 ;
}

button
{
    drug = "AJn" ;
    sheet =  ;
    left = 2330 ;
    right = 2890 ;
    top = 1525 ;
    bottom = 1580 ;
    background_color = 255 255 208 ;
    symbol = color 0 0 0 ;
    symbol = glyph "AJn" 40 ;
}

//endDrugButtonDefinitions (do not remove this line)

// drug volume          C,_f,΋C[ L ], ȊO[ ml ].
//                      ,̪,˂͗n\Ɨn}\I
calc
{
    // X~}ZI ȑÕo[WŖ܃j[̃O[vutv
    // utvƏĂ܂Dߋ̃f[^Ƃ̏ʌ݊ۂ߁C
    // ̖Og悤ɂĂ܂D

    tʒl = groupVolume ('t') +
                   groupVolume ('t') ;
    ߑOtʒl = groupVolume ('t', L^Jnb, ̊OzIb) +
                        groupVolume ('t', L^Jnb, ̊OzIb);
    ߌ㏻tʒl = groupVolume ('t', ̊OzJnb, L^Ib) +
                        groupVolume ('t', ̊OzJnb, L^Ib) ;

    Ptʒl = groupVolume ('Pt') ;
    ߑOPtʒl = groupVolume ('Pt', L^Jnb, ̊OzIb) ;
    ߌPtʒl = groupVolume ('Pt', ̊OzJnb, L^Ib) ;


    Atʒl = tʒl + Ptʒl ;
    ߑOAtʒl = ߑOtʒl + ߑOPtʒl ;
    ߌAtʒl = ߌ㏻tʒl + ߌPtʒl ;

    t = tʒl $ '   #' ;
    Pt = Ptʒl $ '   #' ;
    At = Atʒl $ '   #' ;

    ߑOt = ߑOtʒl $ '   #' ;
    ߑOPt = ߑOPtʒl $ '   #' ;
    ߑOAt = ߑOAtʒl $ '   #' ;

    ߌ㏻t = ߌ㏻tʒl $ '   #' ;
    ߌPt = ߌPtʒl $ '   #' ;
    ߌAt = ߌAtʒl $ '   #' ;

    A = groupVolume ('t') $ '   #' ;

    Aʒl = groupVolume ('A') ;
    A = Aʒl $ '   #' ;
    ߑOAʒl = groupVolume ('A', L^Jnb, S̊OzIb) ;
    ߑOA = ߑOAʒl $ '   #' ;
    ߌAʒl = groupVolume ('A', S̊OzJnb, L^Ib) ;
    ߌA = ߌAʒl $ '   #' ;

    oʒl = groupVolume ('o') ;
    rtʒl = groupVolume ('rt') ;
    o = oʒl $ '   #' ;
    rt = rtʒl $ '   #' ;

    Cgp = mnemonicVolume ('air') / 1000 $ '   #.#' ;
    _fgp = mnemonicVolume ('O2') / 1000 $ '   #.#' ;
    ΋Cgp = mnemonicVolume ('N2O') / 1000 $ '   #.#' ;
    ݎgp = mnemonicVolume ('sev') $ '   #' ;
    ݎgp = mnemonicVolume ('iso') $ '   #' ;

    ގgpmg = mnemonicDosis ('') / 1000 $ ' #.#' ;

    ̪gpʃg = mnemonicDosis ('̪') $ '   #' ;
    ̪gpml = mnemonicDosis ('̪') / 50 $ ' #.#' ;

    ˎgpmg = mnemonicDosis ('') $ ' #.#' ;
    ˎgpml = mnemonicDosis ('') / 10 $ ' #.#' ;
}