Click or drag to resize

HdsiServiceBehaviorGetBarcode Method

Gets the specified barcode for the resource

Namespace: SanteDB.Rest.HDSI
Assembly: SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntax
public virtual Stream GetBarcode(
	string resourceType,
	string id
)

Parameters

resourceType  String
The type of resource for which the VRP should be generated
id  String
The identifier of the resource for which a VRP should be generated

Return Value

Stream
The generated VRP code in PNG format

Implements

IHdsiServiceContractGetBarcode(String, String)
Remarks
This method returns a barcode which explicitly points at the specified resource in the specified authority. The barcode is generated using the server's configuration, and is signed by the server's signing key. For complete specification see: https://help.santesuite.org/santedb/extending-santedb/service-apis/health-data-service-interface-hdsi/digitally-signed-visual-code-api
See Also