PDS FHIR API - Address format

Hi all,

I’m seeking support on how to best manage addresses returned from the FHIR API. The API will return up to 5 line objects and a separate postcode, however if any of the lines are blank they are not returned.

Is there guidance/recommendations on how to display this information and nicely map this to separate address line fields without displaying the wrong information in the wrong field?