A non-transitory computer readable recording medium on which a route selection assistance program assisting in selecting a route of a living body lumen for delivering a medical instrument to a site within a living body via the living body lumen via an introduction site is recorded, the route selection assistance program making a computer perform:
- receiving an input of site information specifying a target site within the living body as a target of delivering the medical instrument and a plurality of introduction sites and an input of procedure information specifying a procedure to be performed by delivering the medical instrument to the target site via the living body lumen;
- obtaining image information on an inside of the living body of a target patient as a target of delivering the medical instrument from the plurality of introduction sites;
- extracting a plurality of routes of the living body lumen, the plurality of routes allowing the medical instrument to be delivered to the target site from the plurality of introduction sites, on a basis of the obtained image information;
- calculating route scores determined according to ease of delivery of the medical instrument at a time of delivery of the medical instrument via the plurality of routes;
- calculating patient scores determined according to magnitude of a burden imposed on the target patient;
- assigning rankings to the extracted plurality of routes using the calculated route scores and the calculated patient scores;
- extracting medical instruments used for the procedure specified by the procedure information;
- extracting useable device candidates for the medical instruments extracted for the procedure specified by the procedure information, the useable device candidates being available for the procedure specified by the procedure information and in a case where there are no useable device candidates, a number of the useable device candidates extracted is zero;
- decreasing a ranking of a route of the extracted plurality of routes for which the number of useable device candidates extracted is zero;
- and
- outputting the extracted plurality of routes and the assigned rankings to the extracted plurality of routes using the calculated route scores and the calculated patient scores and a result of the extraction of the useable device candidates.