care.emr.resources.facility_organization.facility_orgnization_user_spec module

class FacilityOrganizationUserBaseSpec(*, meta: dict = {})

Bases: EMRResource

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class FacilityOrganizationUserUpdateSpec(*, meta: dict = {}, role: Annotated[UUID, UuidVersion(uuid_version=4)])

Bases: FacilityOrganizationUserBaseSpec

role: Annotated[UUID, UuidVersion(uuid_version=4)]
classmethod validate_role(role)
perform_extra_deserialization(is_update, obj)
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class FacilityOrganizationUserWriteSpec(*, meta: dict = {}, role: Annotated[UUID, UuidVersion(uuid_version=4)], user: Annotated[UUID, UuidVersion(uuid_version=4)])

Bases: FacilityOrganizationUserUpdateSpec

user: Annotated[UUID, UuidVersion(uuid_version=4)]
classmethod validate_user(user)
perform_extra_deserialization(is_update, obj)
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class FacilityOrganizationUserReadSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)], user: dict, role: dict)

Bases: FacilityOrganizationUserBaseSpec

id: Annotated[UUID, UuidVersion(uuid_version=4)]
user: dict
role: dict
classmethod perform_extra_serialization(mapping, obj)
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].