This is known as hemi-arthroplasty. Total hip replacement. This procedure involves replacing your upper femur and the socket in your pelvic bone with a prosthesis. Total hip replacement may be a good option if arthritis or a prior injury has damaged your joint, affecting its function prior to the fracture. In general, for fractures where bones aren't well-aligned, the older you are the more likely you are to receive a prosthesis.
Internal fixation is used more often in younger people and for fractures that are well-aligned.
The screw is attached to a plate that runs down alongside the femur and is attached with other screws to help keep the bone stable. As the bone heals, the screw allows the bone pieces to compress so the edges grow together. Remaining inactive and in bed following hip surgery can increase your risk for serious complications, including the development of blood clots and pneumonia. For that reason, you'll likely be getting up and around as soon as possible. On the first day after hip surgery you'll likely be moved to a sitting position in a chair.