Hi
We have developed a FHIR-server with many resources. Some of our resources does extend a FHIR-resource (e.g. Location) others are base ressources (and extend ca.uhn.fhir.model.dstu2.resource.BaseResource).
We use DSTU2 and Hapi 2.2.
I am doing a general walk-through and notice that sometimes we have overridden getAllPopulatedChildElementsOfType (inherited from ICompositeElement), sometimes we haven't.
/**
* Returns a list containing all child elements matching a given type
*
* @param theType The type to match. If set to null, all child elements will be returned
*/
<T extends IElement>
List<T> getAllPopulatedChildElementsOfType(Class<T> theType);
What is the hapi-usage of this (our own code doesn't use it) - do we need to implement it?