{
  "resourceType": "StructureDefinition",
  "url": "https://medico-emr.net/medico/r4/sd/ext/Observation_CancellationDate_1",
  "name": "Observation_CancellationDate_1",
  "status": "draft",
  "description": "An extension to provide the cancellation date for an observation",
  "fhirVersion": "4.0.0",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Observation"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "definition": "An extension to provide the cancellation date for an observation"
      },
      {
        "id": "Extension.id",
        "path": "Extension.id",
        "max": "0"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedString": "https://medico-emr.net/medico/r4/sd/ext/Observation_CancellationDate_1"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "definition": "indicates the DateTime of the system when the observation was cancelled (extension not writable)",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ]
      }
    ]
  }
}