added tests

This commit is contained in:
Alexander Domene
2025-10-27 08:19:13 +01:00
parent a71284ee64
commit 8650bd09a3
27 changed files with 5706 additions and 110 deletions

120
mapping_config.json Normal file
View File

@@ -0,0 +1,120 @@
{
"resources": {
"Observation": {
"target": "goziffer",
"fields": {
"go": {
"default": "EBM"
},
"ziffer": {
"source": "code.coding[0]",
"translate": {
"source_system_field": "system",
"source_code_field": "code"
},
"required": true,
"placeholder": "99999"
},
"datum": {
"source": "effectiveDateTime"
},
"text": {
"source": "code.coding[0].display",
"placeholder": "Observation"
},
"anzahl": {
"default": "1"
}
}
},
"Procedure": {
"target": "goziffer",
"fields": {
"go": {
"default": "EBM"
},
"ziffer": {
"source": "code.coding[0].code",
"required": true,
"placeholder": "99999"
},
"datum": {
"source": "performedDateTime"
},
"text": {
"source": "code.coding[0].display",
"placeholder": "Procedure"
},
"anzahl": {
"default": "1"
}
}
},
"ServiceRequest": {
"target": "goziffer",
"fields": {
"go": {
"default": "EBM"
},
"ziffer": {
"source": "code.coding[0].code",
"required": true,
"placeholder": "99999"
},
"datum": {
"source": "authoredOn"
},
"text": {
"source": "code.coding[0].display",
"placeholder": "ServiceRequest"
},
"anzahl": {
"default": "1"
}
}
},
"DiagnosticReport": {
"target": "goziffer",
"fields": {
"go": {
"default": "EBM"
},
"ziffer": {
"source": "code.coding[0].code",
"required": true,
"placeholder": "99999"
},
"datum": {
"source": "issued"
},
"text": {
"source": "code.coding[0].display",
"placeholder": "DiagnosticReport"
},
"anzahl": {
"default": "1"
}
}
},
"MedicationAdministration": {
"target": "goziffer",
"fields": {
"go": {
"default": "EBM"
},
"ziffer": {
"placeholder": "99998"
},
"datum": {
"source": "effectiveDateTime"
},
"text": {
"placeholder": "MedicationAdministration"
},
"anzahl": {
"default": "1"
}
}
}
}
}