Da Vinci Clinical Data Exchange (CDex)
2.1.0 - STU 2.1

Da Vinci Clinical Data Exchange (CDex), published by HL7 International / Payer/Provider Information Exchange Work Group. This guide is not an authorized publication; it is the continuous build for version 2.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-ecdx/ and changes regularly. See the Directory of published versions

## : Direct Query for Patient's HbA1c Test Results - JSON Representation

Raw json | Download

    {
      "resourceType" : "Bundle",
      "id" : "cdex-searchbundle-scenario2-example",
      "type" : "searchset",
      "total" : 4,
      "link" : [
        {
          "relation" : "self",
          "url" : "http://hapi.fhir.org/baseR4/Observation?code=4548-4&date=gt2020-01-01&patient=06e1f0dd-5fbe-4480-9bb4-6b54ec02d31b"
        }
      ],
      "entry" : [
        {
          "fullUrl" : "http://hapi.fhir.org/baseR4/Observation/cdex-2020-01-23-hba1c-example",
          "resource" : {
            "resourceType" : "Observation",
            "id" : "cdex-2020-01-23-hba1c-example",
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_cdex-2020-01-23-hba1c-example\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation cdex-2020-01-23-hba1c-example</b></p><a name=\"cdex-2020-01-23-hba1c-example\"> </a><a name=\"hccdex-2020-01-23-hba1c-example\"> </a><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}\">Laboratory</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 4548-4}, {http://www.ama-assn.org/go/cpt 83036}, {http://example.org/lab-results HBA1C}\">glycated hemoglobin (HbA1c)</span></p><p><b>subject</b>: <a href=\"http://example.org/cdex/provider/fhir/Patient/06e1f0dd-5fbe-4480-9bb4-6b54ec02d31b\">Elden718 Halvorson124</a></p><p><b>effective</b>: 2020-01-23 10:21:08-0700</p><p><b>performer</b>: <a href=\"http://hl7.org/fhir/us/davinci-hrex/STU1/Practitioner-min.html\">Dr. John Doe</a></p><p><b>value</b>: 6 %<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></p></div>"
            },
            "status" : "final",
            "category" : [
              {
                "coding" : [
                  {
                    "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code" : "laboratory",
                    "display" : "Laboratory"
                  }
                ],
                "text" : "Laboratory"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "4548-4",
                  "display" : "Hemoglobin A1c/Hemoglobin.total in Blood"
                },
                {
                  "system" : "http://www.ama-assn.org/go/cpt",
                  "code" : "83036",
                  "display" : "Hemoglobin; glycosylated (A1c)"
                },
                {
                  "system" : "http://example.org/lab-results",
                  "code" : "HBA1C",
                  "display" : "Glycated hemoglobin (HbA1c)"
                }
              ],
              "text" : "glycated hemoglobin (HbA1c)"
            },
            "subject" : {
              "reference" : "http://example.org/cdex/provider/fhir/Patient/06e1f0dd-5fbe-4480-9bb4-6b54ec02d31b",
              "display" : "Elden718 Halvorson124"
            },
            "effectiveDateTime" : "2020-01-23T10:21:08-07:00",
            "performer" : [
              {
                "reference" : "Practitioner/min",
                "display" : "Dr. John Doe"
              }
            ],
            "valueQuantity" : {
              "value" : 6,
              "unit" : "%",
              "system" : "http://unitsofmeasure.org",
              "code" : "%"
            }
          },
          "search" : {
            "mode" : "match"
          }
        },
        {
          "fullUrl" : "http://hapi.fhir.org/baseR4/Observation/cdex-2020-04-23-hba1c-example",
          "resource" : {
            "resourceType" : "Observation",
            "id" : "cdex-2020-04-23-hba1c-example",
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_cdex-2020-04-23-hba1c-example\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation cdex-2020-04-23-hba1c-example</b></p><a name=\"cdex-2020-04-23-hba1c-example\"> </a><a name=\"hccdex-2020-04-23-hba1c-example\"> </a><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}\">Laboratory</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 4548-4}, {http://www.ama-assn.org/go/cpt 83036}, {http://example.org/lab-results HBA1C}\">glycated hemoglobin (HbA1c)</span></p><p><b>subject</b>: <a href=\"http://example.org/cdex/provider/fhir/Patient/06e1f0dd-5fbe-4480-9bb4-6b54ec02d31b\">Elden718 Halvorson124</a></p><p><b>effective</b>: 2020-04-23 10:21:08-0700</p><p><b>performer</b>: <a href=\"http://hl7.org/fhir/us/davinci-hrex/STU1/Practitioner-min.html\">Dr. John Doe</a></p><p><b>value</b>: 7.2 %<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></p></div>"
            },
            "status" : "final",
            "category" : [
              {
                "coding" : [
                  {
                    "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code" : "laboratory",
                    "display" : "Laboratory"
                  }
                ],
                "text" : "Laboratory"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "4548-4",
                  "display" : "Hemoglobin A1c/Hemoglobin.total in Blood"
                },
                {
                  "system" : "http://www.ama-assn.org/go/cpt",
                  "code" : "83036",
                  "display" : "Hemoglobin; glycosylated (A1c)"
                },
                {
                  "system" : "http://example.org/lab-results",
                  "code" : "HBA1C",
                  "display" : "Glycated hemoglobin (HbA1c)"
                }
              ],
              "text" : "glycated hemoglobin (HbA1c)"
            },
            "subject" : {
              "reference" : "http://example.org/cdex/provider/fhir/Patient/06e1f0dd-5fbe-4480-9bb4-6b54ec02d31b",
              "display" : "Elden718 Halvorson124"
            },
            "effectiveDateTime" : "2020-04-23T10:21:08-07:00",
            "performer" : [
              {
                "reference" : "Practitioner/min",
                "display" : "Dr. John Doe"
              }
            ],
            "valueQuantity" : {
              "value" : 7.2,
              "unit" : "%",
              "system" : "http://unitsofmeasure.org",
              "code" : "%"
            }
          },
          "search" : {
            "mode" : "match"
          }
        },
        {
          "fullUrl" : "http://hapi.fhir.org/baseR4/Observation/cdex-2020-10-23-hba1c-example",
          "resource" : {
            "resourceType" : "Observation",
            "id" : "cdex-2020-10-23-hba1c-example",
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_cdex-2020-10-23-hba1c-example\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation cdex-2020-10-23-hba1c-example</b></p><a name=\"cdex-2020-10-23-hba1c-example\"> </a><a name=\"hccdex-2020-10-23-hba1c-example\"> </a><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}\">Laboratory</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 4548-4}, {http://www.ama-assn.org/go/cpt 83036}, {http://example.org/lab-results HBA1C}\">glycated hemoglobin (HbA1c)</span></p><p><b>subject</b>: <a href=\"http://example.org/cdex/provider/fhir/Patient/06e1f0dd-5fbe-4480-9bb4-6b54ec02d31b\">Elden718 Halvorson124</a></p><p><b>effective</b>: 2020-10-23 10:21:08-0700</p><p><b>performer</b>: <a href=\"http://hl7.org/fhir/us/davinci-hrex/STU1/Practitioner-min.html\">Dr. John Doe</a></p><p><b>value</b>: 7 %<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></p></div>"
            },
            "status" : "final",
            "category" : [
              {
                "coding" : [
                  {
                    "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code" : "laboratory",
                    "display" : "Laboratory"
                  }
                ],
                "text" : "Laboratory"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "4548-4",
                  "display" : "Hemoglobin A1c/Hemoglobin.total in Blood"
                },
                {
                  "system" : "http://www.ama-assn.org/go/cpt",
                  "code" : "83036",
                  "display" : "Hemoglobin; glycosylated (A1c)"
                },
                {
                  "system" : "http://example.org/lab-results",
                  "code" : "HBA1C",
                  "display" : "Glycated hemoglobin (HbA1c)"
                }
              ],
              "text" : "glycated hemoglobin (HbA1c)"
            },
            "subject" : {
              "reference" : "http://example.org/cdex/provider/fhir/Patient/06e1f0dd-5fbe-4480-9bb4-6b54ec02d31b",
              "display" : "Elden718 Halvorson124"
            },
            "effectiveDateTime" : "2020-10-23T10:21:08-07:00",
            "performer" : [
              {
                "reference" : "Practitioner/min",
                "display" : "Dr. John Doe"
              }
            ],
            "valueQuantity" : {
              "value" : 7,
              "unit" : "%",
              "system" : "http://unitsofmeasure.org",
              "code" : "%"
            }
          },
          "search" : {
            "mode" : "match"
          }
        },
        {
          "fullUrl" : "http://hapi.fhir.org/baseR4/Observation/cdex-2020-07-23-hba1c-example",
          "resource" : {
            "resourceType" : "Observation",
            "id" : "cdex-2020-07-23-hba1c-example",
            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_cdex-2020-07-23-hba1c-example\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation cdex-2020-07-23-hba1c-example</b></p><a name=\"cdex-2020-07-23-hba1c-example\"> </a><a name=\"hccdex-2020-07-23-hba1c-example\"> </a><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}\">Laboratory</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 4548-4}, {http://www.ama-assn.org/go/cpt 83036}, {http://example.org/lab-results HBA1C}\">glycated hemoglobin (HbA1c)</span></p><p><b>subject</b>: <a href=\"http://example.org/cdex/provider/fhir/Patient/06e1f0dd-5fbe-4480-9bb4-6b54ec02d31b\">Elden718 Halvorson124</a></p><p><b>effective</b>: 2020-07-23 10:21:08-0700</p><p><b>performer</b>: <a href=\"http://hl7.org/fhir/us/davinci-hrex/STU1/Practitioner-min.html\">Dr. John Doe</a></p><p><b>value</b>: 7 %<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></p></div>"
            },
            "status" : "final",
            "category" : [
              {
                "coding" : [
                  {
                    "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code" : "laboratory",
                    "display" : "Laboratory"
                  }
                ],
                "text" : "Laboratory"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "4548-4",
                  "display" : "Hemoglobin A1c/Hemoglobin.total in Blood"
                },
                {
                  "system" : "http://www.ama-assn.org/go/cpt",
                  "code" : "83036",
                  "display" : "Hemoglobin; glycosylated (A1c)"
                },
                {
                  "system" : "http://example.org/lab-results",
                  "code" : "HBA1C",
                  "display" : "Glycated hemoglobin (HbA1c)"
                }
              ],
              "text" : "glycated hemoglobin (HbA1c)"
            },
            "subject" : {
              "reference" : "http://example.org/cdex/provider/fhir/Patient/06e1f0dd-5fbe-4480-9bb4-6b54ec02d31b",
              "display" : "Elden718 Halvorson124"
            },
            "effectiveDateTime" : "2020-07-23T10:21:08-07:00",
            "performer" : [
              {
                "reference" : "Practitioner/min",
                "display" : "Dr. John Doe"
              }
            ],
            "valueQuantity" : {
              "value" : 7,
              "unit" : "%",
              "system" : "http://unitsofmeasure.org",
              "code" : "%"
            }
          },
          "search" : {
            "mode" : "match"
          }
        }
      ]
    }