Assemble FHIR Document Bundle in Correct Format

XMLWordPrintable

    • Type: Story
    • Resolution: Unresolved
    • Priority: High
    • None
    • Affects Version/s: None

      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:
            Karyamsetty Helen Grace
            Reporter:
            Shashank Kharkwal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: