Document Subscription for Mobile (DSUBm)
1.0.1-current - ci-build International flag

Document Subscription for Mobile (DSUBm), published by IHE IT Infrastructure Technical Committee. This guide is not an authorized publication; it is the continuous build for version 1.0.1-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IHE/ITI.DSUBm/ and changes regularly. See the Directory of published versions

: SubscriptionTopic for Folder Subscription for Minimal Update Option - TTL Representation

Active as of 2024-10-21

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:SubscriptionTopic ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "DSUBm-SubscriptionTopic-Folder-Subscription-MinUpdateOpt"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "1" ]
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: SubscriptionTopic DSUBm-SubscriptionTopic-Folder-Subscription-MinUpdateOpt</b></p><a name=\"DSUBm-SubscriptionTopic-Folder-Subscription-MinUpdateOpt\"> </a><a name=\"hcDSUBm-SubscriptionTopic-Folder-Subscription-MinUpdateOpt\"> </a><a name=\"DSUBm-SubscriptionTopic-Folder-Subscription-MinUpdateOpt-en-US\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">version: 1</p></div><table class=\"grid\"><tr><td><b>SubscriptionTopic</b></td><td>SubscriptionTopic for Folder Subscription for Minimal Update Option</td></tr><tr><td><b>Description</b></td><td><div><p>Profile for the resource SubscriptionTopic. The resource describe the topic of a creation of a Folder type List Resource, the update to insert or remove documents in the Folder and the update of the status.\nThis topic SHALL be used in all Folder subscriptions that have a specific patient in the criteria element.\nNote that:</p>\n<ul>\n<li>the trigger for this topic SHALL be the resourceTrigger (so the eventTrigger SHALL NOT be used)</li>\n<li>the resourceTrigger.resource element SHALL be a Folder type List resource</li>\n<li>this resource SHALL be used when the &quot;Folder Subscription for Minimal Update Option&quot; is supported</li>\n<li>the events are the creation of a Folder type List Resource, the update to insert or remove documents in the Folder and the update of the status</li>\n</ul>\n</div></td></tr><tr><td><b>Copyright Statement:</b></td><td> null</td></tr></table><table class=\"grid\"><tr><td colspan=\"4\"><b>Resource Triggers</b></td></tr><tr><th><b>Resource</b></th><th><b>Interactions</b></th><th><b>FHIR Path</b></th><th><b>Description</b></th></tr><tr><td><a href=\"https://profiles.ihe.net/ITI/MHD/4.2.2/StructureDefinition-IHE.MHD.Minimal.Folder.html\">https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder</a></td><td>create</td><td>((%current.code.coding.where(system='https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes').code='folder'))</td><td><div><p>A Folder type List resource is created.</p>\n</div></td></tr><tr><td><a href=\"https://profiles.ihe.net/ITI/MHD/4.2.2/StructureDefinition-IHE.MHD.Minimal.Folder.html\">https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder</a></td><td>update</td><td>((%current.code.coding.where(system='https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes').code='folder')) and ( ((%previous.entry.item).count() &lt; (%current.entry.item).count()) or (((%previous.entry.item).count() &gt; (%current.entry.item).count())) or ((%previous.status != %current.status)) )</td><td><div><p>A Folder type List resource is updated to insert new documents in the Folder, to remove documents from the Folder or to update the status.</p>\n</div></td></tr></table><table class=\"grid\"><tr><td colspan=\"2\"><b>Can Filter By</b></td></tr><tr><th><b>Resource</b></th><th><b>Filter Parameter</b></th></tr><tr><td><a href=\"https://profiles.ihe.net/ITI/MHD/4.2.2/StructureDefinition-IHE.MHD.Minimal.Folder.html\">https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder</a></td><td>code</td></tr><tr><td><a href=\"https://profiles.ihe.net/ITI/MHD/4.2.2/StructureDefinition-IHE.MHD.Minimal.Folder.html\">https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder</a></td><td>patient</td></tr><tr><td><a href=\"https://profiles.ihe.net/ITI/MHD/4.2.2/StructureDefinition-IHE.MHD.Minimal.Folder.html\">https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder</a></td><td>patient.identifier</td></tr><tr><td><a href=\"https://profiles.ihe.net/ITI/MHD/4.2.2/StructureDefinition-IHE.MHD.Minimal.Folder.html\">https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder</a></td><td>identifier</td></tr><tr><td><a href=\"https://profiles.ihe.net/ITI/MHD/4.2.2/StructureDefinition-IHE.MHD.Minimal.Folder.html\">https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder</a></td><td>designationType</td></tr><tr><td><a href=\"https://profiles.ihe.net/ITI/MHD/4.2.2/StructureDefinition-IHE.MHD.Minimal.Folder.html\">https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder</a></td><td>status</td></tr></table><table class=\"grid\"><tr><td colspan=\"2\"><b>Notification Shapes</b></td></tr><tr><th><b>Resource</b></th><th><b>Includes</b></th></tr><tr><td><a href=\"https://profiles.ihe.net/ITI/MHD/4.2.2/StructureDefinition-IHE.MHD.Minimal.Folder.html\">https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder</a></td><td>List:subject</td></tr></table></div>"
  ] ; # 
  fhir:url [ fhir:v "https://profiles.ihe.net/ITI/DSUBm/SubscriptionTopic/DSUBm-SubscriptionTopic-Folder-Subscription-MinUpdateOpt"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0.1-current"] ; # 
  fhir:title [ fhir:v "SubscriptionTopic for Folder Subscription for Minimal Update Option"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2024-10-21T21:58:02+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "IHE IT Infrastructure Technical Committee"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.ihe.net/ihe_domains/it_infrastructure/" ]     ] )
  ] [
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "iti@ihe.net" ]     ] )
  ] [
fhir:name [ fhir:v "IHE IT Infrastructure Technical Committee" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "iti@ihe.net" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Profile for the resource SubscriptionTopic. The resource describe the topic of a creation of a Folder type List Resource, the update to insert or remove documents in the Folder and the update of the status. \nThis topic SHALL be used in all Folder subscriptions that have a specific patient in the criteria element.\nNote that:\n- the trigger for this topic SHALL be the resourceTrigger (so the eventTrigger SHALL NOT be used)\n- the resourceTrigger.resource element SHALL be a Folder type List resource\n- this resource SHALL be used when the \"Folder Subscription for Minimal Update Option\" is supported\n- the events are the creation of a Folder type List Resource, the update to insert or remove documents in the Folder and the update of the status\n"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ]     ] )
  ] ) ; # 
  fhir:resourceTrigger ( [
fhir:description [ fhir:v "A Folder type List resource is created." ] ;
fhir:resource [ fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder"^^xsd:anyURI ] ;
    ( fhir:supportedInteraction [ fhir:v "create" ] ) ;
fhir:fhirPathCriteria [ fhir:v "((%current.code.coding.where(system='https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes').code='folder'))" ]
  ] [
fhir:description [ fhir:v "A Folder type List resource is updated to insert new documents in the Folder, to remove documents from the Folder or to update the status." ] ;
fhir:resource [ fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder"^^xsd:anyURI ] ;
    ( fhir:supportedInteraction [ fhir:v "update" ] ) ;
fhir:fhirPathCriteria [ fhir:v "((%current.code.coding.where(system='https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes').code='folder')) and ( ((%previous.entry.item).count() < (%current.entry.item).count()) or (((%previous.entry.item).count() > (%current.entry.item).count())) or ((%previous.status != %current.status)) )" ]
  ] ) ; # 
  fhir:canFilterBy ( [
fhir:description [ fhir:v "Filter based on the code of a Folder List Resource. (Fixed Value: folder)" ] ;
fhir:resource [ fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder"^^xsd:anyURI ] ;
fhir:filterParameter [ fhir:v "code" ]
  ] [
fhir:description [ fhir:v "Filter based on the patient of a Folder List Resource. (Folder.patientId)" ] ;
fhir:resource [ fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder"^^xsd:anyURI ] ;
fhir:filterParameter [ fhir:v "patient" ]
  ] [
fhir:description [ fhir:v "Filter based on the patient of a Folder List Resource. (Folder.patientId)" ] ;
fhir:resource [ fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder"^^xsd:anyURI ] ;
fhir:filterParameter [ fhir:v "patient.identifier" ]
  ] [
fhir:description [ fhir:v "Filter based on the identifier of a Folder List Resource. (Folder.entryUUID and Folder.uniqueId)" ] ;
fhir:resource [ fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder"^^xsd:anyURI ] ;
fhir:filterParameter [ fhir:v "identifier" ]
  ] [
fhir:description [ fhir:v "Filter based on the designationType of a Folder List Resource. (Folder.codeList)" ] ;
fhir:resource [ fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder"^^xsd:anyURI ] ;
fhir:filterParameter [ fhir:v "designationType" ]
  ] [
fhir:description [ fhir:v "Filter based on the status of a Folder List Resource. (Folder.availabilityStatus)" ] ;
fhir:resource [ fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder"^^xsd:anyURI ] ;
fhir:filterParameter [ fhir:v "status" ]
  ] ) ; # 
  fhir:notificationShape ( [
fhir:resource [ fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.Folder"^^xsd:anyURI ] ;
    ( fhir:include [ fhir:v "List:subject" ] )
  ] ) . #