PackagesCanonicalsLogsProblems
    Packages
    ontariomicdrfhirimplementationguide-0.10.00@0.9.6-beta
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-DocumentReference
{
  "description": null,
  "_filename": "StructureDefinition-ca-on-mi-profile-documentreference.json",
  "package_name": "ontariomicdrfhirimplementationguide-0.10.00",
  "date": "2024-04-29T17:57:19.0221088+00:00",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "MiCdrDocumentReference",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/fhir/composition",
    "name": "FHIR Composition",
    "identity": "fhircomposition"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/v3/cda",
    "name": "CDA (R2)",
    "identity": "cda"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://ihe.net/xds",
    "name": "XDS metadata equivalent",
    "identity": "xds"
  } ],
  "abstract": false,
  "type": "DocumentReference",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "DocumentReference Profile",
  "package_version": "0.9.6-beta",
  "status": "active",
  "id": "239d5fea-f8c1-4c2e-8cf9-5f371210bed4",
  "kind": "resource",
  "url": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-DocumentReference",
  "version": "0.9.0",
  "differential": {
    "element": [ {
      "id": "DocumentReference.meta",
      "min": 1,
      "path": "DocumentReference.meta",
      "mustSupport": true
    }, {
      "id": "DocumentReference.meta.profile",
      "min": 1,
      "path": "DocumentReference.meta.profile",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier",
      "min": 1,
      "path": "DocumentReference.identifier",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "type.coding.code",
          "type": "value"
        } ]
      },
      "definition": "Other identifiers associated with the document, including any identifier in the filling application, or a placer group number",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier.type",
      "min": 1,
      "path": "DocumentReference.identifier.type",
      "short": "Description of identifier.",
      "binding": {
        "strength": "required"
      },
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier.type.coding",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier.type.coding.system",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding.system",
      "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier.type.coding.code",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding.code",
      "fixedCode": "ACSN",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier.type.coding.display",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding.display",
      "fixedString": "Accession ID",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier.system",
      "min": 1,
      "path": "DocumentReference.identifier.system",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier.value",
      "min": 1,
      "path": "DocumentReference.identifier.value",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Accession-Number",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.identifier",
      "sliceName": "sliceIdentifier-Accession-Number",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Accession-Number.type",
      "min": 1,
      "path": "DocumentReference.identifier.type",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Accession-Number.type.coding",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Accession-Number.type.coding.system",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding.system",
      "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Accession-Number.type.coding.code",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding.code",
      "fixedCode": "ACSN",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Accession-Number.type.coding.display",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Accession-Number.system",
      "min": 1,
      "path": "DocumentReference.identifier.system",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Accession-Number.value",
      "min": 1,
      "path": "DocumentReference.identifier.value",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Placer-Order-Number",
      "max": "1",
      "path": "DocumentReference.identifier",
      "sliceName": "sliceIdentifier-Placer-Order-Number",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Placer-Order-Number.type",
      "min": 1,
      "path": "DocumentReference.identifier.type",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Placer-Order-Number.type.coding",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Placer-Order-Number.type.coding.system",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding.system",
      "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Placer-Order-Number.type.coding.code",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding.code",
      "fixedCode": "PLAC",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Placer-Order-Number.type.coding.display",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Placer-Order-Number.system",
      "min": 1,
      "path": "DocumentReference.identifier.system",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Placer-Order-Number.value",
      "min": 1,
      "path": "DocumentReference.identifier.value",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Study-Instance-Id",
      "max": "1",
      "path": "DocumentReference.identifier",
      "sliceName": "sliceIdentifier-Study-Instance-Id",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Study-Instance-Id.type",
      "min": 1,
      "path": "DocumentReference.identifier.type",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Study-Instance-Id.type.coding",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Study-Instance-Id.type.coding.system",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding.system",
      "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Study-Instance-Id.type.coding.code",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding.code",
      "fixedCode": "SUID",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Study-Instance-Id.type.coding.display",
      "min": 1,
      "path": "DocumentReference.identifier.type.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Study-Instance-Id.system",
      "min": 1,
      "path": "DocumentReference.identifier.system",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier:sliceIdentifier-Study-Instance-Id.value",
      "min": 1,
      "path": "DocumentReference.identifier.value",
      "mustSupport": true
    }, {
      "id": "DocumentReference.status",
      "path": "DocumentReference.status",
      "mustSupport": true
    }, {
      "id": "DocumentReference.docStatus",
      "path": "DocumentReference.docStatus",
      "mustSupport": true
    }, {
      "id": "DocumentReference.type",
      "min": 1,
      "path": "DocumentReference.type",
      "binding": {
        "strength": "required",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/mi-document-type",
        "description": "Indicates the MI Document Types."
      },
      "mustSupport": true
    }, {
      "id": "DocumentReference.type.coding",
      "min": 1,
      "path": "DocumentReference.type.coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "DocumentReference.type.coding.system",
      "min": 1,
      "path": "DocumentReference.type.coding.system",
      "mustSupport": true
    }, {
      "id": "DocumentReference.type.coding.code",
      "min": 1,
      "path": "DocumentReference.type.coding.code",
      "mustSupport": true
    }, {
      "id": "DocumentReference.type.coding.display",
      "min": 1,
      "path": "DocumentReference.type.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.type.coding:slice-loinc-coding",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.type.coding",
      "sliceName": "slice-loinc-coding",
      "mustSupport": true
    }, {
      "id": "DocumentReference.type.coding:slice-loinc-coding.system",
      "min": 1,
      "path": "DocumentReference.type.coding.system",
      "fixedUri": "http://loinc.org",
      "mustSupport": true
    }, {
      "id": "DocumentReference.type.coding:slice-loinc-coding.code",
      "min": 1,
      "path": "DocumentReference.type.coding.code",
      "mustSupport": true
    }, {
      "id": "DocumentReference.type.coding:slice-loinc-coding.display",
      "min": 1,
      "path": "DocumentReference.type.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.subject",
      "min": 1,
      "path": "DocumentReference.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-patient" ]
      } ],
      "mustSupport": true
    }, {
      "id": "DocumentReference.subject.reference",
      "min": 1,
      "path": "DocumentReference.subject.reference",
      "mustSupport": true
    }, {
      "id": "DocumentReference.date",
      "min": 1,
      "path": "DocumentReference.date",
      "mustSupport": true
    }, {
      "id": "DocumentReference.author",
      "max": "1",
      "path": "DocumentReference.author",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-PractitionerRole", "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Practitioner", "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Organization" ]
      } ],
      "mustSupport": true
    }, {
      "id": "DocumentReference.author.reference",
      "min": 1,
      "path": "DocumentReference.author.reference",
      "mustSupport": true
    }, {
      "id": "DocumentReference.custodian",
      "min": 1,
      "path": "DocumentReference.custodian",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Organization" ]
      } ],
      "mustSupport": true
    }, {
      "id": "DocumentReference.custodian.reference",
      "min": 1,
      "path": "DocumentReference.custodian.reference",
      "mustSupport": true
    }, {
      "id": "DocumentReference.relatesTo",
      "path": "DocumentReference.relatesTo",
      "mustSupport": true
    }, {
      "id": "DocumentReference.relatesTo.code",
      "path": "DocumentReference.relatesTo.code",
      "mustSupport": true
    }, {
      "id": "DocumentReference.relatesTo.target",
      "path": "DocumentReference.relatesTo.target",
      "mustSupport": true
    }, {
      "id": "DocumentReference.description",
      "path": "DocumentReference.description",
      "comment": "something to describe the document, such as provincial description for orders and reports, study descripton for imaging study)",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content",
      "path": "DocumentReference.content",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content.attachment",
      "path": "DocumentReference.content.attachment",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content.attachment.url",
      "path": "DocumentReference.content.attachment.url",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context",
      "min": 1,
      "path": "DocumentReference.context",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.encounter",
      "path": "DocumentReference.context.encounter",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-encounter" ]
      } ],
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event",
      "min": 1,
      "path": "DocumentReference.context.event",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "extension.value.code",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event.extension",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "DocumentReference.context.event.extension:ext-mi-clinical-category",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type" ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/mi-category-type",
        "description": "Indicates the MI categories"
      },
      "sliceName": "ext-mi-clinical-category",
      "isModifier": false
    }, {
      "id": "DocumentReference.context.event:event-modality",
      "max": "1",
      "path": "DocumentReference.context.event",
      "binding": {
        "strength": "required",
        "valueSet": "https://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_29.html",
        "description": "The modality of the instances in the series"
      },
      "sliceName": "event-modality",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-modality.extension",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "DocumentReference.context.event:event-modality.extension:ext-mi-clinical-category",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type" ]
      } ],
      "sliceName": "ext-mi-clinical-category",
      "isModifier": false
    }, {
      "id": "DocumentReference.context.event:event-modality.extension:ext-mi-clinical-category.value[x].system",
      "path": "DocumentReference.context.event.extension.value[x].system",
      "fixedUri": "http://snomed.info/sct"
    }, {
      "id": "DocumentReference.context.event:event-modality.extension:ext-mi-clinical-category.value[x].code",
      "path": "DocumentReference.context.event.extension.value[x].code",
      "fixedCode": "360037004"
    }, {
      "id": "DocumentReference.context.event:event-modality.coding",
      "min": 1,
      "path": "DocumentReference.context.event.coding",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-modality.coding.system",
      "min": 1,
      "path": "DocumentReference.context.event.coding.system",
      "fixedUri": "http://snomed.info/sct",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-modality.coding.code",
      "min": 1,
      "path": "DocumentReference.context.event.coding.code",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-modality.coding.display",
      "min": 1,
      "path": "DocumentReference.context.event.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-specialty",
      "max": "1",
      "path": "DocumentReference.context.event",
      "binding": {
        "strength": "required",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/mi-procedure-specialty",
        "description": "Classification of the requested service."
      },
      "sliceName": "event-specialty",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-specialty.extension",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "DocumentReference.context.event:event-specialty.extension:ext-mi-clinical-category",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type" ]
      } ],
      "sliceName": "ext-mi-clinical-category",
      "isModifier": false
    }, {
      "id": "DocumentReference.context.event:event-specialty.extension:ext-mi-clinical-category.value[x].system",
      "path": "DocumentReference.context.event.extension.value[x].system",
      "fixedUri": "http://snomed.info/sct"
    }, {
      "id": "DocumentReference.context.event:event-specialty.extension:ext-mi-clinical-category.value[x].code",
      "path": "DocumentReference.context.event.extension.value[x].code",
      "fixedCode": "394658006"
    }, {
      "id": "DocumentReference.context.event:event-specialty.coding",
      "min": 1,
      "path": "DocumentReference.context.event.coding",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-specialty.coding.system",
      "min": 1,
      "path": "DocumentReference.context.event.coding.system",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-specialty.coding.code",
      "min": 1,
      "path": "DocumentReference.context.event.coding.code",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-specialty.coding.display",
      "min": 1,
      "path": "DocumentReference.context.event.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-bodyPart",
      "path": "DocumentReference.context.event",
      "binding": {
        "strength": "required",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/mi-procedure-bodypart-sct",
        "description": "Indicates the MI Procedure Body Part - SNOMED CT"
      },
      "sliceName": "event-bodyPart",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-bodyPart.extension",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "DocumentReference.context.event:event-bodyPart.extension:ext-category-bodypart",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type" ]
      } ],
      "sliceName": "ext-category-bodypart",
      "isModifier": false
    }, {
      "id": "DocumentReference.context.event:event-bodyPart.extension:ext-category-bodypart.value[x].system",
      "path": "DocumentReference.context.event.extension.value[x].system",
      "fixedUri": "http://snomed.info/sct"
    }, {
      "id": "DocumentReference.context.event:event-bodyPart.extension:ext-category-bodypart.value[x].code",
      "path": "DocumentReference.context.event.extension.value[x].code",
      "fixedCode": "272427006"
    }, {
      "id": "DocumentReference.context.event:event-bodyPart.coding",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.context.event.coding",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-bodyPart.coding.system",
      "min": 1,
      "path": "DocumentReference.context.event.coding.system",
      "fixedUri": "http://snomed.info/sct",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-bodyPart.coding.code",
      "min": 1,
      "path": "DocumentReference.context.event.coding.code",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-bodyPart.coding.display",
      "min": 1,
      "path": "DocumentReference.context.event.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-laterality",
      "path": "DocumentReference.context.event",
      "binding": {
        "strength": "required",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/mi-procedure-laterality-sct",
        "description": "A code that classifies a laterality of an MI procedure using SNOMED CT codes"
      },
      "sliceName": "event-laterality",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-laterality.extension",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "DocumentReference.context.event:event-laterality.extension:ext-category-laterality",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type" ]
      } ],
      "sliceName": "ext-category-laterality",
      "isModifier": false
    }, {
      "id": "DocumentReference.context.event:event-laterality.extension:ext-category-laterality.value[x].system",
      "path": "DocumentReference.context.event.extension.value[x].system",
      "fixedUri": "http://snomed.info/sct"
    }, {
      "id": "DocumentReference.context.event:event-laterality.extension:ext-category-laterality.value[x].code",
      "path": "DocumentReference.context.event.extension.value[x].code",
      "fixedCode": "272741003"
    }, {
      "id": "DocumentReference.context.event:event-laterality.coding",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.context.event.coding",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-laterality.coding.system",
      "min": 1,
      "path": "DocumentReference.context.event.coding.system",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-laterality.coding.code",
      "min": 1,
      "path": "DocumentReference.context.event.coding.code",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-laterality.coding.display",
      "min": 1,
      "path": "DocumentReference.context.event.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-contrast",
      "max": "1",
      "path": "DocumentReference.context.event",
      "binding": {
        "strength": "required",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/mi-procedure-contrast-used",
        "description": "Indicates if contrast was used for the MI Procedure."
      },
      "sliceName": "event-contrast",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-contrast.extension",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "DocumentReference.context.event:event-contrast.extension:ext-category-contrast",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type" ]
      } ],
      "sliceName": "ext-category-contrast",
      "isModifier": false
    }, {
      "id": "DocumentReference.context.event:event-contrast.extension:ext-category-contrast.value[x].system",
      "path": "DocumentReference.context.event.extension.value[x].system",
      "fixedUri": "http://snomed.info/sct"
    }, {
      "id": "DocumentReference.context.event:event-contrast.extension:ext-category-contrast.value[x].code",
      "path": "DocumentReference.context.event.extension.value[x].code",
      "fixedCode": "263543005"
    }, {
      "id": "DocumentReference.context.event:event-contrast.coding",
      "min": 1,
      "path": "DocumentReference.context.event.coding",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-contrast.coding.system",
      "min": 1,
      "path": "DocumentReference.context.event.coding.system",
      "fixedUri": "http://snomed.info/sct",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-contrast.coding.code",
      "min": 1,
      "path": "DocumentReference.context.event.coding.code",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-contrast.coding.display",
      "min": 1,
      "path": "DocumentReference.context.event.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-procedureCode",
      "path": "DocumentReference.context.event",
      "sliceName": "event-procedureCode",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-procedureCode.extension",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "DocumentReference.context.event:event-procedureCode.extension:slice-ext-mi-category-type",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.context.event.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type" ]
      } ],
      "sliceName": "slice-ext-mi-category-type",
      "isModifier": false
    }, {
      "id": "DocumentReference.context.event:event-procedureCode.extension:slice-ext-mi-category-type.value[x].system",
      "path": "DocumentReference.context.event.extension.value[x].system",
      "fixedUri": "http://snomed.info/sct"
    }, {
      "id": "DocumentReference.context.event:event-procedureCode.extension:slice-ext-mi-category-type.value[x].code",
      "path": "DocumentReference.context.event.extension.value[x].code",
      "fixedCode": "276218009"
    }, {
      "id": "DocumentReference.context.event:event-procedureCode.coding",
      "path": "DocumentReference.context.event.coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "DocumentReference.context.event:event-procedureCode.coding:slice-provincial-code",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.context.event.coding",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/mi-procedure-type-provincial",
        "description": "Provincial procedure type Codes"
      },
      "sliceName": "slice-provincial-code"
    }, {
      "id": "DocumentReference.context.event:event-procedureCode.coding:slice-provincial-code.system",
      "min": 1,
      "path": "DocumentReference.context.event.coding.system",
      "fixedUri": "http://ontariohealth.ca/fhir/CodeSystem/procedure-type-mi-provincial",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-procedureCode.coding:slice-provincial-code.code",
      "min": 1,
      "path": "DocumentReference.context.event.coding.code",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-procedureCode.coding:slice-provincial-code.display",
      "min": 1,
      "path": "DocumentReference.context.event.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-procedureCode.coding:slice-snomed-coding",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.context.event.coding",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/mi-procedure-type-sct",
        "description": "A SNOMED CT MI procedure code that describes an MI report or order"
      },
      "sliceName": "slice-snomed-coding"
    }, {
      "id": "DocumentReference.context.event:event-procedureCode.coding:slice-snomed-coding.system",
      "min": 1,
      "path": "DocumentReference.context.event.coding.system",
      "fixedUri": "http://snomed.info/sct",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-procedureCode.coding:slice-snomed-coding.code",
      "min": 1,
      "path": "DocumentReference.context.event.coding.code",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.event:event-procedureCode.coding:slice-snomed-coding.display",
      "min": 1,
      "path": "DocumentReference.context.event.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.facilityType",
      "path": "DocumentReference.context.facilityType",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.facilityType.coding",
      "min": 1,
      "path": "DocumentReference.context.facilityType.coding",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.facilityType.coding.system",
      "min": 1,
      "path": "DocumentReference.context.facilityType.coding.system",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.facilityType.coding.code",
      "min": 1,
      "path": "DocumentReference.context.facilityType.coding.code",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.facilityType.coding.display",
      "min": 1,
      "path": "DocumentReference.context.facilityType.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.practiceSetting",
      "path": "DocumentReference.context.practiceSetting",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.practiceSetting.coding",
      "min": 1,
      "path": "DocumentReference.context.practiceSetting.coding",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.practiceSetting.coding.system",
      "min": 1,
      "path": "DocumentReference.context.practiceSetting.coding.system",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.practiceSetting.coding.code",
      "min": 1,
      "path": "DocumentReference.context.practiceSetting.coding.code",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.practiceSetting.coding.display",
      "min": 1,
      "path": "DocumentReference.context.practiceSetting.coding.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.related",
      "min": 1,
      "path": "DocumentReference.context.related",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "referenced" ],
        "targetProfile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-DiagnosticReport", "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-ServiceRequest", "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-ImagingStudy" ]
      } ],
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.related.reference",
      "min": 1,
      "path": "DocumentReference.context.related.reference",
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference"
}