Skip to content

Commit

Permalink
feat: add occurrenceID to preparation
Browse files Browse the repository at this point in the history
GGBN recommend including it, so here it is.
  • Loading branch information
jrdh committed Oct 30, 2024
1 parent 9da2000 commit 20d9894
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dataimporter/emu/views/preparation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
}
Expand Down

0 comments on commit 20d9894

Please sign in to comment.