{
  "resourceType" : "Bundle",
  "id" : "DVCDocSDExample",
  "meta" : {
    "profile" : ["http://smart.who.int/icvp/StructureDefinition/DVCSDBundle"]
  },
  "language" : "en-GB",
  "identifier" : {
    "system" : "urn:oid:2.16.724.4.8.10.200.10",
    "value" : "157bd032-8b00-4728-b2dc-748bb1501aed"
  },
  "type" : "document",
  "timestamp" : "2024-02-11T11:32:00+01:00",
  "entry" : [{
    "fullUrl" : "urn:uuid:23451938-53ea-4d4f-b07b-7f557656005e",
    "resource" : {
      "resourceType" : "Composition",
      "id" : "23451938-53ea-4d4f-b07b-7f557656005e",
      "meta" : {
        "profile" : ["http://smart.who.int/icvp/StructureDefinition/DVCSDComposition"]
      },
      "text" : {
        "extension" : [{
          "url" : "http://smart.who.int/icvp/StructureDefinition/SelectiveDisclosureJWT",
          "valueBoolean" : true
        }],
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">To be added</div>"
      },
      "extension" : [{
        "url" : "http://smart.who.int/icvp/StructureDefinition/SelectiveDisclosureJWT",
        "valueBoolean" : true
      }],
      "identifier" : {
        "system" : "urn:oid:2.16.724.4.8.10.200.10",
        "value" : "d348b02a-3ab8-4cec-bbec-5186abca8c7d"
      },
      "status" : "final",
      "type" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "82593-5",
          "display" : "Patient summary Document"
        }]
      },
      "subject" : {
        "reference" : "urn:uuid:2b90dd2b-2dab-4c75-9bb9-a355e07401e8"
      },
      "date" : "2017-12-11T14:30:00+01:00",
      "author" : [{
        "reference" : "urn:uuid:1c616b24-3895-48c4-9a02-9a64110351ef"
      }],
      "title" : "Patient Summary as of December 11, 2017 14:30",
      "confidentiality" : "N",
      "section" : [{
        "title" : "Patient",
        "code" : {
          "coding" : [{
            "system" : "http://loinc.org",
            "code" : "11369-6"
          }]
        },
        "text" : {
          "extension" : [{
            "url" : "http://smart.who.int/icvp/StructureDefinition/SelectiveDisclosureJWT",
            "valueBoolean" : true
          }],
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Sample patient</div>"
        },
        "entry" : [{
          "reference" : "urn:uuid:157863f7-fdea-4d11-92ff-f33345a560e4"
        }]
      },
      {
        "title" : "Immunization",
        "code" : {
          "coding" : [{
            "system" : "http://loinc.org",
            "code" : "11369-6",
            "display" : "History of Immunization"
          }]
        },
        "text" : {
          "extension" : [{
            "url" : "http://smart.who.int/icvp/StructureDefinition/SelectiveDisclosureJWT",
            "valueBoolean" : true
          }],
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Immunization stuff</div>"
        },
        "entry" : [{
          "reference" : "urn:uuid:bc283f8f-0279-4cc1-9d4d-8928b0341d00"
        }]
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:157863f7-fdea-4d11-92ff-f33345a560e4",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "157863f7-fdea-4d11-92ff-f33345a560e4",
      "meta" : {
        "profile" : ["http://smart.who.int/icvp/StructureDefinition/DVCSDPatient"]
      },
      "text" : {
        "extension" : [{
          "url" : "http://smart.who.int/icvp/StructureDefinition/SelectiveDisclosureJWT",
          "valueBoolean" : true
        }],
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Test Patient name and demographics</div>"
      },
      "extension" : [{
        "extension" : [{
          "url" : "code",
          "valueCodeableConcept" : {
            "coding" : [{
              "code" : "IND"
            }]
          }
        },
        {
          "url" : "http://smart.who.int/icvp/StructureDefinition/SelectiveDisclosureJWT",
          "valueBoolean" : true
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/patient-nationality"
      },
      {
        "url" : "http://smart.who.int/icvp/StructureDefinition/SelectiveDisclosureJWT",
        "valueBoolean" : true
      }],
      "identifier" : [{
        "extension" : [{
          "url" : "http://smart.who.int/icvp/StructureDefinition/SelectiveDisclosureJWT",
          "valueBoolean" : true
        }],
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "PPN"
          }]
        },
        "system" : "https://uidai.gov.in/",
        "value" : "123456789012"
      }],
      "active" : true,
      "name" : [{
        "extension" : [{
          "url" : "http://smart.who.int/icvp/StructureDefinition/SelectiveDisclosureJWT",
          "valueBoolean" : true
        }],
        "use" : "official",
        "text" : "Test Patient"
      }],
      "gender" : "female",
      "_gender" : {
        "extension" : [{
          "url" : "http://smart.who.int/icvp/StructureDefinition/SelectiveDisclosureJWT",
          "valueBoolean" : true
        }]
      },
      "birthDate" : "2023-02-04",
      "_birthDate" : {
        "extension" : [{
          "url" : "http://smart.who.int/icvp/StructureDefinition/SelectiveDisclosureJWT",
          "valueBoolean" : true
        }]
      }
    }
  },
  {
    "fullUrl" : "urn:uuid:bc283f8f-0279-4cc1-9d4d-8928b0341d00",
    "resource" : {
      "resourceType" : "Immunization",
      "id" : "bc283f8f-0279-4cc1-9d4d-8928b0341d00",
      "meta" : {
        "profile" : ["http://smart.who.int/icvp/StructureDefinition/DVCSDImmunization"]
      },
      "text" : {
        "extension" : [{
          "url" : "http://smart.who.int/icvp/StructureDefinition/SelectiveDisclosureJWT",
          "valueBoolean" : true
        }],
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">vaccination event details</div>"
      },
      "extension" : [{
        "url" : "http://smart.who.int/icvp/StructureDefinition/VaccineProduct",
        "valueIdentifier" : {
          "system" : "http://smart.who.int/pcmt-vaxprequal/CodeSystem/PreQualProductIDs",
          "value" : "http://smart.who.int/pcmt/StructureDefinition/Product/PolioVaccineOralOPVBivalProduct756b50d1047d7e92674342044a986a4e"
        }
      },
      {
        "url" : "http://smart.who.int/icvp/StructureDefinition/SelectiveDisclosureJWT",
        "valueBoolean" : true
      }],
      "status" : "completed",
      "vaccineCode" : {
        "coding" : [{
          "code" : "YellowFeverProductd2c75a15ed309658b3968519ddb31690"
        }]
      },
      "patient" : {
        "reference" : "urn:uuid:157863f7-fdea-4d11-92ff-f33345a560e4"
      },
      "occurrenceDateTime" : "2024-05-23",
      "lotNumber" : "67890",
      "performer" : [{
        "actor" : {
          "reference" : "urn:uuid:086a66bd-63d0-442a-900f-b540f6b8cebe"
        }
      }]
    }
  }]
}