feature request #6724
Updated by Andreas Kohlbecker almost 7 years ago
This is a schematic concept for the editor UI
![](TypeFormPhycobank_v2_ak.png)
## Types Editor Component
The types editor component is used to edit the various types which belong to a typedesignation workingset
* **DerivdeUnit.kindOfUnit"** we will use the `DerivationEvent.type` to control, the kindOfUnit, SpecimenType(DerivedUnit, MediaSpecimen) and `DerivedUnit.baseOfRecord`:
| "kindOfUnitSelect" field | DerivationEvent.type` | `DerivedUnit.baseOfRecord` |
|--------------------------|------------------------|----------------------------|
| "specimen" | `DerivationEventType.GATHERING_IN_SITU()` | `SpecimenOrObservationType.PreservedSpecimen` |
| "unpublished Image" | `DerivationEventTypes.UNPUBLISHED_IMAGE()` | `SpecimenOrObservationType.StillImage` |
| "published Image" | `DerivationEventTypes.PUBLISHED_IMAGE()` | `SpecimenOrObservationType.StillImage` |
| "metabolic inactive culture" | `DerivationEventTypes.CULTURE_METABOLIC_INACTIVE()` | `SpecimenOrObservationType.LivingSpecimen` or `OtherSpecimen` ? |
selecting a different type of `DerivationEvent.type` will require subsequently changes of the SpecimenType. That is DerivedUnits need to be converted into MediaSpecimen and vice verca:
![](TypeFormPhycobank_TypesEditorComponent.png)
For the list of SpecimenTypedesignationStatus which should be offered in the select widget of the editor please see #6193