From 20d98948b89978deecb7293a1bc2c093b4f5876f Mon Sep 17 00:00:00 2001 From: Josh Humphries Date: Wed, 30 Oct 2024 10:09:42 +0000 Subject: [PATCH] feat: add occurrenceID to preparation GGBN recommend including it, so here it is. --- dataimporter/emu/views/preparation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dataimporter/emu/views/preparation.py b/dataimporter/emu/views/preparation.py index c260d26..70e6f12 100644 --- a/dataimporter/emu/views/preparation.py +++ b/dataimporter/emu/views/preparation.py @@ -169,6 +169,7 @@ def transform(self, record: SourceRecord) -> dict: "preparationProcess": get_preparation_process(record), "preparationDate": gf("EntPreDate"), "purpose": get_purpose(record), + "occurrenceID": gf("AdmGUIDPreferredValue"), "created": emu_date(gf("AdmDateInserted"), gf("AdmTimeInserted")), "modified": emu_date(gf("AdmDateModified"), gf("AdmTimeModified")), }