Hi Avanish Jain,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
The job reports that count: 10 which means 10 Practitioner resources were processed successfully, but since a direct GET /Practitioner/{id} returns 404, it’s important to check whether the data is in the history store instead of the current view.
Could you please check below and share requested details to assist you further on this.
1. Compare current vs. history counts
- Run:
GET {{FHIR_URL}}/Practitioner?_summary=count GET {{FHIR_URL}}/Practitioner/_history?_summary=count - If
_historyshows 10 but current count is 0 --> all resources were imported only as historical versions.- If both show 10 --> they are current.
- If
_history> current --> some resources are historical only. - Reference: https://hl7.org/fhir/R4/search.html#summary
2. Check resource history directly
- For one of your resource IDs, run:
GET {{FHIR_URL}}/Practitioner/{id}/_history- If you see versions here but not with
GET {{FHIR_URL}}/Practitioner/{id}, the resource exists only in history.
- If you see versions here but not with
3. Share one anonymized NDJSON line
- Please provide one sample line (with PII removed).
- Specifically check if it contains:
- a
metablock withversionIdorlastUpdated, or - the
deleted-stateextension (http://azurehealthcareapis.com/data-extensions/deleted-state).
- a
- These can cause the resources to be imported as historical or deleted, not current.
- Why this matters:
- If your NDJSON includes
meta.versionIdormeta.lastUpdated,$importreplays that history exactly, and the resources may only appear under_historyunless you also import the latest version. - If the
deleted-stateextension is present, the resources are imported as deleted, so direct reads/searches return 404 (or 410) but the records remain visible in_history. - Reference: https://dori-uw-1.kuma-moon.com/en-us/azure/healthcare-apis/fhir/import-data#incremental-load
- If your NDJSON includes