ITEM TYPE: "QR"
This type of ITEM is used to display a QR Code. The contents of the QR must be generated by a FORM FORMULAS
The API functions that return this type of ITEM do not return the image of a QR. They return only the text that should be encoded in the QR. The client application is responsible of generating and displaying the QR Code.
This type of ITEM can be used to generate a PKPass card downloadable to the Wallet (in iOS) or an Android application that supports the PKPSS format. See more details below:
PKPASS Generation
If the properties PKPASS_FIELDS and/or PKPASS_BACK_FIELDS are defined and have valid information, the API functions form_get_question ( ) and form_get_summary () will include information (a hyperlink) that can be used to generate and download a PKPASS file.
Though there exist several PKPASS formats (boarding pass, event, generic, etc.), currently the format generated is always 'generic'. Form more information about the format and contents of the PKPass see the PKPass Generation Guidelines.
Currently the PKPass generated has the following format and contents:
Where the information of each section is retrieved as described in the following table:
Section | Information displayed |
---|---|
Logo | |
Logo text | Not used (left empty) |
Header fields | Date of the TASK that contains the ITEM of type QR |
Primary field | Name of the patient |
Thumbnail | Not used |
Secondary fields | |
Back fields | |
Auxiliary fields | Not used |
Square barcode | A square QR barcode generated from the value by this ITEM of type QR |
Example: