Provided is a recess forming device equipped with: a recess forming unit (13) that is equipped with a plurality of forming dies which form recesses for housing a drug in a container film, wherein the capacities of the recesses formed in the container film by each of the plurality of forming dies are mutually different; a forming die switching unit (21) that switches the forming die used in the recess forming unit (13) between the plurality of forming dies; a prescription data receiving unit (22) that receives prescription data comprising information pertaining to a prescription; and a control unit (23) that controls the forming die switching unit (21) so as to switch the forming die used in the recess forming unit (13) between the plurality of forming dies, on the basis of the prescription data received by the prescription data receiving unit (22).凹部形成裝置具備:凹部形成部(13),係具備將用來收容藥劑的凹部形成於容器用薄膜的複數個成形模具,前述複數個成形模具,其各個形成在容器用薄膜之凹部的容量彼此不同;成形模具切換部(21),係將前述凹部形成部(13)所使用的成形模具,從前述複數個成形模具之中切換;處方資料接收部(22),係接收含有關於處方之資訊的處方資料;控制部(23),係根據藉由前述處方資料接收部(22)所接收的前述處方資料,來控制前述成形模具切換部(21),使前述凹部形成部(13)所使用的成形模具,在前述複數個成形模具之中切換。