write-pdf.example
type: Bundle
node role: treeRoot
id:
  v: write-pdf.example
type:
  v: transaction
entry:
  resource: Encounter
    text:
      status:
        v: empty
      div: narrative not required
    status:
      v: finished
    class:
      system:
        v: http://terminology.hl7.org/CodeSystem/v3-ActCode
      code:
        v: AMB
      display:
        v: ambulatory
    subject:
      link: https://quickfhir.cloud/docs/blackpear-quickfhir-aws-adapter-typpsystmone/Patient/1714
      reference:
        v: Patient/1714
    period:
      end:
        v: 2021-02-15
  request:
    method:
      v: POST
    url:
      v: Encounter
entry:
  resource: DocumentReference
    text:
      status:
        v: empty
      div: narrative not required
    master identifier:
      value:
        v: Test1.pdf
    status:
      v: current
    type:
      text:
        v: Document summary
    subject:
      link: https://quickfhir.cloud/docs/blackpear-quickfhir-aws-adapter-typpsystmone/Patient/1714
      reference:
        v: Patient/1714
    date:
      v: 2021-02-09T12:15:00+00:00
    description:
      v: Testing posting of attachments
  request:
    method:
      v: POST
    url:
      v: DocumentReference

v: application/pdf