Assemble FHIR Document Bundle in Correct Format

XMLWordPrintable

    • Type: Story
    • Resolution: Done
    • Priority: High
    • 3.9.0
    • Affects Version/s: None
    • AMRIT Sprint 47, AMRIT Sprint 48, AMRIT Sprint 49, AMRIT Sprint 50, AMRIT Sprint 51
    • Platform
    • All

      As a developer, I want to compile FHIR resources into a Bundle of type document, so that the bundle conforms to FHIR standards and can be validated/transmitted.

      Bundle Requirements:

      • resourceType: Bundle
      • type: document
      • id: Unique to record type (e.g., OPConsultationNote)
      • entry[0]: Composition resource (always first)
      • entry[1+]: Patient, Condition, Procedure, etc.

      Composition Structure:

       

      • subject: Patient reference
      • encounter: Encounter reference
      • author: Practitioner
      • type, title: Fixed per record type
      • section: Points to other entries (Condition, Procedure, etc.)

      Acceptance Criteria:

      • Bundle created with correct entry order.
      • fullUrl for each resource included.
      • Composition section matches the actual entries.
      • Structured and unstructured formats are both supported.

              Assignee:
              Deep Shikha
              Reporter:
              Shashank Kharkwal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: