{
  "resourceType": "StructureDefinition",
  "url": "http://ontariohealth.ca/fhir/StructureDefinition/accdr-basic-mapping-link",
  "name": "BasicMappingLink",
  "title": "acCDR Basic Mapping Link",
  "status": "draft",
  "description": "Contains the mapping info for a single local document code - the matching provincial code, 5 ontologies, and a mapping status",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Basic",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Basic",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Basic.extension:mappingStatus",
        "path": "Basic.extension",
        "sliceName": "mappingStatus",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ontariohealth.ca/fhir/StructureDefinition/accdr-mapping-status"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Basic.extension:extLocalDocumentCode",
        "path": "Basic.extension",
        "sliceName": "extLocalDocumentCode",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-local-doc-code"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Basic.extension:extProvincialDocumentCode",
        "path": "Basic.extension",
        "sliceName": "extProvincialDocumentCode",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-prov-doc-code"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Basic.extension:extCategoryKindOfDocument",
        "path": "Basic.extension",
        "sliceName": "extCategoryKindOfDocument",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-category-KoD"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Basic.extension:extCategorySubjectMatterDomain",
        "path": "Basic.extension",
        "sliceName": "extCategorySubjectMatterDomain",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-category-SMD"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Basic.extension:extCategoryTypeOfService",
        "path": "Basic.extension",
        "sliceName": "extCategoryTypeOfService",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-category-ToS"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Basic.extension:extCategoryRole",
        "path": "Basic.extension",
        "sliceName": "extCategoryRole",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-category-role"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Basic.extension:extCategorySetting",
        "path": "Basic.extension",
        "sliceName": "extCategorySetting",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-category-setting"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Basic.identifier",
        "path": "Basic.identifier",
        "min": 1
      }
    ]
  }
}