| Orders and Observations Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson | 
Raw JSON (canonical form + also see JSON Format Specification)
Example of diplotype data (with haplotypes observation as reference)
{
  "resourceType": "Observation",
  "id": "example-diplotype1",
  "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 "example-diplotype1" </p></div><p><b>Gene</b>: CYP2C9 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-hgnc.html\">HUGO Gene Nomenclature</a>#2623)</span></p><p><b>status</b>: final</p><p><b>code</b>: The material on this page will be removed in a future release. This content is deprecated and SHOULD NOT be used. Implementers are instead directed to the ([Genomics Reporting Implementation Guide](http://hl7.org/fhir/uv/genomics-reporting/index.html)) for guidance. Diplotype Call <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#363779003 "Genotype determination")</span></p><p><b>subject</b>: <a href=\"todo.html\">Patient/727127: J*********** C***********</a></p><p><b>effective</b>: 2013-04-03T15:30:10+01:00</p><p><b>device</b>: <a href=\"device-example.html\">Device/example</a></p><p><b>derivedFrom</b>: </p><ul><li><a href=\"observation-example-haplotype1.html\">Observation/example-haplotype1</a></li><li><a href=\"observation-example-haplotype2.html\">Observation/example-haplotype2</a></li></ul></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene",
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://www.genenames.org",
            "code": "2623",
            "display": "CYP2C9"
          }
        ]
      }
    }
  ],
  "status": "final",
  "code": {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "363779003",
        "display": "Genotype determination"
      }
    ],
    "text": "The material on this page will be removed in a future release. This content is deprecated and SHOULD NOT be used. Implementers are instead directed to the ([Genomics Reporting Implementation Guide](http://hl7.org/fhir/uv/genomics-reporting/index.html)) for guidance. Diplotype Call"
  },
  "subject": {
    "reference": "Patient/727127",
    "display": "J*********** C***********"
  },
  "effectiveDateTime": "2013-04-03T15:30:10+01:00",
  "device": {
    "reference": "Device/example"
  },
  "derivedFrom": [
    {
      "reference": "Observation/example-haplotype1"
    },
    {
      "reference": "Observation/example-haplotype2"
    }
  ]
}
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.