Skip to content

Commit

Permalink
Add static event time
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanSteinberg committed Apr 28, 2024
1 parent 0cfcc81 commit 21410c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/meds/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
birth_code = "SNOMED/184099003"
death_code = "SNOMED/419620001"

# We define static events as always occurring on January 1st, 1 AD
static_event_time = datetime.datetime(1, 1, 1)


def patient_schema(per_event_properties_schema=pa.null()):
# Return a patient schema with a particular per event metadata subschema
Expand Down

0 comments on commit 21410c2

Please sign in to comment.