RelatedResourceCount
data class RelatedResourceCount(val relatedResourceType: ResourceType? = null, val parentResourceId: String? = null, val count: Long)
This model represent a count result for RepositoryResourceData. The parentResourceId refers to the id of the parent resource that we are interested in counting it's related resources.
Example: Count all Task resources for a Patient identified by 'abcxyz'. The response will be represented as RelatedResourceCount(relatedResourceType= 'Task', relatedResourceId = "abcxyz", count = 0)