Patient entity¶
Generate patients with identity, clinical profile, conditions, medication, and insurance data.
Why: Use Patient when healthcare scenarios need coherent identity, demographics, conditions, medication, and insurance data; use Person when clinical attributes are outside the business requirement.
1 | |
Output: Typed Patient value.
Parameters¶
dataset:str | null; DefaultNone— Country dataset used for identity, demographics, and healthcare conventions.
Attributes¶
address(dict): Structured postal address fields.age(int): Age in years derived from birthdate.allergies(list[str]): Known allergies.birthdate(datetime): Date of birth in generator timezone.blood_type(str): Blood type.bmi(float): Body mass index.conditions(list[str]): Medical conditions.emergency_contact(dict[str, str]): Emergency contact name, relationship, and phone.family_name(str): Localized family name (surname).full_name(str): Concatenated full name.gender(str): Gender token emitted by configured dataset.given_name(str): Localized given name (first name).height_cm(float): Height in centimeters.insurance_policy_number(str): Health insurance policy number.insurance_provider(str): Health insurance provider.medical_record_number(str): Medical record number.medications(list[str]): Current medications.patient_id(str): Synthetic patient identifier.person(Person): Underlying person profile.ssn(str): Social security number.transaction_profile(str | dict | None): Demographic transaction profile hints.weight_kg(float): Weight in kilograms.
Limits¶
The available attributes and values depend on the registered entity, its dataset, and its documented constructor options.