Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tracking] Map fields of PersonDto #4

Open
JonasCir opened this issue Nov 25, 2020 · 0 comments
Open

[Tracking] Map fields of PersonDto #4

JonasCir opened this issue Nov 25, 2020 · 0 comments
Labels
integration Integration with external systems, for example related to the fields of a DTO send to SORMAS

Comments

@JonasCir
Copy link
Collaborator

JonasCir commented Nov 25, 2020

The following fields of PersonDto are already generated, mapped and fully imported into SORMAS:

  • uuid
  • first_name
  • last_name Note: Still requires renaming in generator: family_name
  • sex
  • birthdate_yyyy
  • latitude via address location
  • longitude via address location
  • address via address location, however this is generated as the name of the district
  • died Note: Should be moved to case later
    The following fields are generated, but not mapped
  • local_health_authority
  • onset_date
  • country_of_residence Question: Is this possible in SORMAS?
  • hospitalized

The following fields can be dropped from the generator

  • age_group
  • reporting_week
  • is_case
  • has_symptoms Note: The symptoms table can be used directly
  • generation
  • has_contact
  • was_in_event

The follwing fields are generated and used in the logic, but not mapped directly

  • age: birthdate_yyyy = reporting_date - person.age

The following fields should be moved to an other entity in the generator:

  • reporting_date
  • infection_date
  • infected_by
  • contact_contacted
  • contact_quarantine
  • contact_tested

The following fields are unclear:

  • case_def_id
  • degree
@JonasCir JonasCir added the integration Integration with external systems, for example related to the fields of a DTO send to SORMAS label Nov 25, 2020
@stephaneghozzi stephaneghozzi self-assigned this Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration Integration with external systems, for example related to the fields of a DTO send to SORMAS
Projects
None yet
Development

No branches or pull requests

2 participants