care.emr.resources.valueset.spec module¶
- class ValueSetStatusOptions(*values)¶
-
- draft = 'draft'¶
- active = 'active'¶
- retired = 'retired'¶
- unknown = 'unknown'¶
- class ValueSetBaseSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] = None, slug: Annotated[str, MinLen(min_length=5), MaxLen(max_length=36), AfterValidator(func=slug_validator)], name: str, description: str, compose: ValueSetCompose, status: ValueSetStatusOptions, is_system_defined: bool = False)¶
Bases:
EMRResource- slug: Annotated[str, FieldInfo(annotation=NoneType, required=True, metadata=[MinLen(min_length=5), MaxLen(max_length=36)]), AfterValidator(func=slug_validator)]¶
- compose: ValueSetCompose¶
- status: ValueSetStatusOptions¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ValueSetSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] = None, slug: Annotated[str, MinLen(min_length=5), MaxLen(max_length=36), AfterValidator(func=slug_validator)], name: str, description: str, compose: ValueSetCompose, status: ValueSetStatusOptions, is_system_defined: bool = False)¶
Bases:
ValueSetBaseSpec- validate_slug_system()¶
- 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 ValueSetReadSpec(*, meta: dict = {}, id: Annotated[UUID, UuidVersion(uuid_version=4)] = None, slug: Annotated[str, MinLen(min_length=5), MaxLen(max_length=36), AfterValidator(func=slug_validator)], name: str, description: str, compose: ValueSetCompose, status: ValueSetStatusOptions, is_system_defined: bool = False, created_by: UserSpec = {}, updated_by: UserSpec = {})¶
Bases:
ValueSetBaseSpec- classmethod perform_extra_serialization(mapping, obj)¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].