{
  "resourceType": "StructureDefinition",
  "id": "CMH-SU-Organization",
  "url": "http://example.org/fhir/StructureDefinition/CMH-SU-Organization",
  "name": "CMH-SU-Organization",
  "status": "draft",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Organization",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Organization.id",
        "path": "Organization.id",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier",
        "path": "Organization.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            },
            {
              "type": "value",
              "path": "type.coding.system"
            },
            {
              "type": "value",
              "path": "type.coding.code"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 4,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:SU-ORG-ID",
        "path": "Organization.identifier",
        "sliceName": "SU-ORG-ID",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:SU-ORG-ID.type",
        "path": "Organization.identifier.type",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:SU-ORG-ID.type.coding.system",
        "path": "Organization.identifier.type.coding.system",
        "min": 1,
        "fixedUri": "https://ccim.on.ca/fhir/mds/CodeSystem/cs-identifier-type",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:SU-ORG-ID.type.coding.code",
        "path": "Organization.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "ORG",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:SU-ORG-ID.system",
        "path": "Organization.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:SU-SITE-ID",
        "path": "Organization.identifier",
        "sliceName": "SU-SITE-ID",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:SU-SITE-ID.type",
        "path": "Organization.identifier.type",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:SU-SITE-ID.type.coding.system",
        "path": "Organization.identifier.type.coding.system",
        "min": 1,
        "fixedUri": "https://ccim.on.ca/fhir/mds/CodeSystem/cs-identifier-type",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:SU-SITE-ID.type.coding.code",
        "path": "Organization.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "SITE",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:SU-SITE-ID.system",
        "path": "Organization.identifier.system",
        "min": 1,
        "fixedUri": "https://ccim.on.ca/fhir/mds/NamingSystem/ns-su-organization-site-id",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:CONNEX-ORG-ID",
        "path": "Organization.identifier",
        "sliceName": "CONNEX-ORG-ID",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:CONNEX-ORG-ID.type",
        "path": "Organization.identifier.type",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:CONNEX-ORG-ID.type.coding",
        "path": "Organization.identifier.type.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:CONNEX-ORG-ID.type.coding.system",
        "path": "Organization.identifier.type.coding.system",
        "min": 1,
        "fixedUri": "https://ccim.on.ca/fhir/mds/CodeSystem/cs-identifier-type",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:CONNEX-ORG-ID.type.coding.code",
        "path": "Organization.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "ORG",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:CONNEX-ORG-ID.system",
        "path": "Organization.identifier.system",
        "min": 1,
        "fixedUri": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-connexontario-organization-id",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:CONNEX-SITE-ID",
        "path": "Organization.identifier",
        "sliceName": "CONNEX-SITE-ID",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:CONNEX-SITE-ID.type",
        "path": "Organization.identifier.type",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:CONNEX-SITE-ID.type.coding",
        "path": "Organization.identifier.type.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:CONNEX-SITE-ID.type.coding.system",
        "path": "Organization.identifier.type.coding.system",
        "min": 1,
        "fixedUri": "https://ccim.on.ca/fhir/mds/CodeSystem/cs-identifier-type",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:CONNEX-SITE-ID.type.coding.code",
        "path": "Organization.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "SITE",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:CONNEX-SITE-ID.system",
        "path": "Organization.identifier.system",
        "min": 1,
        "fixedUri": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-connexontario-site-id",
        "mustSupport": true
      }
    ]
  }
}