Plugin Parameters
The MMTC Plugin gives you a variety of parameters for customizing the user’s experience.
For an overview of MMTC customization, see Customization.
Contents
Brand
This is the unique code that identifies your plugin.
Your brand code will be sent to you by MMTC after being accepted into the program.
Button attribute: data-mmtc-brand
<button
data-open-mmtc-dialog
data-mmtc-brand="yourbrand"
>
Open</button>
Language
Changes the modal’s language. If omitted, the system will default to English.
One of the following ISO 639-1 codes:
es
- Spanish
en
- English
Button attribute: data-mmtc-lang
<button
data-open-mmtc-dialog
data-mmtc-brand="yourbrand"
data-mmtc-lang="es"
>
Open</button>
Test Targets
Specifies which test (covid, flu, a combination, etc.) was taken, so the user is not prompted for the test type(s). Ensure you specify test targets that align with a test type (e.g., do not specify COVID and Flu A if test kits evaluate for COVID, Flu A, and Flu B).
A comma-separated list of possible test values, including:
covid
fluA
fluB
Button attribute: data-mmtc-test-targets
<button
data-open-mmtc-dialog
data-mmtc-brand="yourbrand"
data-mmtc-test-targets="covid"
>
Open</button>
<button
data-open-mmtc-dialog
data-mmtc-brand="yourbrand"
data-mmtc-test-targets="covid,fluA,fluB"
>
Open</button>
Test Results
Specifies the result of the test (positive or negative), so the user will not be prompted for the result. You might use this if you have separate buttons for reporting a positive or negative result.
You must also specify the test targets parameter when using this option. There must be one result for each test target, and the order of the results must match the order of the targets.
A comma-separated list of possible test values, including:
positive
or negative
true
or false
1
or 0
Button attribute: data-mmtc-test-results
<button
data-open-mmtc-dialog
data-mmtc-brand="yourbrand"
data-mmtc-test-targets="covid,fluA,fluB"
data-mmtc-test-results="positive,negative,positive"
>Open</button>
Test Type
Specifies type (manufacturer) of the test, so the user is not prompted for the test type.
The system knows which test targets (e.g., COVID) are associated with each test type. You do not need to specify the test targets parameter unless you are also specifying test results. In that case, it is necessary to specify both test targets and test results to ensure the order of the results matches the order of the targets.
A manufacture code from the following list:
iHealth
AbbottBinaxNOW
Flowflex
Quidel
SiemensCLINITEST
Roche
3EOHealth
AccessBioCareStart
anp-nids
Metrix
AzureFastep
BDVeritor
CelltrionDiaTrust
Cue
Cvs
Detect
Ellume
Genabio
Gotoknow
Hotgen
Immunostics
InBios
IntrivoOn/Go
IntrivoOn/GoOne
Lucira
MaximBioClearDetect
INDICAID
InteliSwab
Osang
SDBiosensorPilot
SpeedySwab
Walgreens
Xiamen
Advin
AzureFastepPen
BioTeke
CorDx
CTKBiotech
GenBody
Mologic
NanoDitech
Oceanit
Sekisui
CorDx-Multiplex
Flowflex-Multiplex
Healgen-Multiplex
iHealth-Multiplex
Lucira-Multiplex
OHC-Multiplex
OSOM-Multiplex
Watmind-Multiplex
WellLife
Button attribute: data-mmtc-test-type
<button
data-open-mmtc-dialog
data-mmtc-brand="yourbrand"
data-mmtc-test-type="iHealth"
>
Open </button>