DHIR Immunization PIN

How To Prepare Immunization PIN for transportation using FHIR

(Generating the Immunization_Context for HTTP Header)


Before using your pin as the Immunization_Context header, the pin must be properly formatted.

 

  1. Convert your pin into SHA256 using PIN Digits to SHA256 Converter: http://www.xorbin.com/tools/sha256-hash-calculator
  2. Place the converted SHA256 value into <SHA256 VALUE> in the format below:

{

"pin":"<SHA256 VALUE>"

}

  1. Convert the result from above into base64 using the Base64Encoder: https://www.base64encode.org/

Example of a pin "123123": 

ew0KInBpbiI6IjhkOTY5ZWVmNmVjYWQzYzI5YTNhNjI5MjgwZTY4NmNmMGMzZjVkNWE4NmFmZjNjYTEyMDIwYzkyM2FkYzZjOTIiDQp9

  1. Paste the resulting base64 encoded string as the value for the Immunization_Context header key