{
  "resourceType": "StructureDefinition",
  "id": "ei-activityoverview-simple-list",
  "meta": {
    "lastUpdated": "2019-12-13T03:40:55.12+00:00"
  },
  "url": "http://www.agfa.com/ei/fhir/StructureDefinition/ei-activityoverview-simple-list",
  "version": "1.1",
  "name": "Enterprise Imaging Activity Overview List Simple Version",
  "status": "active",
  "date": "2017-09-13T10:18:58.999+00:00",
  "description": "The list of user's activity overview, but only with code and name, for performance consideration.",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "agfa-ei-model",
      "name": "Enterprise Imaging Data Model"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "List",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/List",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "List",
        "path": "List",
        "comment": "id rule  -   activityoverview:XXX"
      },
      {
        "id": "List.extension",
        "path": "List.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "List.extension:list-type",
        "path": "List.extension",
        "sliceName": "list-type",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://www.agfa.com/ei/fhir/StructureDefinition/ei-list-type"
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSetUri": "http://www.agfa.com/ei/fhir/ValueSet/ei-vs-list-type"
        }
      },
      {
        "id": "List.identifier.value",
        "path": "List.identifier.value",
        "mapping": [
          {
            "identity": "agfa-ei-model",
            "map": "WORKSCHEMA#CODE"
          }
        ]
      },
      {
        "id": "List.status",
        "path": "List.status",
        "mapping": [
          {
            "identity": "agfa-ei-model",
            "map": "WORKSCHEMA#VALID_FROM|VALID_FROM"
          }
        ]
      },
      {
        "id": "List.mode",
        "path": "List.mode",
        "mapping": [
          {
            "identity": "agfa-ei-model",
            "map": "WORKSCHEMA_USED_BY",
            "comment": "calculate the best match based on context of use, the matched one will be the working one."
          }
        ]
      },
      {
        "id": "List.title",
        "path": "List.title",
        "mapping": [
          {
            "identity": "agfa-ei-model",
            "map": "WORKSCHEMA#LABEL"
          }
        ]
      },
      {
        "id": "List.subject",
        "path": "List.subject",
        "max": "0"
      },
      {
        "id": "List.encounter",
        "path": "List.encounter",
        "max": "0"
      },
      {
        "id": "List.source",
        "path": "List.source",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://www.agfa.com/ei/fhir/StructureDefinition/ei-practitioner"
          }
        ]
      },
      {
        "id": "List.orderedBy",
        "path": "List.orderedBy",
        "mapping": [
          {
            "identity": "agfa-ei-model",
            "map": "WORKSCHEMA_CATEGORY#SEQUENCE"
          }
        ]
      },
      {
        "id": "List.note",
        "path": "List.note",
        "max": "0"
      },
      {
        "id": "List.entry",
        "path": "List.entry",
        "max": "0"
      },
      {
        "id": "List.entry.flag",
        "path": "List.entry.flag",
        "max": "0"
      },
      {
        "id": "List.entry.deleted",
        "path": "List.entry.deleted",
        "max": "0"
      },
      {
        "id": "List.entry.date",
        "path": "List.entry.date",
        "max": "0"
      },
      {
        "id": "List.entry.item",
        "path": "List.entry.item",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://www.agfa.com/ei/fhir/StructureDefinition/ei-conference-list"
          },
          {
            "code": "Reference",
            "targetProfile": "http://www.agfa.com/StructureDefinition/ei-fixed-study-list"
          },
          {
            "code": "Reference",
            "targetProfile": "http://www.agfa.com/ei/fhir/StructureDefinition/ei-query-list"
          },
          {
            "code": "Reference",
            "targetProfile": "http://www.agfa.com/ei/fhir/StructureDefinition/ei-task-list"
          },
          {
            "code": "Reference",
            "targetProfile": "http://www.agfa.com/ei/fhir/StructureDefinition/ei-web-links"
          }
        ]
      },
      {
        "id": "List.emptyReason",
        "path": "List.emptyReason",
        "fixedCodeableConcept": {
          "text": "don't list content per performance consideration"
        }
      }
    ]
  }
}