Depends of course on the amount of drywall work, how close the finish has to match (i.e. can the repair be finished only, or does entire adjacent (on both sides ?) walls or halls have to be redone so the repair is not obvious ?
And of course the door and hardware can range from around $100-150 for box store specials and off-the-shelf prefinished trim, on up to over $1000 depending on how fancy you go with the door and trim and such.
Below are links to some similar questions with answers - for those not calling out drywall work around the door, additional drywall/painting cost commonly about $150-250 minimum for minimal work and standard touch-up painting, for significant new drywall (say a much smaller door in a large opening) or fancy finishes/painting might run more to the $500-600 range, especially if you need separate Drywall and Painting contractors to handle the special finishes, rather than using just a Door and Window or Handyman contractor.
Note most of the questions deal with replacing with same-size door - putting in a larger or smaller door increases the cost substantially - ballpark doubling the labor cost and adding maybe $50-100 materials commonly.
https://answers.angieslist.com/Cost-b...
https://answers.angieslist.com/How-I-...
https://answers.angieslist.com/How-co...
https://answers.angieslist.com/How-co...
https://answers.angieslist.com/I-door...
https://answers.angieslist.com/What-t...
https://answers.angieslist.com/Want-i...