rkdoc1
(Ritesh Kumar)
September 9, 2021, 2:28pm
1
Hi Bahmni community,
I am working on making different section in patient registration page of bahmni.
can anyone please guide why we do we need the title attribute if we are not displaying it.
gsluthra
(Gurpreet Luthra)
September 10, 2021, 3:26pm
2
You seem to be right about this. I think the Additional Information UI title is hardcoded in code to: REGISTRATION_TITLE_ADDITIONAL_PATIENT
.
See code line:
It seems the translation is being picked from this file:
"REGISTRATION_LABEL_NAME":"Name",
"REGISTRATION_LABEL_ID":"ID",
"REGISTRATION_LABEL_NO_RESULTS":"No more results",
"REGISTRATION_LABEL_SUMMARY":"Summary",
"REGISTRATION_LABEL_CLOSE_VISIT":"Close Visit",
"REGISTRATION_LABEL_YES":"Yes",
"REGISTRATION_LABEL_NO":"No",
"REGISTRATION_LABEL_SAVE":"<u>S</u>ave",
"REGISTRATION_LABEL_BACK":"<u>B</u>ack",
"REGISTRATION_LABEL_ENTER_VISIT":"Enter <u>V</u>isit Details",
"REGISTRATION_TITLE_ADDITIONAL_PATIENT":"Additional Patient Information",
"REGISTRATION_TITLE_RELATIONSHIPS":"Relationships",
"REGISTRATION_CONTENT_ENTERING_ID":"You are entering ID(s) which is ahead of the Sequence. It will create a gap in the Sequence. Do you want to continue?",
"REGISTRATION_LABEL_SAVED" : "Saved",
"REGISTRATION_NO_RESULTS_FOUND":"No results found",
"REGISTRATION_INSUFFICIENT_PRIVILEGE": "You don't have privilege to do this action.",
"REGISTRATION_LABEL_COULD_NOT_FIND_PATIENT":"Could not find patient with identifier {{patientIdentifier}}. Please verify the patient ID entered or create a new patient record with this ID.",
"REGISTRATION_VISIT_CANNOT_BE_CLOSED":"Admitted patient's visit cannot be closed. Discharge the patient and try again",
"REGISTRATION_CONFIRM_CLOSE_VISIT":"Are you sure you want to close this visit?",
"REGISTRATION_LABEL_CORRECT_ERRORS":"Please correct errors in the form. Information not saved",
"REGISTRATION_LABEL_ENTER_MANDATORY_FIELDS":"Please enter data into mandatory field(s).",
As per this documentation page, title
should have reflected on screen.
https://bahmni.atlassian.net/wiki/spaces/BAH/pages/34013806/Registration+App
Maybe someone else can clarify who is more familiar with this part of Bahmni.
cc: @binduak @angshuonline @buvaneswariarun
1 Like