Skip to content

Commit

Permalink
resources: update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
abhidg committed May 10, 2024
1 parent d1d8ed6 commit c6d2738
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fhirflat/resources/condition.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def cleanup(cls, data: JsonString) -> Condition:
"coding": [
{
"system": (
"http://terminology.hl7.org/CodeSystem/" "condition-clinical"
"http://terminology.hl7.org/CodeSystem/condition-clinical"
),
"code": "unknown",
}
Expand Down
7 changes: 5 additions & 2 deletions fhirflat/resources/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,11 @@ class relativePeriod(_DataType):
An ISARIC extension recording the start and end dates an event occurred relative to
the admission date.
E.g. a an Encounter that starts on the 1st of Jan, the same day as admission, and
ends on the 5th, would have a relativePeriod extension where relativeStart is 1 and
relativePeriod is comprised of two components: relativeStart, denoting the
start of the period and relativeEnd, denoting the end of the period.
E.g. a an Encounter that starts on the 5th of Jan, the same day as admission, and
ends on the 10th, would have a relativePeriod extension where relativeStart is 1 and
relativeEnd is 5.
"""

Expand Down

0 comments on commit c6d2738

Please sign in to comment.