Skip to content

Commit

Permalink
📋 documents updated, perpare for new release.
Browse files Browse the repository at this point in the history
  • Loading branch information
nazrulworld committed Apr 11, 2020
1 parent 5145f8d commit 4fa959a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ History

Improvements

- FHIR ``STU3``release version upgraded from ``3.0.1`` to ``3.0.2``, Please find changes history here https://www.hl7.org/fhir/history.html.
- FHIR ``STU3`` release version upgraded from ``3.0.1`` to ``3.0.2``, Please find changes history here https://www.hl7.org/fhir/history.html.

- FHIR ``R4`` release version upgraded from ``4.0.0`` to ``4.0.1``, find changes history here https://www.hl7.org/fhir/history.html.

Expand Down
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ initial validation, exporter as json value.

* Provides ``Resource Factory`` class (see example 4) to create resource object in more convenient way.
* Previous version of FHIR® Resources are available.
* Fully support for `fhirclient <https://pypi.org/project/fhirclient/>`_ as models.
* Free software: BSD license


Expand Down
7 changes: 7 additions & 0 deletions fhir/resources/dosage.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"""
import sys
if sys.version.startswith("2"):
# Disclaimer: Dosage is originally baseDefinition
# from http://hl7.org/fhir/StructureDefinition/BackboneElement
# But there is circular dependency problem in python2!
# extension.Extension is used in BackboneElement.modifierExtension as value type.
# and also dosage.Dosage is used as Extension.valueDosage value type.
# As a result we are using ``BackboneElement`` as base class of Dosage,
# faced import error (because od circular dependency).
from .element import Element as BaseDosage
else:
from .backboneelement import BackboneElement as BaseDosage
Expand Down
7 changes: 7 additions & 0 deletions fhir/resources/timing.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"""
import sys
if sys.version.startswith("2"):
# Disclaimer: Timing is originally baseDefinition
# from http://hl7.org/fhir/StructureDefinition/BackboneElement
# But there is circular dependency problem in python2!
# extension.Extension is used in BackboneElement.modifierExtension as value type.
# and also timing.Timing is used as Extension.valueTiming value type.
# As a result we are using ``BackboneElement`` as base class of Timing,
# faced import error (because od circular dependency).
from .element import Element as BaseTiming
else:
from .backboneelement import BackboneElement as BaseTiming
Expand Down

0 comments on commit 4fa959a

Please sign in to comment.