Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAI-63: Improve contained resources and converters #86

Merged
merged 2 commits into from Feb 23, 2022

Conversation

dborowiecki
Copy link
Contributor

Changes made to make communication with with claim AI Server:

  • photos are no longer obligatory
  • patient doesn't have to have address
  • medication package is optional
  • medication care type is optional
  • added claim ai evaluation code to mappings

@lgtm-com
Copy link

lgtm-com bot commented Feb 23, 2022

This pull request introduces 1 alert when merging 58fc5b5 into 914a98b - view on LGTM.com

new alerts:

  • 1 for Unused import


@classmethod
def build_fhir_medication_frequency_extension(cls, value):
# TODO: Is this ok? Value is assigned to period instead of frequency
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -20,13 +21,14 @@ def create(self, validated_data):
return Service.objects.create(**copied_data)

def update(self, instance, validated_data):
# TODO: This doesn't work, when called from contained resources update creates new entity with same uuid
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create a ticket for this in E0 project.

@@ -25,6 +25,7 @@ def create(self, validated_data):
return new_family

def update(self, instance, validated_data):
# TODO: This doesn't work
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create a ticket for this in E0 project.

@dragos-dobre dragos-dobre merged commit 863004b into develop Feb 23, 2022
@dragos-dobre dragos-dobre deleted the feature/OAI-63 branch February 23, 2022 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants