<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="pt-lm-DigitalActivity" />
  <text>
    <status value="empty" />
    <div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
    <valueCode value="can-be-target" />
  </extension>
  <url value="http://medmij.nl/fhir/StructureDefinition/pt-lm-DigitalActivity" />
  <name value="PtLmDigitalActivity" />
  <title value="Digital Activity" />
  <status value="draft" />
  <publisher value="MedMij" />
  <contact>
    <name value="MedMij" />
    <telecom>
      <system value="email" />
      <value value="info@medmij.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="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 value="This LogicalModel represents the DigitalActivity building block for patient use cases in the context of the data service Provider Tasks (Aanbiedertaken)." />
  <copyright value="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 value="4.0.1" />
  <mapping>
    <identity value="pt-dataset-100-alpha1-20260511" />
    <name value="Dataset Aanbiedertaken MedMij 1.0.0-alpha.2 20260511" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="http://medmij.nl/fhir/StructureDefinition/pt-lm-DigitalActivity" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <differential>
    <element id="pt-lm-DigitalActivity">
      <path value="pt-lm-DigitalActivity" />
      <short value="Digital activity" />
      <definition value="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 value="DigitaleActiviteit" />
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-9" />
        <comment value="DigitalActivity" />
      </mapping>
    </element>
    <element id="pt-lm-DigitalActivity.Identifier">
      <path value="pt-lm-DigitalActivity.Identifier" />
      <short value="Identifier" />
      <definition value="Business identifier for this digital activity definition." />
      <alias value="Identificatie" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Identifier" />
      </type>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-31" />
        <comment value="Identifier" />
      </mapping>
    </element>
    <element id="pt-lm-DigitalActivity.Title">
      <path value="pt-lm-DigitalActivity.Title" />
      <short value="Title" />
      <definition value="Short, human-friendly title for the digital activity." />
      <alias value="Titel" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-10" />
        <comment value="Title" />
      </mapping>
    </element>
    <element id="pt-lm-DigitalActivity.Status">
      <path value="pt-lm-DigitalActivity.Status" />
      <short value="Status" />
      <definition value="Lifecycle status of the digital activity." />
      <alias value="Status" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/publication-status" />
      </binding>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-11" />
        <comment value="Status" />
      </mapping>
    </element>
    <element id="pt-lm-DigitalActivity.Publisher">
      <path value="pt-lm-DigitalActivity.Publisher" />
      <short value="Publisher" />
      <definition value="Organization responsible for the content/functionality of this digital activity and its maintenance." />
      <alias value="Uitgever" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-12" />
        <comment value="Publisher" />
      </mapping>
    </element>
    <element id="pt-lm-DigitalActivity.Description">
      <path value="pt-lm-DigitalActivity.Description" />
      <short value="Description" />
      <definition value="Guidance on how this digital activity should be used in clinical workflows." />
      <alias value="Omschrijving" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="markdown" />
      </type>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-13" />
        <comment value="Description" />
      </mapping>
    </element>
    <element id="pt-lm-DigitalActivity.Schedule[x]">
      <path value="pt-lm-DigitalActivity.Schedule[x]" />
      <short value="Schedule" />
      <definition value="Generic recommendation for how often/when the activity is typically performed. Patient-specific scheduling belongs in the execution order." />
      <alias value="Tijdschema" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="Timing" />
      </type>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-14" />
        <comment value="Schedule" />
      </mapping>
    </element>
    <element id="pt-lm-DigitalActivity.Usage">
      <path value="pt-lm-DigitalActivity.Usage" />
      <short value="Usage" />
      <definition value="A detailed description of how the digital activity 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." />
      <alias value="Gebruik" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-30" />
        <comment value="Usage" />
      </mapping>
    </element>
    <element id="pt-lm-DigitalActivity.Endpoint">
      <path value="pt-lm-DigitalActivity.Endpoint" />
      <short value="Endpoint" />
      <definition value="Mandatory reference to the service application (endpoint) that provides the launchable digital activity. Can be more than one endpoint." />
      <alias value="Endpoint" />
      <min value="1" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://medmij.nl/fhir/StructureDefinition/pt-lm-Endpoint" />
      </type>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-36" />
        <comment value="Endpoint" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>