
from sana.core.models.concept import Concept, Relationship, RelationshipCategory
from sana.core.models.device import Device
from sana.core.models.encounter import Encounter
from sana.core.models.events import Event
from sana.core.models.notification import Notification
from sana.core.models.observation import Observation
from sana.core.models.observer import Observer
from sana.core.models.procedure import Procedure
from sana.core.models.subject import Subject

__all__ = ['Concept', 'Relationship','RelationshipCategory',
           'Device', 
           'Encounter',
           'Event',
           'Notification', 
           'Observation', 
           'Observer',
           'Procedure',
           'Subject',]



from .concept import Concept, Relationship, RelationshipCategory
from .device import Device
from .encounter import Encounter
from .events import Event
from .notification import Notification
from .observation import Observation
from .observer import Observer
from .procedure import Procedure
from .subject import Patient

__all__ = ['Concept', 'Relationship','RelationshipCategory',
           'Device', 
           'Encounter',
           'Event',
           'Notification', 
           'Observation', 
           'Observer',
           'Procedure',
           'Patient',]


Update to use relative imports.
Update to use relative imports.
  
- from sana.core.models.concept import Concept, Relationship, RelationshipCategory
+ from .concept import Concept, Relationship, RelationshipCategory
- from sana.core.models.device import Device
+ from .device import Device
- from sana.core.models.encounter import Encounter
+ from .encounter import Encounter
- from sana.core.models.events import Event
+ from .events import Event
- from sana.core.models.notification import Notification
+ from .notification import Notification
- from sana.core.models.observation import Observation
+ from .observation import Observation
- from sana.core.models.observer import Observer
+ from .observer import Observer
- from sana.core.models.procedure import Procedure
+ from .procedure import Procedure
- from sana.core.models.subject import Subject
+ from .subject import Patient
  
  __all__ = ['Concept', 'Relationship','RelationshipCategory',
             'Device', 
             'Encounter',
             'Event',
             'Notification', 
             'Observation', 
             'Observer',
             'Procedure',
-            'Subject',]
+            'Patient',]
  
  
Update to use relative imports.
## Code Before:

from sana.core.models.concept import Concept, Relationship, RelationshipCategory
from sana.core.models.device import Device
from sana.core.models.encounter import Encounter
from sana.core.models.events import Event
from sana.core.models.notification import Notification
from sana.core.models.observation import Observation
from sana.core.models.observer import Observer
from sana.core.models.procedure import Procedure
from sana.core.models.subject import Subject

__all__ = ['Concept', 'Relationship','RelationshipCategory',
           'Device', 
           'Encounter',
           'Event',
           'Notification', 
           'Observation', 
           'Observer',
           'Procedure',
           'Subject',]


## Instruction:
Update to use relative imports.
## Code After:

from .concept import Concept, Relationship, RelationshipCategory
from .device import Device
from .encounter import Encounter
from .events import Event
from .notification import Notification
from .observation import Observation
from .observer import Observer
from .procedure import Procedure
from .subject import Patient

__all__ = ['Concept', 'Relationship','RelationshipCategory',
           'Device', 
           'Encounter',
           'Event',
           'Notification', 
           'Observation', 
           'Observer',
           'Procedure',
           'Patient',]

