mirror of
https://github.com/pcvolkmer/etl-processor.git
synced 2025-07-01 14:12:55 +00:00
@ -255,6 +255,7 @@ infix fun Mtb.pseudonymizeWith(pseudonymizeService: PseudonymizeService) {
|
|||||||
this.claims?.forEach { it.patient.id = patientPseudonym }
|
this.claims?.forEach { it.patient.id = patientPseudonym }
|
||||||
this.claimResponses?.forEach { it.patient.id = patientPseudonym }
|
this.claimResponses?.forEach { it.patient.id = patientPseudonym }
|
||||||
this.diagnoses?.forEach { it.patient.id = patientPseudonym }
|
this.diagnoses?.forEach { it.patient.id = patientPseudonym }
|
||||||
|
this.familyMemberHistories?.forEach { it.patient.id = patientPseudonym }
|
||||||
this.histologyReports?.forEach {
|
this.histologyReports?.forEach {
|
||||||
it.patient.id = patientPseudonym
|
it.patient.id = patientPseudonym
|
||||||
it.results.tumorMorphology?.patient?.id = patientPseudonym
|
it.results.tumorMorphology?.patient?.id = patientPseudonym
|
||||||
|
@ -207,7 +207,7 @@ class ExtensionsTest {
|
|||||||
inner class UsingDnpmV2Datamodel {
|
inner class UsingDnpmV2Datamodel {
|
||||||
|
|
||||||
val FAKE_MTB_FILE_PATH = "mv64e-mtb-fake-patient.json"
|
val FAKE_MTB_FILE_PATH = "mv64e-mtb-fake-patient.json"
|
||||||
val CLEAN_PATIENT_ID = "e14bf9b6-7982-4933-a648-cfdea6484f1c"
|
val CLEAN_PATIENT_ID = "aca5a971-28be-4089-8128-0036a4fe6f1a"
|
||||||
|
|
||||||
private fun fakeMtbFile(): Mtb {
|
private fun fakeMtbFile(): Mtb {
|
||||||
val mtbFile = ClassPathResource(FAKE_MTB_FILE_PATH).inputStream
|
val mtbFile = ClassPathResource(FAKE_MTB_FILE_PATH).inputStream
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user