Skip to content

MedicationAdministration should not override a value set as medicationUseStatus #20

@cragun47

Description

@cragun47

Currently if MedicationAdministration does not have a medicationUseOccuranceDateTime, then the medicationUseStatus is overridden to unknown. If the use status is provided, it should be retained.
medicationUseOccuranceDateTime will cause a MedicationStatement to be created and it defaults to "unknown" if a medicationUseStatus is not provided. Thus a default is already accounted for.

Change code so if a medicationUseStatus is provided, it is retained.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcomplete

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions