Skip to content

Commit

Permalink
Merge pull request #11 from beda-software/issue-10
Browse files Browse the repository at this point in the history
Get rid of date/dateTime/time conversion #10
  • Loading branch information
m0rl authored Aug 28, 2024
2 parents 20625d8 + 15df379 commit 7dfe431
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion fhir_py_types/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def main() -> None:
resource_file.writelines(
[
"from typing import List as List_, Optional as Optional_, Literal as Literal_, Annotated as Annotated_\n",
"from datetime import time, date, datetime\n",
"from {} import {} as BaseModel\n".format(
*args.base_model.rsplit(".", 1)
),
Expand Down
6 changes: 3 additions & 3 deletions fhir_py_types/reader/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
FHIR_TO_SYSTEM_TYPE_MAP = {
"System.String": "str",
"System.Boolean": "bool",
"System.Time": "time",
"System.Date": "date",
"System.DateTime": "datetime",
"System.Time": "str",
"System.Date": "str",
"System.DateTime": "str",
"System.Decimal": "int",
"System.Integer": "int",
}
Expand Down

0 comments on commit 7dfe431

Please sign in to comment.