Exemplo n.º 1
0
    /// <summary>
    /// Get instrument name as string
    /// </summary>
    /// <param name="tag">Instrument enum</param>
    /// <returns>The name of the instrument as string</returns>
    public static string GetName(INSTRUMENT_TAG tag)
    {
        switch (tag)
        {
        case INSTRUMENT_TAG.ADDSON_BROWN_FORCEPS:
            return("Addson-Brown Forceps");

        case INSTRUMENT_TAG.MAYO_HEGAR_NEEDLE_DRIVER:
            return("Mayo Hegar Needle Driver");

        case INSTRUMENT_TAG.MAYO_SCISSOR:
            return("Mayo Scissor");

        case INSTRUMENT_TAG.METZEMBAUM_SCISSOR:
            return("Metzembaum Scissor");

        case INSTRUMENT_TAG.ROCHESTER_CARMALT_FORCEPS:
            return("Rochester Carmalt Forceps");

        case INSTRUMENT_TAG.SCALPEL:
            return("Scalpel");

        case INSTRUMENT_TAG.SUTURE_SCISSOR:
            return("Suture Scissor");

        case INSTRUMENT_TAG.TOWEL_CLAMPS:
            return("Towel Clamps");

        case INSTRUMENT_TAG.NONE:
            return("None");

        default:
            throw new System.Exception("Name for instrument tag " + tag + " does not exist.");
        }
    }
Exemplo n.º 2
0
    /// <summary>
    /// Get the description of the purpose of an instrument
    /// </summary>
    /// <param name="tag">Instrument tag</param>
    /// <returns>The description of the purpose</returns>
    public static string GetPurposeDescription(INSTRUMENT_TAG tag)
    {
        switch (tag)
        {
        case INSTRUMENT_TAG.ADDSON_BROWN_FORCEPS:
            return("Traction and manipulation of tissues.");

        case INSTRUMENT_TAG.MAYO_HEGAR_NEEDLE_DRIVER:
            return("Suturing, placement of ligatures");

        case INSTRUMENT_TAG.MAYO_SCISSOR:
            return("Extension of abdominal wall incisions");

        case INSTRUMENT_TAG.METZEMBAUM_SCISSOR:
            return("Blunt dissection of subcutaneous tissues");

        case INSTRUMENT_TAG.ROCHESTER_CARMALT_FORCEPS:
            return("Crushing of vascular pedicles");

        case INSTRUMENT_TAG.SCALPEL:
            return("Skin and abdominal incision, transection of ligated pedicles");

        case INSTRUMENT_TAG.SUTURE_SCISSOR:
            return("Cutting of suture");

        case INSTRUMENT_TAG.TOWEL_CLAMPS:
            return("Joining drapes to patient");

        default:
            throw new System.Exception("Purpose description for instrument tag " + tag + " does not exist.");
        }
    }