get

abstract suspend fun get(type: ResourceType, id: String): Resource

Loads a FHIR resource given its ResourceType and logical ID.

Return

The requested FHIR resource.

Parameters

type

The type of the resource to load.

id

The logical ID of the resource.

Throws

if the resource is not found.