{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2019-03-12T19:00:18.7780238+00:00"
  },
  "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-ext-subtype",
  "name": "data-subtype",
  "status": "draft",
  "date": "2019-03-12T19:00:18.6022902+00:00",
  "description": "Indicate the subtype of data (exmpale. PDF,XML)",
  "purpose": "OLIS supports data subtype for Attachment data type.",
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Attachment",
    "Observation.value[x]"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-ext-subtype"
      },
      {
        "id": "Extension.value[x]:valueCoding",
        "path": "Extension.valueCoding",
        "sliceName": "valueCoding",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Extension.value[x]:valueCoding.system",
        "path": "Extension.valueCoding.system",
        "mustSupport": true,
        "binding": {
          "strength": "preferred",
          "valueSetUri": "http://ehealthontario.ca/fhir/ValueSet/lab/observation-data-subtype"
        }
      },
      {
        "id": "Extension.value[x]:valueCoding.code",
        "path": "Extension.valueCoding.code",
        "mustSupport": true
      }
    ]
  }
}