TheJacksonLaboratory / PhenopacketLab

An Angular/Springboot web application for the loading, editing, saving of data that follows the Phenopacket Schema
BSD 3-Clause "New" or "Revised" License
7 stars 1 forks source link

DrugType issues #301

Closed ielis closed 1 year ago

ielis commented 1 year ago

There are two issues:

BethSundberg commented 1 year ago

@belkassaby I added a PRESCRIPTION, which was saved in the json correctly. I then removed it and in the json it now shows "null". Isn't that wrong. Shouldn't there be no drugType field?

"treatment": { "drugType": null, "agent": { "id": "CHEBI:15688", "label": "acetoin" } }

BethSundberg commented 1 year ago

Fixed, drug type is gone from the json.