Hi, I have quite the same need as Rowan, about persisting custom resource definitions in the jpa server.
I am not able to understand how can I achieve this without creating custom Java classes.
I mean: I have the structure definition MyPatient, derived from Patient, and if I post an instance to the jpa server, I get the error:
HAPI-0302: Unknown resource type 'MyPatient' - Server knows how to handle: [Account, ActivityDefinition, etc...
even if I already persisted the StructureDefinition in the jpa server.
Kind regards,
Andrea