FHIR profiles define so called modifiers as well as the cardinality for each field of a profile.
This information has direct influence on the data selection and whether a field should be selected.
The fhir ontology generator uses this and other information to add to attributes to each field:
required
and
recommended.
both influence the UI as follows:
required:
If a field is required it has to be added to the dataselection and it should be selected as the health data element (like e.g. Diagnosis) is added to the data selection.
Further the element should be displayed as selected and the tick for the selection be greyed out, as it cannot be removed from the dataselection.
recommended:
If a field is recommended it has to be added to the dataselection and it should be selected as the health data element (like e.g. Diagnosis) is added to the data selection.
A recommended field, unlike a required one, can be de-selected and appears as a standard selected field.
FHIR profiles define so called modifiers as well as the cardinality for each field of a profile.
This information has direct influence on the data selection and whether a field should be selected.
The fhir ontology generator uses this and other information to add to attributes to each field: required and recommended.
both influence the UI as follows:
required:
If a field is required it has to be added to the dataselection and it should be selected as the health data element (like e.g. Diagnosis) is added to the data selection.
Further the element should be displayed as selected and the tick for the selection be greyed out, as it cannot be removed from the dataselection.
recommended:
If a field is recommended it has to be added to the dataselection and it should be selected as the health data element (like e.g. Diagnosis) is added to the data selection.
A recommended field, unlike a required one, can be de-selected and appears as a standard selected field.
Example excerpt from the ontology json: