Today I worked on part 2 of the series (refer to the overview of the series here - https://healthinterconnect.blogspot.com/2025/04/amazing-power-of-hl7-fhir-supercharged.html ), it took longer than I expected, probably took about 4 hour. One of the key challenge is to render CodeableConcept, and also the resource reference, and resolve the issues for submitting the updated to backend APIs
- Use data elements defined in FHIR StructureDefinition meta resource to auto render the CRUD form for the domain resource eg CarePlan
Few key issues fixed by copilot
1) now i can see the participant type dropdown box, however after i selected a value and submit, it shows the following error in browser console. Pls investigate and fix
2) now it shows the followin error in console, pls fixEncounterCrudPage.tsx:1484 Uncaught TypeError: Cannot add property type, object is not extensible at EncounterCrudPage.tsx:1484:58
"type": {"0": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
"code": "CON",
"display": "Consultant"
}
],
"text": "senior consultant"
}
}
No comments:
Post a Comment