 | HdsiServiceBehaviorGetBarcode Method |
Gets the specified barcode for the resource
Namespace: SanteDB.Rest.HDSIAssembly: SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntaxpublic virtual Stream GetBarcode(
string resourceType,
string id
)
Public Overridable Function GetBarcode (
resourceType As String,
id As String
) As Stream
public:
virtual Stream^ GetBarcode(
String^ resourceType,
String^ id
)
abstract GetBarcode :
resourceType : string *
id : string -> Stream
override GetBarcode :
resourceType : string *
id : string -> Stream 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
StreamThe generated VRP code in PNG format
Implements
IHdsiServiceContractGetBarcode(String, String)
RemarksThis 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