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

R4Bundle: Service Request-Occurrence DtTm will throw expection. #59

Closed
AnanthaKrishnaV opened this issue Oct 16, 2020 · 1 comment
Closed

Comments

@AnanthaKrishnaV
Copy link
Contributor

AnanthaKrishnaV commented Oct 16, 2020

Line[1] will throw expectation as Occurrence can be of 3 different types. If it is not of type DateTimeType then it will throw expectation and other resource entries in the bundle won't be processed.

[1]-https://github.com/drajer-health/eCRNow/blob/master/src/main/java/com/drajer/sof/utils/R4ResourcesData.java#L676

Try to retrieve getOccurrence and then check for the type.
Same issue with Immunization[2] as well, need to cross check.
[2]- https://github.com/drajer-health/eCRNow/blob/master/src/main/java/com/drajer/sof/utils/R4ResourcesData.java#L612

@AnanthaKrishnaV AnanthaKrishnaV changed the title R4Bundle: Service Request Occurrence DtTm will throw expection. R4Bundle: Service Request-Occurrence DtTm will throw expection. Oct 16, 2020
nbashyam pushed a commit that referenced this issue Oct 22, 2020
@nbashyam
Copy link
Collaborator

nbashyam commented Dec 9, 2020

Already pushed to the baseline.

@nbashyam nbashyam closed this as completed Dec 9, 2020
nbashyam pushed a commit that referenced this issue Dec 9, 2020
AnanthaKrishnaV pushed a commit that referenced this issue Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants