Genomics Reporting Implementation Guide
2.0.0 - trial-use

This page is part of the Genetic Reporting Implementation Guide (v2.0.0: STU 2) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: bundle-pgxexample - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "bundle-pgxexample",
  "type" : "transaction",
  "entry" : [
    {
      "fullUrl" : "http://example.org/fhir/DiagnosticReport/pgx-report",
      "resource" : {
        "resourceType" : "DiagnosticReport",
        "id" : "pgx-report",
        "meta" : {
          "profile" : [
            "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/genomics-report"
          ]
        },
        "text" : {
          "status" : "extensions",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"pgx-report\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-genomics-report.html\">Genomics Report</a></p></div><p><b>Recommended Action</b>: <a href=\"#Task_med-usage-impact-task-pgx-example\">See above (Task/med-usage-impact-task-pgx-example)</a></p><p><b>basedOn</b>: <a href=\"#ServiceRequest_pgx-request\">See above (ServiceRequest/pgx-request)</a></p><p><b>status</b>: final</p><p><b>category</b>: Genetics <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v2-0074.html\">diagnosticServiceSectionId</a>#GE)</span></p><p><b>code</b>: Master HL7 genetic variant reporting panel <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#81247-9)</span></p><p><b>subject</b>: <a href=\"#Patient_ExamplePatient\">See above (Patient/ExamplePatient)</a></p><p><b>effective</b>: 2016</p><p><b>issued</b>: Mar 6, 2018 5:00:00 AM</p><p><b>performer</b>: <a href=\"#Organization_ExampleLab\">See above (Organization/ExampleLab)</a></p><p><b>result</b>: </p><ul><li><a href=\"#Observation_med-impact-pgx-example\">See above (Observation/med-impact-pgx-example: genetics impact for medication metabolism accessment)</a></li><li><a href=\"#Observation_genotype-pgx-example\">See above (Observation/genotype-pgx-example)</a></li><li><a href=\"#Observation_haplotype-1-pgx-example\">See above (Observation/haplotype-1-pgx-example)</a></li><li><a href=\"#Observation_haplotype-2-pgx-example\">See above (Observation/haplotype-2-pgx-example)</a></li><li><a href=\"#Observation_variant-1-pgx-example\">See above (Observation/variant-1-pgx-example)</a></li><li><a href=\"#Observation_variant-2-pgx-example\">See above (Observation/variant-2-pgx-example)</a></li></ul></div>"
        },
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/recommended-action",
            "valueReference" : {
              "reference" : "Task/med-usage-impact-task-pgx-example"
            }
          }
        ],
        "basedOn" : [
          {
            "reference" : "ServiceRequest/pgx-request"
          }
        ],
        "status" : "final",
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/v2-0074",
                "code" : "GE",
                "display" : "Genetics"
              }
            ]
          }
        ],
        "code" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "81247-9"
            }
          ]
        },
        "subject" : {
          "reference" : "Patient/ExamplePatient"
        },
        "effectiveDateTime" : "2016",
        "issued" : "2018-03-06T00:00:00-05:00",
        "performer" : [
          {
            "reference" : "Organization/ExampleLab"
          }
        ],
        "result" : [
          {
            "reference" : "Observation/med-impact-pgx-example",
            "display" : "genetics impact for medication metabolism accessment"
          },
          {
            "reference" : "Observation/genotype-pgx-example"
          },
          {
            "reference" : "Observation/haplotype-1-pgx-example"
          },
          {
            "reference" : "Observation/haplotype-2-pgx-example"
          },
          {
            "reference" : "Observation/variant-1-pgx-example"
          },
          {
            "reference" : "Observation/variant-2-pgx-example"
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "DiagnosticReport"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/Patient/ExamplePatient",
      "resource" : {
        "resourceType" : "Patient",
        "id" : "ExamplePatient",
        "text" : {
          "status" : "additional",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">This would contain patient identifiers, demographics, etc.</div>"
        }
      },
      "request" : {
        "method" : "POST",
        "url" : "Patient"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/Specimen/ExampleSpecimen",
      "resource" : {
        "resourceType" : "Specimen",
        "id" : "ExampleSpecimen",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"ExampleSpecimen\" </p></div><p><b>subject</b>: <a href=\"#Patient_ExamplePatient\">See above (Patient/ExamplePatient)</a></p></div>"
        },
        "subject" : {
          "reference" : "Patient/ExamplePatient"
        }
      },
      "request" : {
        "method" : "POST",
        "url" : "Specimen"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/Organization/ExampleLab",
      "resource" : {
        "resourceType" : "Organization",
        "id" : "ExampleLab",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"ExampleLab\" </p></div><p><b>name</b>: Some lab</p></div>"
        },
        "name" : "Some lab"
      },
      "request" : {
        "method" : "POST",
        "url" : "Organization"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/ServiceRequest/pgx-request",
      "resource" : {
        "resourceType" : "ServiceRequest",
        "id" : "pgx-request",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"pgx-request\" </p></div><p><b>status</b>: active</p><p><b>intent</b>: original-order</p><p><b>code</b>: Master HL7 genetic variant reporting panel <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#81247-9)</span></p><p><b>subject</b>: <a href=\"#Patient_ExamplePatient\">See above (Patient/ExamplePatient)</a></p><p><b>reasonCode</b>: Worried about family planning <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p></div>"
        },
        "status" : "active",
        "intent" : "original-order",
        "code" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "81247-9"
            }
          ]
        },
        "subject" : {
          "reference" : "Patient/ExamplePatient"
        },
        "reasonCode" : [
          {
            "text" : "Worried about family planning"
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "ServiceRequest"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/Observation/med-impact-pgx-example",
      "resource" : {
        "resourceType" : "Observation",
        "id" : "med-impact-pgx-example",
        "meta" : {
          "profile" : [
            "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/therapeutic-implication"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"med-impact-pgx-example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-therapeutic-implication.html\">Therapeutic Implication</a></p></div><p><b>status</b>: final</p><p><b>category</b>: Laboratory <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#laboratory)</span></p><p><b>code</b>: Therapeutic Implication <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-tbd-codes-cs.html\">To Be Determined Codes</a>#therapeutic-implication)</span></p><p><b>subject</b>: <a href=\"#Patient_ExamplePatient\">See above (Patient/ExamplePatient)</a></p><p><b>effective</b>: 2018</p><p><b>issued</b>: Mar 6, 2018 5:00:00 AM</p><p><b>performer</b>: <a href=\"#Organization_ExampleLab\">See above (Organization/ExampleLab)</a></p><p><b>derivedFrom</b>: <a href=\"#Observation_genotype-pgx-example\">See above (Observation/genotype-pgx-example)</a></p><blockquote><p><b>component</b></p><p><b>code</b>: Predicted Therapeutic Implication <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-tbd-codes-cs.html\">To Be Determined Codes</a>#predicted-therapeutic-implication)</span></p><p><b>value</b>: Rapid metabolizer <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA25390-8)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Medication assessed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#51963-7)</span></p><p><b>value</b>: mercaptopurine <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#103)</span></p></blockquote></div>"
        },
        "status" : "final",
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
                "code" : "laboratory"
              }
            ]
          }
        ],
        "code" : {
          "coding" : [
            {
              "system" : "http://hl7.org/fhir/uv/genomics-reporting/CodeSystem/tbd-codes-cs",
              "code" : "therapeutic-implication",
              "display" : "Therapeutic Implication"
            }
          ]
        },
        "subject" : {
          "reference" : "Patient/ExamplePatient"
        },
        "effectiveDateTime" : "2018",
        "issued" : "2018-03-06T00:00:00-05:00",
        "performer" : [
          {
            "reference" : "Organization/ExampleLab"
          }
        ],
        "derivedFrom" : [
          {
            "reference" : "Observation/genotype-pgx-example"
          }
        ],
        "component" : [
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://hl7.org/fhir/uv/genomics-reporting/CodeSystem/tbd-codes-cs",
                  "code" : "predicted-therapeutic-implication"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "LA25390-8",
                  "display" : "Rapid metabolizer"
                }
              ]
            }
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "51963-7",
                  "display" : "Medication assessed"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
                  "code" : "103",
                  "display" : "mercaptopurine"
                }
              ]
            }
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "Observation"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/Observation/genotype-pgx-example",
      "resource" : {
        "resourceType" : "Observation",
        "id" : "genotype-pgx-example",
        "meta" : {
          "profile" : [
            "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/genotype"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"genotype-pgx-example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-genotype.html\">Genotype</a></p></div><p><b>status</b>: final</p><p><b>category</b>: Laboratory <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#laboratory)</span></p><p><b>code</b>: genotype display name <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#84413-4)</span></p><p><b>effective</b>: 2018</p><p><b>issued</b>: Mar 6, 2018 5:00:00 AM</p><p><b>value</b>: CYP2C9 *4/*35B <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (www.pharmvar.org#CYP2C9 *4/*35B)</span></p><p><b>specimen</b>: <a href=\"#Specimen_ExampleSpecimen\">See above (Specimen/ExampleSpecimen)</a></p><p><b>derivedFrom</b>: </p><ul><li><a href=\"#Observation_haplotype-1-pgx-example\">See above (Observation/haplotype-1-pgx-example)</a></li><li><a href=\"#Observation_haplotype-2-pgx-example\">See above (Observation/haplotype-2-pgx-example)</a></li></ul><h3>Components</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Gene studied ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#48018-6)</span></td><td>CYP2C9 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (geneId#2623)</span></td></tr></table></div>"
        },
        "status" : "final",
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
                "code" : "laboratory"
              }
            ]
          }
        ],
        "code" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "84413-4",
              "display" : "genotype display name"
            }
          ]
        },
        "effectiveDateTime" : "2018",
        "issued" : "2018-03-06T00:00:00-05:00",
        "valueCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://www.pharmvar.org",
              "code" : "CYP2C9 *4/*35B",
              "display" : "CYP2C9 *4/*35B"
            }
          ]
        },
        "specimen" : {
          "reference" : "Specimen/ExampleSpecimen"
        },
        "derivedFrom" : [
          {
            "reference" : "Observation/haplotype-1-pgx-example"
          },
          {
            "reference" : "Observation/haplotype-2-pgx-example"
          }
        ],
        "component" : [
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "48018-6",
                  "display" : "Gene studied ID"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://www.genenames.org/geneId",
                  "code" : "2623",
                  "display" : "CYP2C9"
                }
              ]
            }
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "Observation"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/Observation/haplotype-1-pgx-example",
      "resource" : {
        "resourceType" : "Observation",
        "id" : "haplotype-1-pgx-example",
        "meta" : {
          "profile" : [
            "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/haplotype"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"haplotype-1-pgx-example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-haplotype.html\">Haplotype</a></p></div><p><b>status</b>: final</p><p><b>category</b>: Laboratory <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#laboratory)</span></p><p><b>code</b>: Haplotype Name <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#84414-2)</span></p><p><b>effective</b>: 2018</p><p><b>issued</b>: Mar 6, 2018 5:00:00 AM</p><p><b>value</b>: CYP2C9 *35B <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (www.pharmvar.org#CYP2C9 *35B)</span></p><p><b>specimen</b>: <a href=\"#Specimen_ExampleSpecimen\">See above (Specimen/ExampleSpecimen)</a></p><p><b>derivedFrom</b>: <a href=\"#Observation_variant-1-pgx-example\">See above (Observation/variant-1-pgx-example)</a></p><h3>Components</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Gene studied ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#48018-6)</span></td><td>CYP2C9 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (geneId#2623)</span></td></tr></table></div>"
        },
        "status" : "final",
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
                "code" : "laboratory"
              }
            ]
          }
        ],
        "code" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "84414-2",
              "display" : "Haplotype Name"
            }
          ]
        },
        "effectiveDateTime" : "2018",
        "issued" : "2018-03-06T00:00:00-05:00",
        "valueCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://www.pharmvar.org",
              "code" : "CYP2C9 *35B",
              "display" : "CYP2C9 *35B"
            }
          ]
        },
        "specimen" : {
          "reference" : "Specimen/ExampleSpecimen"
        },
        "derivedFrom" : [
          {
            "reference" : "Observation/variant-1-pgx-example"
          }
        ],
        "component" : [
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "48018-6",
                  "display" : "Gene studied ID"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://www.genenames.org/geneId",
                  "code" : "2623",
                  "display" : "CYP2C9"
                }
              ]
            }
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "Observation"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/Observation/haplotype-2-pgx-example",
      "resource" : {
        "resourceType" : "Observation",
        "id" : "haplotype-2-pgx-example",
        "meta" : {
          "profile" : [
            "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/haplotype"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"haplotype-2-pgx-example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-haplotype.html\">Haplotype</a></p></div><p><b>status</b>: final</p><p><b>category</b>: Laboratory <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#laboratory)</span></p><p><b>code</b>: Haplotype Name <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#84414-2)</span></p><p><b>effective</b>: 2018</p><p><b>issued</b>: Mar 6, 2018 5:00:00 AM</p><p><b>value</b>: CYP2C9 *4 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (www.pharmvar.org#CYP2C9 *4)</span></p><p><b>specimen</b>: <a href=\"#Specimen_ExampleSpecimen\">See above (Specimen/ExampleSpecimen)</a></p><p><b>derivedFrom</b>: <a href=\"#Observation_variant-2-pgx-example\">See above (Observation/variant-2-pgx-example)</a></p><h3>Components</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Gene studied ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#48018-6)</span></td><td>CYP2C9 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (geneId#2623)</span></td></tr></table></div>"
        },
        "status" : "final",
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
                "code" : "laboratory"
              }
            ]
          }
        ],
        "code" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "84414-2",
              "display" : "Haplotype Name"
            }
          ]
        },
        "effectiveDateTime" : "2018",
        "issued" : "2018-03-06T00:00:00-05:00",
        "valueCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://www.pharmvar.org",
              "code" : "CYP2C9 *4",
              "display" : "CYP2C9 *4"
            }
          ]
        },
        "specimen" : {
          "reference" : "Specimen/ExampleSpecimen"
        },
        "derivedFrom" : [
          {
            "reference" : "Observation/variant-2-pgx-example"
          }
        ],
        "component" : [
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "48018-6",
                  "display" : "Gene studied ID"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://www.genenames.org/geneId",
                  "code" : "2623",
                  "display" : "CYP2C9"
                }
              ]
            }
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "Observation"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/Observation/variant-1-pgx-example",
      "resource" : {
        "resourceType" : "Observation",
        "id" : "variant-1-pgx-example",
        "meta" : {
          "profile" : [
            "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/variant"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"variant-1-pgx-example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-variant.html\">Variant</a></p></div><p><b>status</b>: final</p><p><b>category</b>: Laboratory <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#laboratory)</span></p><p><b>code</b>: Genetic variant assessment <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#69548-6)</span></p><p><b>effective</b>: 2018</p><p><b>issued</b>: Mar 6, 2018 5:00:00 AM</p><p><b>value</b>: Present <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA9633-4)</span></p><p><b>specimen</b>: <a href=\"#Specimen_ExampleSpecimen\">See above (Specimen/ExampleSpecimen)</a></p><p><b>derivedFrom</b>: <a href=\"#MolecularSequence_sequence-1-pgx-example\">See above (MolecularSequence/sequence-1-pgx-example)</a></p><blockquote><p><b>component</b></p><p><b>code</b>: Gene studied ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#48018-6)</span></p><p><b>value</b>: CYP2C9 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (geneId#2623)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Discrete genetic variant <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#81252-9)</span></p><p><b>value</b>: rs12345 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-dbSNP.html\">Genetic Sequence polymorphism database</a>#rs12345)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Ref nucleotide <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#69547-8)</span></p><p><b>value</b>: T</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Alt allele <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#69551-0)</span></p><p><b>value</b>: G</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Genomic allele start-end <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#81254-5)</span></p><p><b>value</b>: 55227976-55227977</p></blockquote></div>"
        },
        "status" : "final",
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
                "code" : "laboratory"
              }
            ]
          }
        ],
        "code" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "69548-6",
              "display" : "Genetic variant assessment"
            }
          ]
        },
        "effectiveDateTime" : "2018",
        "issued" : "2018-03-06T00:00:00-05:00",
        "valueCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "LA9633-4",
              "display" : "Present"
            }
          ]
        },
        "specimen" : {
          "reference" : "Specimen/ExampleSpecimen"
        },
        "derivedFrom" : [
          {
            "reference" : "MolecularSequence/sequence-1-pgx-example"
          }
        ],
        "component" : [
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "48018-6",
                  "display" : "Gene studied ID"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://www.genenames.org/geneId",
                  "code" : "2623",
                  "display" : "CYP2C9"
                }
              ]
            }
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "81252-9"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://www.ncbi.nlm.nih.gov/projects/SNP",
                  "code" : "rs12345"
                }
              ]
            }
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "69547-8",
                  "display" : "Ref nucleotide"
                }
              ]
            },
            "valueString" : "T"
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "69551-0",
                  "display" : "Alt allele"
                }
              ]
            },
            "valueString" : "G"
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "81254-5"
                }
              ]
            },
            "valueRange" : {
              "low" : {
                "value" : 55227976
              },
              "high" : {
                "value" : 55227977
              }
            }
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "Observation"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/Observation/variant-2-pgx-example",
      "resource" : {
        "resourceType" : "Observation",
        "id" : "variant-2-pgx-example",
        "meta" : {
          "profile" : [
            "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/variant"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"variant-2-pgx-example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-variant.html\">Variant</a></p></div><p><b>status</b>: final</p><p><b>category</b>: Laboratory <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#laboratory)</span></p><p><b>code</b>: Genetic variant assessment <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#69548-6)</span></p><p><b>effective</b>: 2018</p><p><b>issued</b>: Mar 6, 2018 5:00:00 AM</p><p><b>value</b>: Present <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA9633-4)</span></p><p><b>specimen</b>: <a href=\"#Specimen_ExampleSpecimen\">See above (Specimen/ExampleSpecimen)</a></p><p><b>derivedFrom</b>: <a href=\"#MolecularSequence_sequence-2-pgx-example\">See above (MolecularSequence/sequence-2-pgx-example)</a></p><blockquote><p><b>component</b></p><p><b>code</b>: Gene studied ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#48018-6)</span></p><p><b>value</b>: CYP2C9 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (geneId#2623)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Genomic reference sequence ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#48013-7)</span></p><p><b>value</b>: NG_007726.3 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (nuccore#NG_007726.3)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Discrete genetic variant <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#81252-9)</span></p><p><b>value</b>: rs233455 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-dbSNP.html\">Genetic Sequence polymorphism database</a>#rs233455)</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Ref nucleotide <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#69547-8)</span></p><p><b>value</b>: T</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Alt allele <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#69551-0)</span></p><p><b>value</b>: G</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Genomic allele start-end <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#81254-5)</span></p><p><b>value</b>: 55227978-55227979</p></blockquote></div>"
        },
        "status" : "final",
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
                "code" : "laboratory"
              }
            ]
          }
        ],
        "code" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "69548-6",
              "display" : "Genetic variant assessment"
            }
          ]
        },
        "effectiveDateTime" : "2018",
        "issued" : "2018-03-06T00:00:00-05:00",
        "valueCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "LA9633-4",
              "display" : "Present"
            }
          ]
        },
        "specimen" : {
          "reference" : "Specimen/ExampleSpecimen"
        },
        "derivedFrom" : [
          {
            "reference" : "MolecularSequence/sequence-2-pgx-example"
          }
        ],
        "component" : [
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "48018-6",
                  "display" : "Gene studied ID"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://www.genenames.org/geneId",
                  "code" : "2623",
                  "display" : "CYP2C9"
                }
              ]
            }
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "48013-7",
                  "display" : "Genomic reference sequence ID"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://www.ncbi.nlm.nih.gov/nuccore",
                  "code" : "NG_007726.3"
                }
              ]
            }
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "81252-9"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://www.ncbi.nlm.nih.gov/projects/SNP",
                  "code" : "rs233455"
                }
              ]
            }
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "69547-8",
                  "display" : "Ref nucleotide"
                }
              ]
            },
            "valueString" : "T"
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "69551-0",
                  "display" : "Alt allele"
                }
              ]
            },
            "valueString" : "G"
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "81254-5"
                }
              ]
            },
            "valueRange" : {
              "low" : {
                "value" : 55227978
              },
              "high" : {
                "value" : 55227979
              }
            }
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "Observation"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/MolecularSequence/sequence-1-pgx-example",
      "resource" : {
        "resourceType" : "MolecularSequence",
        "id" : "sequence-1-pgx-example",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"sequence-1-pgx-example\" </p></div><p><b>type</b>: dna</p><p><b>coordinateSystem</b>: 0</p><h3>ReferenceSeqs</h3><table class=\"grid\"><tr><td>-</td><td><b>Orientation</b></td><td><b>ReferenceSeqId</b></td><td><b>WindowStart</b></td><td><b>WindowEnd</b></td></tr><tr><td>*</td><td>sense</td><td>NG-007726.3 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (nuccore#NG-007726.3)</span></td><td>55227970</td><td>55227980</td></tr></table></div>"
        },
        "type" : "dna",
        "coordinateSystem" : 0,
        "referenceSeq" : {
          "orientation" : "sense",
          "referenceSeqId" : {
            "coding" : [
              {
                "system" : "http://www.ncbi.nlm.nih.gov/nuccore",
                "code" : "NG-007726.3"
              }
            ]
          },
          "windowStart" : 55227970,
          "windowEnd" : 55227980
        }
      },
      "request" : {
        "method" : "POST",
        "url" : "MolecularSequence"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/MolecularSequence/sequence-2-pgx-example",
      "resource" : {
        "resourceType" : "MolecularSequence",
        "id" : "sequence-2-pgx-example",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"sequence-2-pgx-example\" </p></div><p><b>type</b>: dna</p><p><b>coordinateSystem</b>: 0</p><h3>ReferenceSeqs</h3><table class=\"grid\"><tr><td>-</td><td><b>Orientation</b></td><td><b>ReferenceSeqId</b></td><td><b>WindowStart</b></td><td><b>WindowEnd</b></td></tr><tr><td>*</td><td>sense</td><td>NG-007726.3 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (nuccore#NG-007726.3)</span></td><td>55227970</td><td>55227980</td></tr></table></div>"
        },
        "type" : "dna",
        "coordinateSystem" : 0,
        "referenceSeq" : {
          "orientation" : "sense",
          "referenceSeqId" : {
            "coding" : [
              {
                "system" : "http://www.ncbi.nlm.nih.gov/nuccore",
                "code" : "NG-007726.3"
              }
            ]
          },
          "windowStart" : 55227970,
          "windowEnd" : 55227980
        }
      },
      "request" : {
        "method" : "POST",
        "url" : "MolecularSequence"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/Task/med-usage-impact-task-pgx-example",
      "resource" : {
        "resourceType" : "Task",
        "id" : "med-usage-impact-task-pgx-example",
        "meta" : {
          "profile" : [
            "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/medication-recommendation"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"med-usage-impact-task-pgx-example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-medication-recommendation.html\">Medication Recommendation</a></p></div><p><b>status</b>: requested</p><p><b>intent</b>: proposal</p><p><b>code</b>: Any Increase does Recommendation Text from the provider <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#LA26423-6 \"Increase dose\")</span></p><p><b>description</b>: Any Increase does Recommendation Text from the provider</p><p><b>focus</b>: <a href=\"#MedicationStatement_current-med-example\">See above (MedicationStatement/current-med-example)</a></p><p><b>for</b>: <a href=\"#Patient_ExamplePatient\">See above (Patient/ExamplePatient)</a></p><p><b>reasonReference</b>: <a href=\"#Observation_med-impact-pgx-example\">See above (Observation/med-impact-pgx-example)</a></p></div>"
        },
        "status" : "requested",
        "intent" : "proposal",
        "code" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "LA26423-6",
              "display" : "Increase dose"
            }
          ],
          "text" : "Any Increase does Recommendation Text from the provider"
        },
        "description" : "Any Increase does Recommendation Text from the provider",
        "focus" : {
          "reference" : "MedicationStatement/current-med-example"
        },
        "for" : {
          "reference" : "Patient/ExamplePatient"
        },
        "reasonReference" : {
          "reference" : "Observation/med-impact-pgx-example"
        }
      },
      "request" : {
        "method" : "POST",
        "url" : "Task"
      }
    },
    {
      "fullUrl" : "http://example.org/fhir/MedicationStatement/current-med-example",
      "resource" : {
        "resourceType" : "MedicationStatement",
        "id" : "current-med-example",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"current-med-example\" </p></div><p><b>status</b>: unknown</p><p><b>medication</b>: mercaptopurine <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#103)</span></p><p><b>subject</b>: <a href=\"#Patient_ExamplePatient\">See above (Patient/ExamplePatient)</a></p></div>"
        },
        "status" : "unknown",
        "medicationCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
              "code" : "103",
              "display" : "mercaptopurine"
            }
          ]
        },
        "subject" : {
          "reference" : "Patient/ExamplePatient"
        }
      },
      "request" : {
        "method" : "POST",
        "url" : "MedicationStatement"
      }
    }
  ]
}