Skip to main content

divoc@0.1.0

certifyVaccination(data)

Functions

certifyVaccination

certifyVaccination(data) ⇒ Operation

Certify a vaccination

ParamTypeDescription
dataObjectVaccinationobject

This operation writes the following keys to state:

State KeyDescription
dataThe response body (as JSON)
responseThe HTTP response from the DIVOC server (excluding the body)
referencesAn array of the previous data object used in the job

Example: Certify a vaccination object

certifyVaccination({
"preEnrollmentCode": "string",
"recipient": {
"name": "string",
"dob": "2025-03-20",
"age": "string",
"gender": "string",
"nationality": "string",
"identity": "string",
"contact": [
"string"
],
"address": {
"addressLine1": "string",
"addressLine2": "string",
"district": "string",
"state": "string",
"pincode": 0
}
},
"vaccination": {
"name": "string",
"batch": "string",
"manufacturer": "string",
"date": "2025-03-20T06:08:22.394Z",
"effectiveStart": "2025-03-20",
"effectiveUntil": "2025-03-20",
"dose": 1,
"totalDoses": 2
},
"vaccinator": {
"name": "string"
},
"facility": {
"name": "string",
"address": {
"addressLine1": "string",
"addressLine2": "string",
"district": "string",
"state": "string",
"pincode": 0
}
},
"meta": {}
});


Interfaces

DivocHttpState

State object

Properties

NameDescription
dataThe response body (as JSON)
responseThe HTTP response from the DIVOC server (excluding the body)
referencesAn array of the previous data object used in the job