Click or drag to resize

IHdsiServiceContractGetBarcode Method

Gets the specified barcode for the resource

Namespace:  SanteDB.Rest.HDSI
Assembly:  SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 2.2.1
Syntax
Stream GetBarcode(
	string resourceType,
	string id,
	string authority
)

Parameters

resourceType
Type: SystemString

[Missing <param name="resourceType"/> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.GetBarcode(System.String,System.String,System.String)"]

id
Type: SystemString

[Missing <param name="id"/> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.GetBarcode(System.String,System.String,System.String)"]

authority
Type: SystemString

[Missing <param name="authority"/> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.GetBarcode(System.String,System.String,System.String)"]

Return Value

Type: Stream

[Missing <returns> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.GetBarcode(System.String,System.String,System.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