{
  "resourceType": "Bundle",
  "id": "790503ad-d8a6-42a1-9ad4-85594d21c1b2",
  "meta": {
    "profile": [
      "http://hl7.eu/fhir/laboratory/StructureDefinition/Bundle-eu-lab"
    ]
  },
  "identifier": {
    "assigner": {
      "display": "HL7 Europe"
    },
    "system": "urn:oid:2.16.840.1.113883.2.51.999",
    "value": "f548f831-d076-4404-887b-4a74e4f4115a"
  },
  "entry": [
    {
      "fullUrl": "urn:uuid:a02a8e6a-c892-4184-a4e1-0b36f82ccd35",
      "resource": {
        "resourceType": "Composition",
        "id": "a02a8e6a-c892-4184-a4e1-0b36f82ccd35",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/laboratory/StructureDefinition/Composition-eu-lab"
          ]
        },
        "identifier": {
          "assigner": {
            "display": "HL7 Europe"
          },
          "system": "urn:oid:2.16.840.1.113883.2.51.999",
          "value": "6fcc1767-d40b-4115-b36b-1da7f4a858c0"
        },
        "author": [
          {
            "reference": "urn:uuid:da235700-4f0b-4bab-b8a4-52649f9bc242"
          }
        ],
        "category": [
          {
            "coding": [
              {
                "code": "26436-6",
                "system": "http://loinc.org",
                "display": "Laboratory studies (set)"
              }
            ]
          }
        ],
        "type": {
          "coding": [
            {
              "code": "11502-2",
              "system": "http://loinc.org",
              "display": "Laboratory report"
            }
          ],
          "text": "Laboratory Report"
        },
        "section": [
          {
            "code": {
              "coding": [
                {
                  "code": "26436-6",
                  "system": "http://loinc.org",
                  "display": "Laboratory studies (set)"
                }
              ],
              "text": "Laboratory studies"
            },
            "section": [
              {
                "code": {
                  "coding": [
                    {
                      "code": "$18719-5",
                      "system": "http://loinc.org",
                      "display": "Chemistry studies (set)"
                    }
                  ],
                  "text": "Chemistry"
                },
                "entry": [
                  {
                    "reference": "urn:uuid:6e362512-87df-47ed-bd9d-451449fa0d09"
                  }
                ],
                "text": {
                  "status": "generated",
                  "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3>Chemistry</h3><table class=\"hl7__eu__lab__report\"><thead><tr><th>Test</th><th>23-DEC-2016</th><th>Reference&#xA0;Range</th><th>Unit</th></tr></thead><tbody><tr><td>Hemoglobin A1c/Hemoglobin.total in Blood</td><td><strong>4.0 L</strong></td><td>4.6 - 6.4</td><td>%</td></tr></tbody></table></div>"
                },
                "title": "Chemistry"
              }
            ],
            "title": "Laboratory Report"
          },
          {
            "text": {
              "status": "generated",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3>Annotation</h3><table class=\"hl7__eu__lab__report\"><tr><th>Conclusion and Recommendations based on this report and previous findings known to us</th></tr><tr><td>The patient&quot;s HbA1c is below the normal range, which may indicate possible hypoglycemia or overtreatment if diabetic, or could reflect recent changes in glucose metabolism. Clinical correlation with symptoms, medication history, and further glucose monitoring is recommended.</td></tr></table></div>"
            },
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "48767-8",
                  "display": "Annotation comment"
                }
              ]
            },
            "title": "Annotation comment"
          }
        ],
        "status": "final",
        "subject": {
          "reference": "urn:uuid:88f98649-acf0-409c-811d-06e8a62dba40",
          "display": "Gabrielius Gaičiūnas"
        },
        "date": "2016-12-23T17:05:46Z",
        "title": "Laboratory Report",
        "confidentiality": "N"
      }
    },
    {
      "fullUrl": "urn:uuid:349d3532-6c7e-45ce-9806-9c279828df66",
      "resource": {
        "resourceType": "DiagnosticReport",
        "id": "349d3532-6c7e-45ce-9806-9c279828df66",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/laboratory/StructureDefinition/DiagnosticReport-eu-lab"
          ]
        },
        "identifier": [
          {
            "assigner": {
              "display": "HL7 Europe"
            },
            "system": "urn:oid:2.16.840.1.113883.2.51.999",
            "value": "46283759-a12d-4e10-94b4-932e6ba290c3"
          }
        ],
        "extension": [
          {
            "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition",
            "valueReference": {
              "reference": "urn:uuid:6fcc1767-d40b-4115-b36b-1da7f4a858c0"
            }
          }
        ],
        "category": [
          {
            "coding": [
              {
                "code": "26436-6",
                "system": "http://loinc.org",
                "display": "Laboratory studies (set)"
              }
            ]
          }
        ],
        "specimen": [
          {
            "reference": "urn:uuid:fa0f6cf3-c45b-4f2d-974a-a7bbfff6a505"
          }
        ],
        "result": [
          {
            "reference": "urn:uuid:6e362512-87df-47ed-bd9d-451449fa0d09"
          }
        ],
        "status": "registered",
        "code": {
          "coding": [
            {
              "code": "11502-2",
              "system": "http://loinc.org",
              "display": "Laboratory report"
            }
          ]
        },
        "subject": {
          "reference": "urn:uuid:88f98649-acf0-409c-811d-06e8a62dba40",
          "display": "Gabrielius Gaičiūnas"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:88f98649-acf0-409c-811d-06e8a62dba40",
      "resource": {
        "resourceType": "Patient",
        "id": "88f98649-acf0-409c-811d-06e8a62dba40",
        "meta": {
          "security": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
              "code": "HTEST"
            },
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
              "code": "TRAIN"
            }
          ],
          "tag": [
            {
              "system": "https://synderai.net/fhir/CodeSystem/tags",
              "code": "synthetic",
              "display": "SYNDERAI Synthetic data"
            }
          ],
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core"
          ]
        },
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "code": "PT",
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
                }
              ]
            },
            "system": "http://ec.europa.eu/identifier/eci",
            "value": "5711-320329-3"
          },
          {
            "type": {
              "coding": [
                {
                  "code": "MR",
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
                }
              ]
            },
            "system": "http://local.setting.eu/identifier",
            "value": "b2cdf95b-c12d-3f56-84e4-d085f70edd0c"
          }
        ],
        "name": [
          {
            "family": "Gaičiūnas"
          },
          {
            "given": [
              "Gabrielius"
            ]
          },
          {
            "text": "Gabrielius Gaičiūnas"
          }
        ],
        "address": [
          {
            "line": [
              "5951 Monika Rapid"
            ],
            "use": "home",
            "type": "physical",
            "postalCode": "97190",
            "city": "Poškaton",
            "country": "Lithuania"
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "+370 71605146"
          }
        ],
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
            "valueCodeableConcept": {
              "coding": [
                {
                  "code": "LT",
                  "system": "http://hl7.org/fhir/ValueSet/country"
                }
              ]
            }
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__ips\"><tr><td>Gabrielius Gaičiūnas</td><td>male</td><td>19-May-1948</td></tr></table></div>"
        },
        "gender": "male",
        "birthDate": "1948-05-19"
      }
    },
    {
      "fullUrl": "urn:uuid:8323adad-9c4f-437f-91ee-a99ef64f5e52",
      "resource": {
        "resourceType": "ServiceRequest",
        "id": "8323adad-9c4f-437f-91ee-a99ef64f5e52",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/laboratory/StructureDefinition/ServiceRequest-eu-lab"
          ]
        },
        "identifier": [
          {
            "system": "http://example.org",
            "value": "d7a54b5b-aeb5-4e30-9e2d-9fce97a98c1d"
          }
        ],
        "specimen": [
          {
            "reference": "urn:uuid:fa0f6cf3-c45b-4f2d-974a-a7bbfff6a505"
          }
        ],
        "reasonCode": [
          {
            "coding": [
              {
                "code": "414545008",
                "system": "http://snomed.info/sct",
                "display": "Ischemic heart disease"
              }
            ]
          },
          {
            "coding": [
              {
                "code": "157141000119108",
                "system": "http://snomed.info/sct",
                "display": "Proteinuria due to type 2 diabetes mellitus"
              }
            ]
          },
          {
            "coding": [
              {
                "code": "401303003",
                "system": "http://snomed.info/sct",
                "display": "Acute ST segment elevation myocardial infarction"
              }
            ]
          },
          {
            "coding": [
              {
                "code": "40055000",
                "system": "http://snomed.info/sct",
                "display": "Chronic sinusitis"
              }
            ]
          },
          {
            "coding": [
              {
                "code": "90781000119102",
                "system": "http://snomed.info/sct",
                "display": "Microalbuminuria due to type 2 diabetes mellitus"
              }
            ]
          },
          {
            "coding": [
              {
                "code": "127013003",
                "system": "http://snomed.info/sct",
                "display": "Disorder of kidney due to diabetes mellitus"
              }
            ]
          },
          {
            "coding": [
              {
                "code": "59621000",
                "system": "http://snomed.info/sct",
                "display": "Essential hypertension"
              }
            ]
          },
          {
            "coding": [
              {
                "code": "15777000",
                "system": "http://snomed.info/sct",
                "display": "Prediabetes"
              }
            ]
          },
          {
            "coding": [
              {
                "code": "271737000",
                "system": "http://snomed.info/sct",
                "display": "Anemia"
              }
            ]
          }
        ],
        "status": "active",
        "intent": "order",
        "code": {
          "coding": [
            {
              "code": "108252007",
              "system": "http://snomed.info/sct",
              "display": "Laboratory procedure"
            }
          ]
        },
        "subject": {
          "reference": "urn:uuid:88f98649-acf0-409c-811d-06e8a62dba40",
          "display": "Gabrielius Gaičiūnas"
        },
        "requester": {
          "reference": "urn:uuid:5f776764-06c1-42e4-8fce-c42ec02c796e"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:5f776764-06c1-42e4-8fce-c42ec02c796e",
      "resource": {
        "resourceType": "PractitionerRole",
        "id": "5f776764-06c1-42e4-8fce-c42ec02c796e",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Provider Role Id: 5f776764-06c1-42e4-8fce-c42ec02c796e</div>"
        },
        "organization": {
          "reference": "urn:uuid:63e7fb19-1f20-492c-8e15-9a554aed916e"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:63e7fb19-1f20-492c-8e15-9a554aed916e",
      "resource": {
        "resourceType": "Organization",
        "id": "63e7fb19-1f20-492c-8e15-9a554aed916e",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/organization-eu"
          ]
        },
        "identifier": [
          {
            "assigner": {
              "display": "HL7 Europe"
            },
            "system": "urn:oid:2.16.840.1.113883.2.51.999",
            "value": "6966f1f5-fe7a-4a58-857f-f055017bf677"
          }
        ],
        "address": [
          {
            "line": [
              "182 Savanorių pr."
            ],
            "city": "Klaipėda",
            "postalCode": "LT-91200",
            "country": "Lithuania"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Provider Organization: Dr. Tomas Bakas</div>"
        },
        "name": "Dr. Tomas Bakas"
      }
    },
    {
      "fullUrl": "urn:uuid:fa0f6cf3-c45b-4f2d-974a-a7bbfff6a505",
      "resource": {
        "resourceType": "Specimen",
        "id": "fa0f6cf3-c45b-4f2d-974a-a7bbfff6a505",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/laboratory/StructureDefinition/Specimen-eu-lab"
          ]
        },
        "collection": {
          "collectedDateTime": "2016-12-23"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__eu__lab__report\"><tr><th>Specimen</th><th>Collection Date</th></tr><tr><td>Whole blood specimen (specimen)</td><td><span class=\"nb\">23-Dec-2016</span></td></tr></table></div>"
        },
        "type": {
          "coding": [
            {
              "code": "258580003",
              "system": "http://snomed.info/sct",
              "display": "Whole blood specimen (specimen)"
            }
          ]
        }
      }
    },
    {
      "fullUrl": "urn:uuid:6e362512-87df-47ed-bd9d-451449fa0d09",
      "resource": {
        "resourceType": "Observation",
        "id": "6e362512-87df-47ed-bd9d-451449fa0d09",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/laboratory/StructureDefinition/Observation-resultslab-eu-lab"
          ]
        },
        "performer": [
          {
            "display": "The Central European Lab"
          }
        ],
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "laboratory"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "code": "4548-4",
              "system": "http://loinc.org",
              "display": "Hemoglobin A1c/Hemoglobin.total in Blood"
            }
          ],
          "text": "Hemoglobin A1c/Hemoglobin.total in Blood"
        },
        "valueQuantity": {
          "system": "http://unitsofmeasure.org",
          "value": 4,
          "unit": "%",
          "code": "%"
        },
        "referenceRange": [
          {
            "low": {
              "value": 4.6,
              "code": "%",
              "system": "http://unitsofmeasure.org"
            }
          },
          {
            "high": {
              "value": 6.4,
              "code": "%",
              "system": "http://unitsofmeasure.org"
            }
          }
        ],
        "interpretation": [
          {
            "coding": [
              {
                "code": "L",
                "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
                "display": "Low"
              }
            ]
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__eu__lab__report\"><tr><th>Test</th><th>23-Dec-2016</th><th>Reference&#xA0;Range</th><th>Unit</th></tr><tr><td>Hemoglobin A1c/Hemoglobin.total in Blood</td><td>4.0</td><td>4.6 - 6.4</td><td>L</td><td>%</td></tr></table></div>"
        },
        "status": "final",
        "subject": {
          "reference": "urn:uuid:88f98649-acf0-409c-811d-06e8a62dba40",
          "display": "Gabrielius Gaičiūnas"
        },
        "effectiveDateTime": "2016-12-23T16:05:46Z",
        "specimen": {
          "reference": "urn:uuid:fa0f6cf3-c45b-4f2d-974a-a7bbfff6a505"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:f60d48f6-2cbe-47a3-bc0d-fe91826bfc6e",
      "resource": {
        "resourceType": "Device",
        "id": "f60d48f6-2cbe-47a3-bc0d-fe91826bfc6e",
        "deviceName": [
          {
            "name": "SYNDERAI Synthetic Generator",
            "type": "manufacturer-name"
          }
        ],
        "version": [
          {
            "value": "5.0"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">SYNDERAI Synthetic Generator v5.0</div>"
        },
        "status": "active\"",
        "distinctIdentifier": "synderai-generator-50",
        "manufacturer": "SYNDERAI Project"
      }
    },
    {
      "fullUrl": "urn:uuid:5959fd2a-454f-4ac9-bc8d-d8faeb6ae186",
      "resource": {
        "resourceType": "Provenance",
        "id": "5959fd2a-454f-4ac9-bc8d-d8faeb6ae186",
        "target": [
          {
            "reference": "Patient/88f98649-acf0-409c-811d-06e8a62dba40"
          },
          {
            "reference": "Bundle/790503ad-d8a6-42a1-9ad4-85594d21c1b2"
          },
          {
            "reference": "Composition/a02a8e6a-c892-4184-a4e1-0b36f82ccd35"
          },
          {
            "reference": "PractitionerRole/da235700-4f0b-4bab-b8a4-52649f9bc242"
          },
          {
            "reference": "Practitioner/26f949a8-675a-481c-8d66-8ea7d3540945"
          },
          {
            "reference": "PractitionerRole/5f776764-06c1-42e4-8fce-c42ec02c796e"
          },
          {
            "reference": "Organization/63e7fb19-1f20-492c-8e15-9a554aed916e"
          }
        ],
        "activity": {
          "text": "Synthetic Example Data Generation"
        },
        "policy": [
          "https://synderai.net/synderai-synthetic-data-policy"
        ],
        "agent": [
          {
            "type": {
              "text": "author"
            },
            "who": {
              "reference": "Device/f60d48f6-2cbe-47a3-bc0d-fe91826bfc6e"
            }
          }
        ],
        "reason": [
          {
            "text": "Interoperability Testing and Training (non-clinical use)"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Provenance for SYNDERAI Synthetic Example Data Resource</div>"
        },
        "recorded": "2016-12-23T17:05:46Z"
      }
    },
    {
      "fullUrl": "urn:uuid:da235700-4f0b-4bab-b8a4-52649f9bc242",
      "resource": {
        "resourceType": "PractitionerRole",
        "id": "da235700-4f0b-4bab-b8a4-52649f9bc242",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Laboratory Role Id: da235700-4f0b-4bab-b8a4-52649f9bc242</div>"
        },
        "practitioner": {
          "reference": "urn:uuid:26f949a8-675a-481c-8d66-8ea7d3540945"
        }
      }
    },
    {
      "fullUrl": "urn:uuid:26f949a8-675a-481c-8d66-8ea7d3540945",
      "resource": {
        "resourceType": "Practitioner",
        "id": "26f949a8-675a-481c-8d66-8ea7d3540945",
        "meta": {
          "profile": [
            "http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu"
          ]
        },
        "identifier": [
          {
            "assigner": {
              "display": "HL7 Europe"
            },
            "system": "urn:oid:2.16.840.1.113883.2.51.999",
            "value": "4ecbf91c-fd49-44f8-8773-0012b3a27bea"
          }
        ],
        "name": [
          {
            "prefix": [
              "dr"
            ],
            "given": [
              "Ex"
            ],
            "family": "Ample"
          }
        ],
        "address": [
          {
            "line": [
              "Laboratoire Central Européenne",
              "Boulevard du Jardin Botanique 32"
            ],
            "postalCode": "1000",
            "city": "Brussels",
            "country": "Belgium"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Laboratory: Laboratoire Central Européenne, 1000 Brussels, Belgium</div>"
        }
      }
    }
  ],
  "type": "document",
  "timestamp": "2016-12-23T17:05:46Z"
}
