public class FhirMappingException : Exception
{
    public string FhirIssueCode { get; }
    public int HttpStatus { get; }

    public FhirMappingException(string message, string fhirIssueCode, int httpStatus = 422)
        : base(message)
    {
        FhirIssueCode = fhirIssueCode;
        HttpStatus = httpStatus;
    }
}