arkhn / fhir-river

Live ETL pipeline to standardize Health Data into FHIR.
Apache License 2.0
42 stars 4 forks source link

feat(api): operation outcome severity as enum #658

Closed tevariou closed 3 years ago

tevariou commented 3 years ago

Fixes

Asked here https://github.com/arkhn/fhir-river/issues/654#issuecomment-936525351

Description

@BPierrick can you check whether the enum is correct from what you receive from the api ? I've looked into hapi code but I don't know if the first letters are uppercase or not for instance.

-> https://www.hl7.org/fhir/valueset-issue-severity.html

Definition of Done

BPierrick commented 3 years ago

@tevariou I've checked, and the first letter has to be lowercase.

Unfortunately I don't know how to check all the different values severity can have :/

BPierrick commented 3 years ago

@tevariou It seems like the different enum values are listed here : https://hapifhir.io/hapi-fhir/apidocs/hapi-fhir-structures-r4/org/hl7/fhir/r4/model/OperationOutcome.IssueSeverity.html

tevariou commented 3 years ago

@tevariou I've checked, and the first letter has to be lowercase.

Unfortunately I don't know how to check all the different values severity can have :/

Thank you! I got the list :)... https://www.hl7.org/fhir/valueset-issue-severity.html