Stream: hapi
Topic: Migrating existing resources to use Profiles
dsh (Apr 15 2021 at 20:03):
We just upgraded from HAPI 4.1 (R4/4.0.0) that had no profiles to 5.3 (R4/4.0.1). We cannot access any resource bcoz of errors related to coding systems
"Unknown Code System 'http://hl7.org/fhir/v3/Race'"
"Unknown Code System 'http://hl7.org/fhir/v3/Ethnicity'"
and
"if a date has a time, it must have a timezone"
any pointers will be much appreciated. FYI here is our test FHIR server http://52.91.59.1:8080/fhir/Patient?_format=json&_pretty=true
dsh (Apr 15 2021 at 20:04):
@Jens Villadsen @James Agnew please help ^
dsh (Apr 15 2021 at 20:32):
@Sean McIlvenna could you please chime in on this issue ^. Much appreciated
Sean McIlvenna (Apr 15 2021 at 20:52):
sorry, can't say I know the answer to this one
Sean McIlvenna (Apr 15 2021 at 20:53):
would need someone closer to the HAPI code and upgrade process to answer that
Sean McIlvenna (Apr 15 2021 at 20:53):
I can help with docker and builds, but that's over my head
dsh (Apr 15 2021 at 20:54):
Sean McIlvenna said:
would need someone closer to the HAPI code and upgrade process to answer that
@Sean McIlvenna any idea who those folks may be ? could you please ping them for me
Sean McIlvenna (Apr 15 2021 at 20:54):
fyi, docker hub has an updated v5.3.0 tag now, based on the updated github v5.3.0 tag
Sean McIlvenna (Apr 15 2021 at 20:55):
@James Agnew is the only one I really know from that team. he's often too busy to pay attention to these threads regularly. have you considered engaging SmileCDR for support?
Sean McIlvenna (Apr 15 2021 at 20:56):
aside from that, you could maybe look at the github commit history on the core hapi-fhir repository and see if you can call out specific contributors :)
dsh (Apr 15 2021 at 21:02):
Sean McIlvenna said:
James Agnew is the only one I really know from that team. he's often too busy to pay attention to these threads regularly. have you considered engaging SmileCDR for support?
won't I have to purchase a license to get support from SmileCDR ? I am using HAPI open source
dsh (Apr 15 2021 at 21:11):
@Gary Graham ^ could you please share some pointers here ^ I am stuck at the very last step of the upgrade
James Agnew (Apr 15 2021 at 21:17):
that looks like you have a ResponseValidatingInterceptor enabled. If you don't want that validation, remove that interceptor.
dsh (Apr 15 2021 at 21:18):
thanks, trying it now.....
dsh (Apr 15 2021 at 21:22):
Thanks @James Agnew that worked, but I now in the server logs I see
Hibernate: create sequence SEQ_SPIDX_QUANTITY_NRML start 1 increment 50
2021-04-15 21:19:38.394 [main] WARN o.h.t.s.i.ExceptionHandlerLoggedImpl [ExceptionHandlerLoggedImpl.java:27] GenerationTarget encountered exception accepting command : Error executing DDL "create sequence SEQ_SPIDX_QUANTITY_NRML start 1 increment 50" via JDBC Statement
org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "create sequence SEQ_SPIDX_QUANTITY_NRML start 1 increment 50" via JDBC Statement
seems like database user needs DDL rights for normal server operations not just for migration, is that right?
Last updated: Apr 12 2022 at 19:14 UTC