Closed kevingill1966 closed 11 years ago
That check is there since we don't process app-specific documents, only ones created on a Record. Have you added the TestEncounter model to your Indivo instance? If not, then I am guessing it is not processing to anything since you don't have a valid data model to process into.
Thanks for the response.
My error is that I used the record_app_document_create() api call rather than the document_create() api call. Once I used the correct API, it is working find.
I have a custom PHA that sends documents to Indivo Server. The documents are sent using the a Models (SDMX) format
The document is saved to the Record as a Document, but not to the data model.
There is a piece of code in Document.save() records_and_documents.py line 337 that prevents the document being processed.
It can import correctly if I alter this logic to...