1
0
mirror of https://github.com/pcvolkmer/mv64e-onkostar-data.git synced 2025-09-13 16:02:52 +00:00

feat: use Tumorzellgehalt between 0.0 and 1.0

This commit is contained in:
2025-07-06 20:11:32 +02:00
parent 51217688aa
commit 5346798caf
2 changed files with 2 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ public class KpaHistologieDataMapper extends AbstractSubformDataMapper<Histology
.id(resultSet.getId().toString())
.patient(resultSet.getPatientReference())
.specimen(Reference.builder().id(osMolGen.getId().toString()).type("Specimen").build())
.value(resultSet.getLong("tumorzellgehalt"))
.value(resultSet.getLong("tumorzellgehalt") / 100.0)
// TODO: Nicht in OS.Molekulargenetik
.method(TumorCellContentMethodCoding.builder().code(TumorCellContentMethodCodingCode.HISTOLOGIC).build())
.build()

View File

@@ -104,7 +104,7 @@ public class KpaMolekulargenetikDataMapper implements DataMapper<SomaticNgsRepor
.id(resultSet.getId().toString())
.patient(resultSet.getPatientReference())
.specimen(Reference.builder().id(resultSet.getString("einsendenummer")).type("Specimen").build())
.value(resultSet.getLong("tumorzellgehalt"))
.value(resultSet.getLong("tumorzellgehalt") / 100.0)
// TODO: Missing in OS.Molekulargenetik
.method(TumorCellContentMethodCoding.builder().code(TumorCellContentMethodCodingCode.HISTOLOGIC).build())
.build()