LinuxForHealth / FHIR

The LinuxForHealth FHIR® Server and related projects
https://linuxforhealth.github.io/FHIR
Apache License 2.0
326 stars 157 forks source link

FHIRProvider: Element clinicalStatus does not contain a Coding element with a valid system and code combination (Condition) #4179

Closed kidus-tiliksew closed 1 year ago

kidus-tiliksew commented 1 year ago

Describe the bug

I'm getting this error when trying to create a new Condition resource with just the following payload

{ resourceType: "Condition", clinicalStatus: { coding: [ { code: "active", display: "Active", system: "http://hl7.org/fhir/ValueSet/condition-clinical" } ] } }

Active is valid input for clinicalStatus

Environment Version 5.1.1

lmsurpre commented 1 year ago

according to https://hl7.org/fhir/valueset-condition-clinical.html the proper system for this one is http://terminology.hl7.org/CodeSystem/condition-clinical