{
  "resourceType": "StructureDefinition",
  "id": "pt-DigitalActivity",
  "url": "http://medmij.nl/fhir/StructureDefinition/pt-DigitalActivity",
  "name": "PtDigitalActivity",
  "title": "pt DigitalActivity",
  "status": "draft",
  "publisher": "MedMij",
  "contact": [
    {
      "name": "MedMij",
      "telecom": [
        {
          "system": "email",
          "value": "info@medmij.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Reusable definition of a digital activity (module) that can be selected by a healthcare professional and presented to a patient as part of the care process. The activity describes what the patient will do (e.g., read information, complete a questionnaire, perform a home measurement) and provides the information needed to start or access the activity when applicable.",
  "purpose": "This ActivityDefinition resource represents the DigitalActivity building block for patient use cases in the context of the data service Provider Tasks (Aanbiedertaken).",
  "copyright": "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "pt-dataset-100-alpha1-20260511",
      "name": "Dataset Aanbiedertaken MedMij 1.0.0-alpha.2 20260511"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "ActivityDefinition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ActivityDefinition",
        "path": "ActivityDefinition",
        "short": "Digital Activity",
        "definition": "Reusable definition of a digital activity (module) that can be selected by a healthcare professional and presented to a patient as part of the care process. The activity describes what the patient will do (e.g., read information, complete a questionnaire, perform a home measurement) and provides the information needed to start or access the activity when applicable.",
        "alias": [
          "Digitale Activiteit"
        ],
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-9",
            "comment": "DigitalActivity"
          }
        ]
      },
      {
        "id": "ActivityDefinition.extension",
        "path": "ActivityDefinition.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "ActivityDefinition.extension:endpoint",
        "path": "ActivityDefinition.extension",
        "sliceName": "endpoint",
        "short": "Endpoint for launching the activity",
        "definition": "Mandatory reference to the service application (endpoint) that provides the launchable digital activity. Can be more than one endpoint.",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://medmij.nl/fhir/StructureDefinition/ext-DigitalActivity.Endpoint"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-36",
            "comment": "Endpoint"
          }
        ]
      },
      {
        "id": "ActivityDefinition.url",
        "path": "ActivityDefinition.url",
        "min": 1
      },
      {
        "id": "ActivityDefinition.identifier",
        "path": "ActivityDefinition.identifier",
        "short": "Identifier",
        "definition": "Business identifier for this digital activity definition.",
        "alias": [
          "Identificatie"
        ],
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-31",
            "comment": "Identifier"
          }
        ]
      },
      {
        "id": "ActivityDefinition.title",
        "path": "ActivityDefinition.title",
        "short": "Title",
        "definition": "Short, human-friendly title for the digital activity.",
        "alias": [
          "Titel"
        ],
        "min": 1,
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-10",
            "comment": "Title"
          }
        ]
      },
      {
        "id": "ActivityDefinition.status",
        "path": "ActivityDefinition.status",
        "short": "Status",
        "definition": "Lifecycle status of the digital activity (e.g., draft, active, retired). A retired activity can no longer be selected or assigned.",
        "alias": [
          "Status"
        ],
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-11",
            "comment": "Status"
          }
        ]
      },
      {
        "id": "ActivityDefinition.publisher",
        "path": "ActivityDefinition.publisher",
        "short": "Publisher",
        "definition": "Organization responsible for the content/functionality of this digital activity and its maintenance.",
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-12",
            "comment": "Publisher"
          }
        ]
      },
      {
        "id": "ActivityDefinition.description",
        "path": "ActivityDefinition.description",
        "short": "Description",
        "definition": "Guidance on how this digital activity should be used in clinical workflows.",
        "alias": [
          "Omschrijving"
        ],
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-13",
            "comment": "Description"
          }
        ]
      },
      {
        "id": "ActivityDefinition.usage",
        "path": "ActivityDefinition.usage",
        "definition": "A detailed description of how the activity definition is used from a clinical perspective. In the MedMij use case, this text is intended for the healthcare professional who is selecting and assigning the activity to the patient.",
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-30",
            "comment": "Usage"
          }
        ]
      },
      {
        "id": "ActivityDefinition.topic",
        "path": "ActivityDefinition.topic",
        "short": "E.g. Self-Treatment and Self-Assessment, etc.",
        "definition": "Descriptive topics related to the content of the activity. The topic is used to indicate that the activity is intended or suitable for initialization by patients.",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://vzvz.nl/fhir/ValueSet/koppeltaal-definition-topic",
          "description": "High-level categorization of the definition, used for indicating special patient initialised activities"
        }
      },
      {
        "id": "ActivityDefinition.timing[x]",
        "path": "ActivityDefinition.timing[x]",
        "short": "Timing",
        "definition": "Generic recommendation for how often/when the activity is typically performed. Patient-specific scheduling belongs in the execution order (ServiceRequest).",
        "alias": [
          "Tijdschema"
        ],
        "type": [
          {
            "code": "Timing"
          }
        ],
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-14",
            "comment": "Schedule"
          }
        ]
      }
    ]
  }
}