PackagesCanonicalsLogsProblems
    Packages
    ihe.iti.dsubm@1.0.0-comment
    https://profiles.ihe.net/ITI/DSUBm/SubscriptionTopic/DSUBm-SubscriptionTopic-Basic-Folder-Subscription
{
  "description": "Profile for the resource SubscriptionTopic. The resource describe the topic of a creation of a Folder type List Resource and the update to insert new documents in the Folder. \\r\\nThis topic shall be used in all Folder subscriptions that have a specific patient in the criteria element and are just focusing on the create event.\\r\\nNote that:\\r\\n- the trigger for this topic shall be the resourceTrigger (so the eventTrigger shall not be used)\\r\\n- the resourceTrigger.resource element shall be a Folder List resource\\r\\n- this resource shall be used when the \\\"Basic Folder Subscription Option\\\" is supported\\r\\n- this topic covers the create and the update to insert new documents in the Folder event \\r\\n",
  "_filename": "SubscriptionTopic-DSUBm-SubscriptionTopic-Basic-Folder-Subscription.json",
  "package_name": "ihe.iti.dsubm",
  "date": "2023-11-17T09:35:47-06:00",
  "meta": {
    "versionId": "1"
  },
  "publisher": "IHE IT Infrastructure Technical Committee",
  "canFilterBy": [ {
    "resource": "List",
    "description": "Filter based on the code of a Folder List Resource. (Fixed Value: folder)",
    "filterParameter": "code"
  }, {
    "resource": "List",
    "description": "Filter based on the patient of a Folder List Resource. (Folder.patientId)",
    "filterParameter": "patient"
  }, {
    "resource": "List",
    "description": "Filter based on the patient of a Folder List Resource. (Folder.patientId)",
    "filterParameter": "patient.identifier"
  }, {
    "resource": "List",
    "description": "Filter based on the identifier of a Folder List Resource. (Folder.entryUUID and Folder.uniqueId)",
    "filterParameter": "identifier"
  }, {
    "resource": "List",
    "description": "Filter based on the designationType of a Folder List Resource. (Folder.codeList)",
    "filterParameter": "designationType"
  }, {
    "resource": "List",
    "description": "Filter based on the status of a Folder List Resource. (Folder.availabilityStatus)",
    "filterParameter": "status"
  } ],
  "jurisdiction": [ {
    "coding": [ {
      "code": "001",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
    } ]
  } ],
  "name": null,
  "type": null,
  "experimental": null,
  "resourceType": "SubscriptionTopic",
  "title": "SubscriptionTopic for Folder Patient-Dependent resource with Basic Folder Subscription Option",
  "package_version": "1.0.0-comment",
  "status": "active",
  "id": "d9ed8e85-9dba-4ece-a4e3-03b549ce06a7",
  "kind": null,
  "url": "https://profiles.ihe.net/ITI/DSUBm/SubscriptionTopic/DSUBm-SubscriptionTopic-Basic-Folder-Subscription",
  "notificationShape": [ {
    "resource": "List"
  } ],
  "version": "1.0.0-comment",
  "contact": [ {
    "telecom": [ {
      "value": "https://www.ihe.net/ihe_domains/it_infrastructure/",
      "system": "url"
    } ]
  }, {
    "telecom": [ {
      "value": "iti@ihe.net",
      "system": "email"
    } ]
  }, {
    "name": "IHE IT Infrastructure Technical Committee",
    "telecom": [ {
      "value": "iti@ihe.net",
      "system": "email"
    } ]
  } ],
  "resourceTrigger": [ {
    "resource": "http://hl7.org/fhir/StructureDefinition/List",
    "description": "A Folder type List resource is created.",
    "fhirPathCriteria": "((%current.code.coding.where(system='https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes').code='folder' or %current.code.coding.where(system='https://profiles.ihe.net/ITI/DSUBm/CodeSystem/DSUBmlistTypes').code='folder'))",
    "supportedInteraction": [ "create" ]
  }, {
    "resource": "http://hl7.org/fhir/StructureDefinition/List",
    "description": "A Folder type List resource is updated to insert new documents in the Folder.",
    "fhirPathCriteria": "((%current.code.coding.where(system='https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes').code='folder' or %current.code.coding.where(system='https://profiles.ihe.net/ITI/DSUBm/CodeSystem/DSUBmlistTypes').code='folder')) and ((%previous.entry.item).count() < (%current.entry.item).count())",
    "supportedInteraction": [ "update" ]
  } ]
}