Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack

Documentation

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Attribute field

Additional attribute

Is mandatory while enter/create

Description

Example

name

 

Yes

Display the name fields (first name, family name, title, etc) based on the global variable layout value  

<patient field="name" />

gender

 

Yes

Display Male / Female option in drop down combo box

<patient field="gender" />

birthDate  

 

Yes

Display the birth date input text box with calendar widget support

<patient field="birthDate" />

age

 

Yes

Display the age input text box with the validation of  0 <= age <= 200

<patient field="age" />

birthDateOrAge

 

Either birth date or age

Display both birthday and age input text boxes (date filed field have the high priority)

<patient field="birthDateOrAge" />

identifier

 

Yes

Display identifier input text box and identifier types in drop down combo box

<patient field="identifier" />

identifier

identifierTypeId

Yes

If you pass identifierTypeId attribute along with Identifier tag, only identifier input text box will display

<patient field="identifier" identifierTypeId="xxx"/>

identifierLocation

 

Yes

Display the available locations in drop down combo box

<patient field="identifierLocation" />

address

 

No

Display the address fields (add1, add2, zipcode, etc) based on the global variable layout value

<patient field=”address” />

...