Skip to content

Conversation

@outtanames
Copy link
Contributor

No description provided.

Comment on lines +63 to +68
class PriorAuthorization(BaseModel):
member: MemberInformation
requesting_provider: RequestingProvider
servicing_provider: ServicingProvider
service_info: ServiceInformation
submission_date: date = Field(..., description="Date of submission") No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@outtanames no field description required?

class ServiceType(str, Enum):
INPATIENT = "Inpatient"
OUTPATIENT = "Outpatient"
HOME_HEALTH = "Home Health"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use lowercase and hyphens home-health for enums.

from enum import Enum

class ServiceType(str, Enum):
INPATIENT = "Inpatient"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use lowercase


class MemberInformation(BaseModel):
member_id: str = Field(..., description="Member's insurance ID number")
first_name: str
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of these fields need to be Optional[str] with Field(None, description=...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants