how to include dropDown with civil status

Hi,

i need insert into “referenceapplication.registerPatient.MyRegister” a dropDown with civil status: this is the code and the configuration in concepts and person attribute.

                        {
                            "type": "personAttribute",
                            "label": "Estado civil",
                            "formFieldName": "EstadoCivil",
                            "uuid": "8d871f2a-c2cc-11de-8d13-0010c6dffd0f",
                            "widget": {
                                "providerName": "uicommons",
                                "fragmentId": "field/dropDown",
                                "config": {
                                    "formFieldName": "Civil Status",
                                    "conceptSet": "9095c29c-4e33-4f64-9a3b-b4a2f61303cf",
                                    "regex":"[a-zA-Z]+$",
                                    "options": [
                                        {
                                        "label": "",
                                        "value": ""
                                        }
                                        ],
                                    "initialValue": "",
                                    "hideEmptyLabel": true,
                                    "expanded": false
                                }
                            },"cssClasses": ["required","regex"]           
                        }

image

Is this of help? https://wiki.openmrs.org/display/docs/Registration+App+Configuration

HI,

where I find the “concept set” is the same as the UUID?

image

Thanks for all, this my code for future issues.

                        {
                            "label": "Rango militar",
                            "type": "personAttribute",
                            "formFieldName": "Rango militar",
                            "uuid": "1842fd9e-f094-497e-a150-8f51df96a3ca",
                            "widget": {
                                "providerName": "registrationapp",
                                "fragmentId": "field/dropDown",
                                "config": {
                                    "formFieldName": "Rango militar",
                                    "conceptSet": "693b09f5-6abd-444c-a6fa-785d599f0427",
                                    "options": [{
                                        "label": "",
                                        "value": ""
                                    }],
                                    "initialValue": "",
                                    "hideEmptyLabel": true,
                                    "expanded": false
                                }
                            },
                            "cssClasses": ["required"]
                        },
                        {
                            "label": "Estado militar",
                            "type": "personAttribute",
                            "formFieldName": "Estado militar",
                            "uuid": "f219970c-0353-4cfb-8501-1c5bdb819e06",
                            "widget": {
                                "providerName": "registrationapp",
                                "fragmentId": "field/dropDown",
                                "config": {
                                    "formFieldName": "Estado militar",
                                    "conceptSet": "026dc35e-f6ed-4ba7-8a11-c625bbe0b46d",
                                    "options": [{
                                        "label": "",
                                        "value": ""
                                    }],
                                    "initialValue": "",
                                    "hideEmptyLabel": true,
                                    "expanded": false
                                }
                            },
                            "cssClasses": ["required"]
                        }