-
Notifications
You must be signed in to change notification settings - Fork 40
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
[IMP] impressions: Remove dependancy on encounters #246
Conversation
4381734
to
ee3d200
Compare
ee3d200
to
67e35ed
Compare
@@ -36,21 +36,13 @@ | |||
<field name="name">Gynecology</field> | |||
<field name="description">Gynecology</field> | |||
</record> | |||
<record id="encounter_01_patient_01" model="medical.encounter"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esto no lo añades en medical_clinical_impression_encounter
<record id="impression_01_patient_01" model="medical.clinical.impression"> | ||
<field name="fhir_state">completed</field> | ||
<field | ||
name="specialty_id" | ||
ref="medical_clinical_impression.specialty_gynecology" | ||
/> | ||
<field name="patient_id" ref="medical_base.patient_01" /> | ||
<field |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esto creo que también se debería añadir en medical_clinical_impression_encounter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Son datos de DEmo y no son muy relevantes
# FHIR: encounter | ||
|
||
patient_id = fields.Many2one( | ||
related="encounter_id.patient_id", readonly=True, states={} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
De esta forma, al instalar este módulo se sobreescribe el comportamiento del campo patient_id y ya no puede ser elegido será establecido por el patient relacionado en el campo encounter_id. ¿Es la intención la de tener diferente funcionamiento?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Si, es la idea
9aac4d8
to
3d0acd2
Compare
No description provided.