care.emr.resources.medication.statement.spec module¶
- class MedicationStatementStatus(*values)¶
-
- active = 'active'¶
- on_hold = 'on_hold'¶
- completed = 'completed'¶
- stopped = 'stopped'¶
- unknown = 'unknown'¶
- entered_in_error = 'entered_in_error'¶
- not_taken = 'not_taken'¶
- intended = 'intended'¶
- class MedicationStatementInformationSourceType(*values)¶
-
- practitioner = 'practitioner'¶
- patient = 'patient'¶
- class BaseMedicationStatementSpec(*, meta: dict = {}, id: ~typing.Annotated[~uuid.UUID, ~pydantic.types.UuidVersion(uuid_version=4)] = None, status: ~care.emr.resources.medication.statement.spec.MedicationStatementStatus, reason: str | None = None, medication: ~care.emr.utils.valueset_coding_type.ValueSetBoundCoding.__class_getitem__.<locals>.BoundCoding, dosage_text: str | None = None, effective_period: ~care.emr.resources.base.PeriodSpec | None = None, encounter: ~typing.Annotated[~uuid.UUID, ~pydantic.types.UuidVersion(uuid_version=4)], information_source: ~care.emr.resources.medication.statement.spec.MedicationStatementInformationSourceType | None = None, note: str | None = None)¶
Bases:
EMRResource- status: MedicationStatementStatus¶
- medication: BoundCoding¶
- effective_period: PeriodSpec | None¶
- information_source: MedicationStatementInformationSourceType | None¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class MedicationStatementUpdateSpec(*, meta: dict = {}, status: MedicationStatementStatus, effective_period: PeriodSpec | None = None, note: str | None = None)¶
Bases:
EMRResource- status: MedicationStatementStatus¶
- effective_period: PeriodSpec | None¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class MedicationStatementSpec(*, meta: dict = {}, id: ~typing.Annotated[~uuid.UUID, ~pydantic.types.UuidVersion(uuid_version=4)] = None, status: ~care.emr.resources.medication.statement.spec.MedicationStatementStatus, reason: str | None = None, medication: ~care.emr.utils.valueset_coding_type.ValueSetBoundCoding.__class_getitem__.<locals>.BoundCoding, dosage_text: str | None = None, effective_period: ~care.emr.resources.base.PeriodSpec | None = None, encounter: ~typing.Annotated[~uuid.UUID, ~pydantic.types.UuidVersion(uuid_version=4)], information_source: ~care.emr.resources.medication.statement.spec.MedicationStatementInformationSourceType | None = None, note: str | None = None)¶
Bases:
BaseMedicationStatementSpec- classmethod validate_encounter_exists(encounter)¶
- 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 MedicationStatementReadSpec(*, meta: dict = {}, id: ~typing.Annotated[~uuid.UUID, ~pydantic.types.UuidVersion(uuid_version=4)] = None, status: ~care.emr.resources.medication.statement.spec.MedicationStatementStatus, reason: str | None = None, medication: ~care.emr.utils.valueset_coding_type.ValueSetBoundCoding.__class_getitem__.<locals>.BoundCoding, dosage_text: str | None = None, effective_period: ~care.emr.resources.base.PeriodSpec | None = None, encounter: ~typing.Annotated[~uuid.UUID, ~pydantic.types.UuidVersion(uuid_version=4)], information_source: ~care.emr.resources.medication.statement.spec.MedicationStatementInformationSourceType | None = None, note: str | None = None, created_by: ~care.emr.resources.user.spec.UserSpec = {}, updated_by: ~care.emr.resources.user.spec.UserSpec = {}, created_date: ~datetime.datetime, modified_date: ~datetime.datetime)¶
Bases:
BaseMedicationStatementSpec- classmethod perform_extra_serialization(mapping, obj)¶
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].