care.emr.fhir.utils module

parse_value_field(parameter: dict[str, Any]) Any

Extract value from different FHIR value fields.

parse_extension(extension_list: list[dict[str, Any]]) dict[str, Any]

Parse FHIR extension fields.

parse_designation_part(parts: list[dict[str, Any]]) dict[str, Any]

Parse designation parts into a structured format.

parse_fhir_property_part(parts: list[dict[str, Any]]) dict[str, Any]

Parse FHIR property parts into a structured format.

parse_fhir_parameter_output(parameters: list[dict[str, Any]]) dict[str, Any]

Parse FHIR parameter response into a structured format.

Parameters:

parameters – List of FHIR parameters

Returns:

Dict containing parsed FHIR data