Stream: Death on FHIR
Topic: Canary Not Recognizing Certificate Number
Saul Kravitz (Aug 03 2021 at 15:19):
Janet_Page_86759-20210528-fhir-1.json
Canary does not appear to find a Certificate Number in the record (both in the Death Record Inspector and at the top level of test results); the file does appear to contain "2019-000006" as a certificate number, why is Canary not seeing that (the test would still fail since Canary is expecting 50 by default but Canary should report finding something in the file)?
Saul Kravitz (Aug 03 2021 at 15:26):
The certificate number is provided as a string:
{
"resource": {
"resourceType": "Parameters",
"parameter": [ {
"name": "jurisdiction_id",
"valueString": "HI"
}, {
"name": "cert_no",
"valueString": "2019-000006"
}, {
"name": "death_year",
"valueInteger": 2019
} ]
}
}
The certificate number is provided as a string, whereas it is expected to be an integer.
So the following would work:
"valueInteger": "2019000006"
"valueInteger": "000006"
Last updated: Apr 12 2022 at 19:14 UTC