Click or drag to resize

ResourceHandlerBaseTFhirResource, TModelRead(String, String) Method

Retrieves a specific resource.

Namespace: SanteDB.Messaging.FHIR.Handlers
Assembly: SanteDB.Messaging.FHIR (in SanteDB.Messaging.FHIR.dll) Version: 3.0.2081-alpha+4e2291b954f20d29cba15591683155ca851b26eb
Syntax
public Resource Read(
	string id,
	string versionId
)

Parameters

id  String
The identifier of the resource to retrieve
versionId  String
The version of the resource

Return Value

Resource
Returns the FHIR operation result containing the retrieved resource.

Implements

IFhirResourceHandlerRead(String, String)
Exceptions
ExceptionCondition
ArgumentNullExceptionThe identifier is not present
ArgumentExceptionThe identifier is not a UUID
KeyNotFoundExceptionThe specified object could not be found
See Also