care.emr.resources.common.contact_point module¶
- class ContactPointSystemChoices(*values)¶
-
- phone = 'phone'¶
- fax = 'fax'¶
- email = 'email'¶
- pager = 'pager'¶
- url = 'url'¶
- sms = 'sms'¶
- other = 'other'¶
- class ContactPointUseChoices(*values)¶
-
- home = 'home'¶
- work = 'work'¶
- temp = 'temp'¶
- old = 'old'¶
- mobile = 'mobile'¶
- class ContactPoint(*, system: ContactPointSystemChoices, value: str, use: ContactPointUseChoices)¶
Bases:
BaseModel
- system: ContactPointSystemChoices¶
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'system': FieldInfo(annotation=ContactPointSystemChoices, required=True), 'use': FieldInfo(annotation=ContactPointUseChoices, required=True), 'value': FieldInfo(annotation=str, required=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
This replaces Model.__fields__ from Pydantic V1.