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)

Constructors

Link copied to clipboard
constructor(relatedResourceType: ResourceType? = null, parentResourceId: String? = null, count: Long)

Properties

Link copied to clipboard
val count: Long
Link copied to clipboard
Link copied to clipboard
val relatedResourceType: ResourceType? = null