{
  "resourceType": "StructureDefinition",
  "id": "IHE.VRDR.Autopsy-Performed-Indicator",
  "url": "http://ihe.net/fhir/vrdr/StructureDefinition/Autopsy-Performed-Indicator",
  "name": "IHE VRDR Autopsy Performed Indicator",
  "status": "draft",
  "description": "Measurements and simple assertions made about a patient, device or other subject.",
  "purpose": "It is used to convey a indication as to whether or not an autopsy was performed and whether the results of the autopsy were available for use in declaring the cause of death.",
  "copyright": "IHE http://www.ihe.net/Governance/#Intellectual_Property",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Observation"
  ],
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation"
      },
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "short": "id",
        "definition": "MAY contain zero or one [0..1] id (CONF:4393-406).",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.meta",
        "path": "Observation.meta",
        "short": "meta",
        "definition": "MAY contain zero or one [0..1] meta (CONF:4393-405).",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.meta.profile",
        "path": "Observation.meta.profile",
        "short": "profile",
        "definition": "The meta, if present, SHALL contain exactly one [1..1] profile=\"http://hl7.org/fhir/us/vrdr/StructureDefinition/VRDR-Autopsy-Performed-Indicator\" (CONF:4393-407).",
        "min": 1,
        "max": "1",
        "patternString": "http://hl7.org/fhir/us/vrdr/StructureDefinition/VRDR-Autopsy-Performed-Indicator"
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "short": "status",
        "definition": "SHALL contain exactly one [1..1] status=\"\"final\"\" (CONF:4393-412).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "\"final\""
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "code",
        "definition": "SHALL contain exactly one [1..1] code=\"85699-7\" Autopsy was performed (CONF:4393-411).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "fixedCodeableConcept": {
          "coding": [
            {
              "code": "85699-7",
              "display": "Autopsy was performed"
            }
          ]
        }
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "short": "subject",
        "definition": "SHALL contain exactly one [1..1] subject=\"VRDR Decedent\" (CONF:4393-413).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
          }
        ],
        "patternString": "VRDR Decedent"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "short": "value[x]",
        "definition": "SHALL contain exactly one [1..1] value[x], where value[x] is (CONF:4393-409)",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.value[x]:valueCodeableConcept",
        "path": "Observation.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "short": "valueCodeableConcept",
        "definition": "valueCodeableConcept, which SHALL be selected from ValueSet v2-0532 http://hl7.org/fhir/ValueSet/v2-0532 DYNAMIC (CONF:4393-410)",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v2-0532",
            "display": "v2-0532"
          }
        }
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "short": "component",
        "definition": "SHALL contain exactly one [1..1] component (CONF:4393-414).",
        "comment": "Autopsy Results Available",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component.code",
        "path": "Observation.component.code",
        "short": "code",
        "definition": "This component SHALL contain exactly one [1..1] code=\" 69436-4\" Autopsy results available  (CONF:4393-416).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "patternCodeableConcept": {
          "coding": [
            {
              "code": "69436-4",
              "display": "Autopsy results available"
            }
          ]
        }
      },
      {
        "id": "Observation.component.value[x]",
        "path": "Observation.component.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "short": "value[x]",
        "definition": "This component SHALL contain exactly one [1..1] value[x], where value[x] is (CONF:4393-415)",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component.value[x]:valueCodeableConcept",
        "path": "Observation.component.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "short": "valueCodeableConcept",
        "definition": "This component SHALL contain exactly one [1..1] valueCodeableConcept, which SHALL be selected from ValueSet v2-0532 http://hl7.org/fhir/ValueSet/v2-0532 DYNAMIC (CONF:4393-417).",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v2-0532",
            "display": "v2-0532"
          }
        }
      }
    ]
  }
}