diff --git a/.gitignore b/.gitignore
index 46056f18..25e155b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/save/
/bin/
/target/
+/docs/
diff --git a/fsh/config.yaml b/fsh/config.yaml
new file mode 100644
index 00000000..c1879bb3
--- /dev/null
+++ b/fsh/config.yaml
@@ -0,0 +1,86 @@
+# ╭────────────────────────────────────────────────────────────────────────────────────────────────╮
+# │ ACTION REQUIRED: REVIEW AND EDIT THIS FILE TO ENSURE IT ACCURATELY REFLECTS YOUR PROJECT! │
+# │ │
+# │ This file was generated from your existing project files and will be used for SUSHI │
+# │ configuration from now on. You may delete your package.json as it is no longer needed. │
+# ╰────────────────────────────────────────────────────────────────────────────────────────────────╯
+
+# ╭──────────────────ImplementationGuide-hl7.fhir.us.subscriptions-backport.json───────────────────╮
+# │ The properties below are used to create the ImplementationGuide resource. For a list of │
+# │ supported properties, see: │
+# │ http://build.fhir.org/ig/HL7/fhir-shorthand/branches/beta/sushi.html#ig-development │
+# ╰────────────────────────────────────────────────────────────────────────────────────────────────╯
+id: hl7.fhir.us.subscriptions-backport
+canonical: http://hl7.org/fhir/us/subscriptions-backport
+version: 0.1.0
+name: SubscriptionsR5Backport
+title: Subscriptions R5 Backport
+status: active
+publisher:
+ name: The Argonaut Project
+ url: https://argonautwiki.hl7.org
+contact:
+ - name: HL7 FHIR Infrastructure WG
+ telecom:
+ - system: url
+ value: http://hl7.org/Special/committees/fiwg/index.cfm
+ - name: Microsoft
+ telecom:
+ - system: url
+ value: https://microsoft.com
+ - name: Gino Canessa
+ telecom:
+ - system: email
+ value: mailto:gino.canessa@microsoft.com
+description: The Subscription R5 Backport Implementation Guide enables servers running
+ verions of FHIR earlier than R5 to implement a subset of R5 Subscriptions in a
+ standardized way.
+license: CC0-1.0
+fhirVersion: 4.0.1
+parameters:
+ show-inherited-invariants: false
+ usage-stats-opt-out: false
+ path-output: output #docs
+ #- code: path-liquid #yes
+ # value: #path #A relative path that contains liquid templates for generating narrative
+ path-liquid: input/images/liquid
+ excludexml: true
+ escludejsn: false
+ excludettl: true
+ excludemap: true
+ excludeexample: true
+ # custom parameter also possible too
+ #foo: bar
+copyrightYear: 2020+
+releaseLabel: CI Build
+
+
+# ╭────────────────────────────────────────────menu.xml────────────────────────────────────────────╮
+# │ To use a provided ig-data/input/includes/menu.xml file, delete the "menu" property below. │
+# ╰────────────────────────────────────────────────────────────────────────────────────────────────╯
+menu:
+ IG Home: index.html
+ Framework:
+ Overview: overview.html
+ Interactions: actors_and_transactions.html
+ #Table of Contents: toc.html
+ Artifact Index: artifacts.html
+ Downloads: downloads.html
+# ╭───────────────────────────────────────package-list.json────────────────────────────────────────╮
+# │ To use a provided ig-data/package-list.json file, delete the "history" property below. │
+# ╰────────────────────────────────────────────────────────────────────────────────────────────────╯
+#history:
+ #current: http://build.fhir.org/ig/example/example-ig
+ #0.0.1:
+ #fhirversion: 4.0.1
+ #date: 2099-01-01
+ #desc: Initial STU ballot (Mmm yyyy Ballot)
+ #path: http://example.org/fhir/STU1
+ #status: ballot
+ #sequence: STU 1
+ #current: true
+
+# ╭─────────────────────────────────────────────ig.ini─────────────────────────────────────────────╮
+# │ To control the ig.ini using this config, uncomment and set the "template" property. │
+# ╰────────────────────────────────────────────────────────────────────────────────────────────────╯
+template: fhir.base.template
diff --git a/fsh/ig-data/ig.ini b/fsh/ig-data/ig.ini
deleted file mode 100644
index 1fc0b99e..00000000
--- a/fsh/ig-data/ig.ini
+++ /dev/null
@@ -1,13 +0,0 @@
-[IG]
-template = fhir.base.template
-usage-stats-opt-out = true
-copyrightyear = 2020+
-license = CC0-1.0
-version = 0.1.0
-ballotstatus = CI Build
-fhirspec = http://build.fhir.org/
-special-urls = http://hl7.org/fhir/R4/StructureDefinition/Subscription,http://hl7.org/fhir/R4/StructureDefinition/Bundle,http://hl7.org/fhir/R4/StructureDefinition/Parameters
-#excludexml = No
-#excludejson = No
-#excludettl = Yes
-#excludeMaps = No
\ No newline at end of file
diff --git a/fsh/ig-data/input/images/cat.jpg b/fsh/ig-data/input/images/cat.jpg
new file mode 100644
index 00000000..236d3485
Binary files /dev/null and b/fsh/ig-data/input/images/cat.jpg differ
diff --git a/fsh/ig-data/input/images/custom_org_logo.jpg b/fsh/ig-data/input/images/custom_org_logo.jpg
new file mode 100644
index 00000000..6c8f7ca6
Binary files /dev/null and b/fsh/ig-data/input/images/custom_org_logo.jpg differ
diff --git a/fsh/ig-data/input/images/liquid/Subscription.liquid b/fsh/ig-data/input/images/liquid/Subscription.liquid
new file mode 100644
index 00000000..9113e2cc
--- /dev/null
+++ b/fsh/ig-data/input/images/liquid/Subscription.liquid
@@ -0,0 +1,53 @@
+
+
id: {{Subscription.id}}
+
modifierExtension:
+
+
+{% for var in Subscription.modifierExtension %}
+- url: {{var.url}}, value: {{var.valueUri}}
+{% endfor %}
+
+
+
status: {{Subscription.status}}
+
end: {{Subscription.end}}
+
reason: {{Subscription.reason}}
+
criteria: {{Subscription.criteria}}
+
channel:
+
+ extension:
+
+
+ {% for var in Subscription.channel.extension %}
+ - url: {{var.url}}, value: {{var.valueUnsignedInt}}
+ {% endfor %}
+
+
+
+ type: {{Subscription.channel.type}}
+
+ endpoint: {{Subscription.channel.endpoint}}
+
+ payload: {{Subscription.channel.payload}}
+
+ - extension:
+
+
+ {% for var in Subscription.channel.payload.extension %}
+ - url: {{var.url}}, value: {{var.valueCode}}
+ {% endfor %}
+
+
+
+
+
+ header:
+
+
+ {% for var in Subscription.channel.header %}
+ - {{var}}
+ {% endfor %}
+
+
+
+
+
diff --git a/fsh/ig-data/input/pagecontent/downloads.md b/fsh/ig-data/input/pagecontent/downloads.md
new file mode 100644
index 00000000..ea133c77
--- /dev/null
+++ b/fsh/ig-data/input/pagecontent/downloads.md
@@ -0,0 +1,81 @@
+---
+---
+
+![Meow](cat.jpg)
+
+![Meow](custom_org_logo.jpg)
+
+here is the master file tree
+
+~~~
+.
+├── BackportNotification.fsh
+├── BackportSubscription.fsh
+├── SUSHI-GENERATED-FILES.md
+├── ig-data
+│ ├── ig.ini
+│ └── input
+│ ├── examples
+│ ├── operations
+│ │ ├── OperationDefinition-subscription-status.json
+│ │ └── OperationDefinition-subscriptiontopic-list.json
+│ └── pagecontent
+│ ├── actors_and_transactions.md
+│ ├── conformance.md
+│ ├── errors.md
+│ ├── index.md
+│ └── overview.md
+├── ig.ini
+├── input
+│ ├── ImplementationGuide-hl7.fhir.us.subscriptions-backport.json
+│ ├── extensions
+│ │ ├── StructureDefinition-backport-bundle-event-count.json
+│ │ ├── StructureDefinition-backport-heartbeat-period.json
+│ │ ├── StructureDefinition-backport-notification-type.json
+│ │ ├── StructureDefinition-backport-payload-content.json
+│ │ ├── StructureDefinition-backport-subscription-event-count.json
+│ │ ├── StructureDefinition-backport-subscription-topic-url.json
+│ │ ├── StructureDefinition-backport-subscription-url.json
+│ │ ├── StructureDefinition-backport-timeout.json
+│ │ └── StructureDefinition-backport-topic-canonical.json
+│ ├── pagecontent
+│ │ ├── actors_and_transactions.md
+│ │ ├── index.md
+│ │ └── overview.md
+│ ├── profiles
+│ │ ├── StructureDefinition-backport-subscription-notification.json
+│ │ └── StructureDefinition-backport-subscription.json
+│ └── vocabulary
+│ ├── CodeSystem-backport-content-code-system.json
+│ ├── CodeSystem-backport-notification-type-code-system.json
+│ ├── ValueSet-backport-content-value-set.json
+│ └── ValueSet-backport-notification-type-value-set.json
+├── package-list.json
+└── package.json
+~~~
+
+I put all my pages etc in input folder but that is not the right place it should go in the optional ig-data/input. The input folder is generated output and belongs it root. This is confusing to simplify FSH is now:
+
+~~~
+.
+├── BackportNotification.fsh
+├── BackportSubscription.fsh
+├── SUSHI-GENERATED-FILES.md
+├── config.yaml <- NEW in Beta Sushi- see http://build.fhir.org/ig/HL7/fhir-shorthand/branches/beta/sushi.html#configuration-file obviates the need for a separate ig.ini ( which I removed ), menu.xml (which I edited) and package-list.json (which I did not remove)
+├── ig-data
+│ └── input
+│ ├── examples
+│ ├── images
+│ │ ├── cat.jpg
+│ │ ├── custom_org_logo.jpg
+│ │ └── liquid
+│ │ └── Subscription.liquid
+│ └── pagecontent
+│ ├── actors_and_transactions.md
+│ ├── downloads.md
+│ ├── errors.md
+│ ├── index.md
+│ └── overview.md
+├── package-list.json
+└── package.json
+~~~
diff --git a/fsh/ig.ini b/fsh/ig.ini
deleted file mode 100644
index 4e5a55bc..00000000
--- a/fsh/ig.ini
+++ /dev/null
@@ -1,20 +0,0 @@
-[IG]
-; **************************************************************************************************
-; * WARNING: DO NOT EDIT THIS FILE *
-; * *
-; * This file is generated by SUSHI. Any edits you make to this file will be overwritten. *
-; * *
-; * This ig.ini was generated by merging values from ig-data/ig.ini with a default set of values, *
-; * including values inferred from package.json (name, license, version). To affect the generation *
-; * of this file, edit values in the ig-data/ig.ini input file. *
-; **************************************************************************************************
-ig = input/ImplementationGuide-hl7.fhir.us.subscriptions-backport.json
-template = fhir.base.template
-usage-stats-opt-out = true
-copyrightyear = 2020+
-license = CC0-1.0
-version = 0.1.0
-ballotstatus = CI Build
-fhirspec = http://build.fhir.org/
-special-urls = http://hl7.org/fhir/R4/StructureDefinition/Subscription,http://hl7.org/fhir/R4/StructureDefinition/Bundle
-\#excludexml = No
diff --git a/fsh/input/ImplementationGuide-hl7.fhir.us.subscriptions-backport.json b/fsh/input/ImplementationGuide-hl7.fhir.us.subscriptions-backport.json
deleted file mode 100644
index e6d8af95..00000000
--- a/fsh/input/ImplementationGuide-hl7.fhir.us.subscriptions-backport.json
+++ /dev/null
@@ -1,206 +0,0 @@
-{
- "resourceType": "ImplementationGuide",
- "id": "hl7.fhir.us.subscriptions-backport",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/ImplementationGuide/hl7.fhir.us.subscriptions-backport",
- "version": "0.1.0",
- "name": "SubscriptionsR5Backport",
- "title": "Subscriptions R5 Backport",
- "status": "active",
- "publisher": "?",
- "contact": [
- {
- "name": "HL7 FHIR Infrastructure WG",
- "telecom": [
- {
- "system": "url",
- "value": "http://hl7.org/Special/committees/fiwg/index.cfm"
- }
- ]
- },
- {
- "name": "The Argonaut Project",
- "telecom": [
- {
- "system": "url",
- "value": "https://argonautwiki.hl7.org"
- }
- ]
- },
- {
- "name": "Microsoft",
- "telecom": [
- {
- "system": "url",
- "value": "https://microsoft.com"
- }
- ]
- },
- {
- "name": "Gino Canessa",
- "telecom": [
- {
- "system": "email",
- "value": "mailto:gino.canessa@microsoft.com"
- }
- ]
- }
- ],
- "description": "The Subscription R5 Backport Implementation Guide enables servers running verions of FHIR earlier than R5 to implement a subset of R5 Subscriptions in a standardized way.",
- "packageId": "hl7.fhir.us.subscriptions-backport",
- "license": "CC0-1.0",
- "fhirVersion": [
- "4.0.1"
- ],
- "definition": {
- "resource": [
- {
- "reference": {
- "reference": "StructureDefinition/backport-subscription"
- },
- "name": "Backported R5 Subscription",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "StructureDefinition/backport-subscription-notification"
- },
- "name": "Backported R5 Subscription Notification Bundle",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "StructureDefinition/backport-bundle-event-count"
- },
- "name": "Backported R5 Subscription Bundle Event Count",
- "description": "Represents the number of event notifications conveyed by this Bundle.",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "StructureDefinition/backport-heartbeat-period"
- },
- "name": "Backport R5 Subscription Heartbeat Period",
- "description": "Interval in seconds to send 'heartbeat' notifications.",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "StructureDefinition/backport-notification-type"
- },
- "name": "Backported R5 Subscription Notification Type",
- "description": "The type of event being conveyed with this notificaiton.",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "StructureDefinition/backport-payload-content"
- },
- "name": "Backport R5 Subscription Payload Content Information",
- "description": "How much of the resource content to deliver in the notification payload. The choices are an empty payload, only the resource id, or the full resource content.",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "StructureDefinition/backport-subscription-event-count"
- },
- "name": "Backported R5 Subscription Event Count",
- "description": "Indicates the number of unique events that have triggered notification attempts on this Subscription inclusive of the current notification being sent.",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "StructureDefinition/backport-subscription-topic-url"
- },
- "name": "Backported R5 Canonical SubscriptionTopic",
- "description": "The Canonical SubscriptionTopic resource relevant to this notification (e.g., the topic the triggering subscription relates to).",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "StructureDefinition/backport-subscription-url"
- },
- "name": "Backported R5 Subscription Absolute URL",
- "description": "The Subscription resource that triggered this notification, as an absolute URL for the Subscription resource on the server that generated the notification.",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "StructureDefinition/backport-timeout"
- },
- "name": "Backport R5 Subscription Timeout",
- "description": "Timeout in seconds to attempt notification delivery.",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "StructureDefinition/backport-topic-canonical"
- },
- "name": "Backport R5 Subscription Topic Canonical",
- "description": "Canonical reference to the subscription topic being subscribed to.",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "ValueSet/backport-content-value-set"
- },
- "name": "Backported R5 Subscription Content Value Set",
- "description": "Codes to represent how much resource content to send in the notification payload.",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "ValueSet/backport-notification-type-value-set"
- },
- "name": "Backported R5 Subscription Notification Type Value Set",
- "description": "Codes to represent types of notification bundles.",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "CodeSystem/backport-content-code-system"
- },
- "name": "Backported R5 Subscription Content Code System",
- "description": "Codes to represent how much resource content to send in the notification payload.",
- "exampleBoolean": false
- },
- {
- "reference": {
- "reference": "CodeSystem/backport-notification-type-code-system"
- },
- "name": "Backported R5 Subscription Notification Type Code System",
- "description": "Codes to represent types of notification bundles.",
- "exampleBoolean": false
- }
- ],
- "page": {
- "nameUrl": "toc.html",
- "title": "Table of Contents",
- "generation": "html",
- "page": [
- {
- "nameUrl": "index.html",
- "title": "Home",
- "generation": "markdown"
- }
- ]
- },
- "parameter": [
- {
- "code": "copyrightyear",
- "value": "2020+"
- },
- {
- "code": "releaselabel",
- "value": "CI Build"
- },
- {
- "code": "show-inherited-invariants",
- "value": "false"
- },
- {
- "code": "path-history",
- "value": "http://hl7.org/fhir/us/subscriptions-backport/history.html"
- }
- ]
- }
-}
diff --git a/fsh/input/extensions/StructureDefinition-backport-bundle-event-count.json b/fsh/input/extensions/StructureDefinition-backport-bundle-event-count.json
deleted file mode 100644
index 0180da24..00000000
--- a/fsh/input/extensions/StructureDefinition-backport-bundle-event-count.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "resourceType": "StructureDefinition",
- "id": "backport-bundle-event-count",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-bundle-event-count",
- "version": "0.1.0",
- "name": "BackportBundleEventCount",
- "title": "Backported R5 Subscription Bundle Event Count",
- "status": "active",
- "description": "Represents the number of event notifications conveyed by this Bundle.",
- "fhirVersion": "4.0.1",
- "mapping": [
- {
- "identity": "rim",
- "uri": "http://hl7.org/v3",
- "name": "RIM Mapping"
- }
- ],
- "kind": "complex-type",
- "abstract": false,
- "context": [
- {
- "type": "element",
- "expression": "Element"
- }
- ],
- "type": "Extension",
- "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
- "derivation": "constraint",
- "differential": {
- "element": [
- {
- "id": "Extension",
- "path": "Extension"
- },
- {
- "id": "Extension.extension",
- "path": "Extension.extension",
- "max": "0"
- },
- {
- "id": "Extension.url",
- "path": "Extension.url",
- "fixedUri": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-bundle-event-count"
- },
- {
- "id": "Extension.value[x]",
- "path": "Extension.value[x]",
- "type": [
- {
- "code": "unsignedInt"
- }
- ]
- }
- ]
- }
-}
diff --git a/fsh/input/extensions/StructureDefinition-backport-heartbeat-period.json b/fsh/input/extensions/StructureDefinition-backport-heartbeat-period.json
deleted file mode 100644
index 3ccbab48..00000000
--- a/fsh/input/extensions/StructureDefinition-backport-heartbeat-period.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "resourceType": "StructureDefinition",
- "id": "backport-heartbeat-period",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-heartbeat-period",
- "version": "0.1.0",
- "name": "BackportHeartbeatPeriod",
- "title": "Backport R5 Subscription Heartbeat Period",
- "status": "active",
- "description": "Interval in seconds to send 'heartbeat' notifications.",
- "fhirVersion": "4.0.1",
- "mapping": [
- {
- "identity": "rim",
- "uri": "http://hl7.org/v3",
- "name": "RIM Mapping"
- }
- ],
- "kind": "complex-type",
- "abstract": false,
- "context": [
- {
- "type": "element",
- "expression": "Element"
- }
- ],
- "type": "Extension",
- "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
- "derivation": "constraint",
- "differential": {
- "element": [
- {
- "id": "Extension",
- "path": "Extension"
- },
- {
- "id": "Extension.extension",
- "path": "Extension.extension",
- "max": "0"
- },
- {
- "id": "Extension.url",
- "path": "Extension.url",
- "fixedUri": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-heartbeat-period"
- },
- {
- "id": "Extension.value[x]",
- "path": "Extension.value[x]",
- "type": [
- {
- "code": "unsignedInt"
- }
- ]
- }
- ]
- }
-}
diff --git a/fsh/input/extensions/StructureDefinition-backport-notification-type.json b/fsh/input/extensions/StructureDefinition-backport-notification-type.json
deleted file mode 100644
index 90a196c8..00000000
--- a/fsh/input/extensions/StructureDefinition-backport-notification-type.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "resourceType": "StructureDefinition",
- "id": "backport-notification-type",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-notification-type",
- "version": "0.1.0",
- "name": "BackportNotificationType",
- "title": "Backported R5 Subscription Notification Type",
- "status": "active",
- "description": "The type of event being conveyed with this notificaiton.",
- "fhirVersion": "4.0.1",
- "mapping": [
- {
- "identity": "rim",
- "uri": "http://hl7.org/v3",
- "name": "RIM Mapping"
- }
- ],
- "kind": "complex-type",
- "abstract": false,
- "context": [
- {
- "type": "element",
- "expression": "Element"
- }
- ],
- "type": "Extension",
- "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
- "derivation": "constraint",
- "differential": {
- "element": [
- {
- "id": "Extension",
- "path": "Extension"
- },
- {
- "id": "Extension.extension",
- "path": "Extension.extension",
- "max": "0"
- },
- {
- "id": "Extension.url",
- "path": "Extension.url",
- "fixedUri": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-notification-type"
- },
- {
- "id": "Extension.value[x]",
- "path": "Extension.value[x]",
- "slicing": {
- "discriminator": [
- {
- "type": "type",
- "path": "$this"
- }
- ],
- "ordered": false,
- "rules": "open"
- },
- "type": [
- {
- "code": "code"
- }
- ]
- },
- {
- "id": "Extension.valueCode",
- "path": "Extension.valueCode",
- "min": 0,
- "max": "1",
- "binding": {
- "strength": "required",
- "valueSet": "http://hl7.org/fhir/us/subscriptions-backport/ValueSet/backport-notification-type-value-set"
- }
- }
- ]
- }
-}
diff --git a/fsh/input/extensions/StructureDefinition-backport-payload-content.json b/fsh/input/extensions/StructureDefinition-backport-payload-content.json
deleted file mode 100644
index 070fe044..00000000
--- a/fsh/input/extensions/StructureDefinition-backport-payload-content.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "resourceType": "StructureDefinition",
- "id": "backport-payload-content",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-payload-content",
- "version": "0.1.0",
- "name": "BackportPayloadContent",
- "title": "Backport R5 Subscription Payload Content Information",
- "status": "active",
- "description": "How much of the resource content to deliver in the notification payload. The choices are an empty payload, only the resource id, or the full resource content.",
- "fhirVersion": "4.0.1",
- "mapping": [
- {
- "identity": "rim",
- "uri": "http://hl7.org/v3",
- "name": "RIM Mapping"
- }
- ],
- "kind": "complex-type",
- "abstract": false,
- "context": [
- {
- "type": "element",
- "expression": "Element"
- }
- ],
- "type": "Extension",
- "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
- "derivation": "constraint",
- "differential": {
- "element": [
- {
- "id": "Extension",
- "path": "Extension"
- },
- {
- "id": "Extension.extension",
- "path": "Extension.extension",
- "max": "0"
- },
- {
- "id": "Extension.url",
- "path": "Extension.url",
- "fixedUri": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-payload-content"
- },
- {
- "id": "Extension.value[x]",
- "path": "Extension.value[x]",
- "slicing": {
- "discriminator": [
- {
- "type": "type",
- "path": "$this"
- }
- ],
- "ordered": false,
- "rules": "open"
- },
- "type": [
- {
- "code": "code"
- }
- ]
- },
- {
- "id": "Extension.valueCode",
- "path": "Extension.valueCode",
- "min": 0,
- "max": "1",
- "binding": {
- "strength": "required",
- "valueSet": "http://hl7.org/fhir/us/subscriptions-backport/ValueSet/backport-content-value-set"
- }
- }
- ]
- }
-}
diff --git a/fsh/input/extensions/StructureDefinition-backport-subscription-event-count.json b/fsh/input/extensions/StructureDefinition-backport-subscription-event-count.json
deleted file mode 100644
index 06fc4c26..00000000
--- a/fsh/input/extensions/StructureDefinition-backport-subscription-event-count.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "resourceType": "StructureDefinition",
- "id": "backport-subscription-event-count",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-subscription-event-count",
- "version": "0.1.0",
- "name": "BackportSubscriptionEventCount",
- "title": "Backported R5 Subscription Event Count",
- "status": "active",
- "description": "Indicates the number of unique events that have triggered notification attempts on this Subscription inclusive of the current notification being sent.",
- "fhirVersion": "4.0.1",
- "mapping": [
- {
- "identity": "rim",
- "uri": "http://hl7.org/v3",
- "name": "RIM Mapping"
- }
- ],
- "kind": "complex-type",
- "abstract": false,
- "context": [
- {
- "type": "element",
- "expression": "Element"
- }
- ],
- "type": "Extension",
- "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
- "derivation": "constraint",
- "differential": {
- "element": [
- {
- "id": "Extension",
- "path": "Extension"
- },
- {
- "id": "Extension.extension",
- "path": "Extension.extension",
- "max": "0"
- },
- {
- "id": "Extension.url",
- "path": "Extension.url",
- "fixedUri": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-subscription-event-count"
- },
- {
- "id": "Extension.value[x]",
- "path": "Extension.value[x]",
- "type": [
- {
- "code": "unsignedInt"
- }
- ]
- }
- ]
- }
-}
diff --git a/fsh/input/extensions/StructureDefinition-backport-subscription-topic-url.json b/fsh/input/extensions/StructureDefinition-backport-subscription-topic-url.json
deleted file mode 100644
index 8c13d229..00000000
--- a/fsh/input/extensions/StructureDefinition-backport-subscription-topic-url.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "resourceType": "StructureDefinition",
- "id": "backport-subscription-topic-url",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-subscription-topic-url",
- "version": "0.1.0",
- "name": "BackportSubscriptionTopicUrl",
- "title": "Backported R5 Canonical SubscriptionTopic",
- "status": "active",
- "description": "The Canonical SubscriptionTopic resource relevant to this notification (e.g., the topic the triggering subscription relates to).",
- "fhirVersion": "4.0.1",
- "mapping": [
- {
- "identity": "rim",
- "uri": "http://hl7.org/v3",
- "name": "RIM Mapping"
- }
- ],
- "kind": "complex-type",
- "abstract": false,
- "context": [
- {
- "type": "element",
- "expression": "Element"
- }
- ],
- "type": "Extension",
- "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
- "derivation": "constraint",
- "differential": {
- "element": [
- {
- "id": "Extension",
- "path": "Extension"
- },
- {
- "id": "Extension.extension",
- "path": "Extension.extension",
- "max": "0"
- },
- {
- "id": "Extension.url",
- "path": "Extension.url",
- "fixedUri": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-subscription-topic-url"
- },
- {
- "id": "Extension.value[x]",
- "path": "Extension.value[x]",
- "type": [
- {
- "code": "uri"
- }
- ]
- }
- ]
- }
-}
diff --git a/fsh/input/extensions/StructureDefinition-backport-subscription-url.json b/fsh/input/extensions/StructureDefinition-backport-subscription-url.json
deleted file mode 100644
index f92b1eb0..00000000
--- a/fsh/input/extensions/StructureDefinition-backport-subscription-url.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "resourceType": "StructureDefinition",
- "id": "backport-subscription-url",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-subscription-url",
- "version": "0.1.0",
- "name": "BackportSubscriptionUrl",
- "title": "Backported R5 Subscription Absolute URL",
- "status": "active",
- "description": "The Subscription resource that triggered this notification, as an absolute URL for the Subscription resource on the server that generated the notification.",
- "fhirVersion": "4.0.1",
- "mapping": [
- {
- "identity": "rim",
- "uri": "http://hl7.org/v3",
- "name": "RIM Mapping"
- }
- ],
- "kind": "complex-type",
- "abstract": false,
- "context": [
- {
- "type": "element",
- "expression": "Element"
- }
- ],
- "type": "Extension",
- "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
- "derivation": "constraint",
- "differential": {
- "element": [
- {
- "id": "Extension",
- "path": "Extension"
- },
- {
- "id": "Extension.extension",
- "path": "Extension.extension",
- "max": "0"
- },
- {
- "id": "Extension.url",
- "path": "Extension.url",
- "fixedUri": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-subscription-url"
- },
- {
- "id": "Extension.value[x]",
- "path": "Extension.value[x]",
- "type": [
- {
- "code": "uri"
- }
- ]
- }
- ]
- }
-}
diff --git a/fsh/input/extensions/StructureDefinition-backport-timeout.json b/fsh/input/extensions/StructureDefinition-backport-timeout.json
deleted file mode 100644
index 81b00943..00000000
--- a/fsh/input/extensions/StructureDefinition-backport-timeout.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "resourceType": "StructureDefinition",
- "id": "backport-timeout",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-timeout",
- "version": "0.1.0",
- "name": "BackportTimeout",
- "title": "Backport R5 Subscription Timeout",
- "status": "active",
- "description": "Timeout in seconds to attempt notification delivery.",
- "fhirVersion": "4.0.1",
- "mapping": [
- {
- "identity": "rim",
- "uri": "http://hl7.org/v3",
- "name": "RIM Mapping"
- }
- ],
- "kind": "complex-type",
- "abstract": false,
- "context": [
- {
- "type": "element",
- "expression": "Element"
- }
- ],
- "type": "Extension",
- "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
- "derivation": "constraint",
- "differential": {
- "element": [
- {
- "id": "Extension",
- "path": "Extension"
- },
- {
- "id": "Extension.extension",
- "path": "Extension.extension",
- "max": "0"
- },
- {
- "id": "Extension.url",
- "path": "Extension.url",
- "fixedUri": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-timeout"
- },
- {
- "id": "Extension.value[x]",
- "path": "Extension.value[x]",
- "type": [
- {
- "code": "unsignedInt"
- }
- ]
- }
- ]
- }
-}
diff --git a/fsh/input/extensions/StructureDefinition-backport-topic-canonical.json b/fsh/input/extensions/StructureDefinition-backport-topic-canonical.json
deleted file mode 100644
index 94cce621..00000000
--- a/fsh/input/extensions/StructureDefinition-backport-topic-canonical.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "resourceType": "StructureDefinition",
- "id": "backport-topic-canonical",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-topic-canonical",
- "version": "0.1.0",
- "name": "BackportTopicCanonical",
- "title": "Backport R5 Subscription Topic Canonical",
- "status": "active",
- "description": "Canonical reference to the subscription topic being subscribed to.",
- "fhirVersion": "4.0.1",
- "mapping": [
- {
- "identity": "rim",
- "uri": "http://hl7.org/v3",
- "name": "RIM Mapping"
- }
- ],
- "kind": "complex-type",
- "abstract": false,
- "context": [
- {
- "type": "element",
- "expression": "Element"
- }
- ],
- "type": "Extension",
- "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
- "derivation": "constraint",
- "differential": {
- "element": [
- {
- "id": "Extension",
- "path": "Extension"
- },
- {
- "id": "Extension.extension",
- "path": "Extension.extension",
- "max": "0"
- },
- {
- "id": "Extension.url",
- "path": "Extension.url",
- "fixedUri": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-topic-canonical"
- },
- {
- "id": "Extension.value[x]",
- "path": "Extension.value[x]",
- "type": [
- {
- "code": "uri"
- }
- ]
- }
- ]
- }
-}
diff --git a/fsh/input/pagecontent/actors_and_transactions.md b/fsh/input/pagecontent/actors_and_transactions.md
deleted file mode 100644
index e69de29b..00000000
diff --git a/fsh/input/pagecontent/index.md b/fsh/input/pagecontent/index.md
deleted file mode 100644
index 8e750176..00000000
--- a/fsh/input/pagecontent/index.md
+++ /dev/null
@@ -1,11 +0,0 @@
-The Subscription R5 Backport Implementation Guide enables servers running verions of FHIR earlier than R5 to implement a subset of R5 Subscriptions in a standardized way.
-
-## About This Guide
-
-This is a draft implementation guide to enable the implementation of R5-style subscriptions in earlier versions of FHIR.
-
-The goal of publishing this guide is to define a standard method of back-porting newer subscriptions for greater compatibility and adoption.
-
-## Organization of This Guide
-
-* [Overview](overview.html)
\ No newline at end of file
diff --git a/fsh/input/pagecontent/overview.md b/fsh/input/pagecontent/overview.md
deleted file mode 100644
index f8406adb..00000000
--- a/fsh/input/pagecontent/overview.md
+++ /dev/null
@@ -1,5 +0,0 @@
-## The R5 Subscription Redesign
-
-## Subscriptions Overview
-
-## Useful Links
\ No newline at end of file
diff --git a/fsh/input/profiles/StructureDefinition-backport-subscription-notification.json b/fsh/input/profiles/StructureDefinition-backport-subscription-notification.json
deleted file mode 100644
index 4f90771f..00000000
--- a/fsh/input/profiles/StructureDefinition-backport-subscription-notification.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "resourceType": "StructureDefinition",
- "id": "backport-subscription-notification",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-subscription-notification",
- "version": "0.1.0",
- "name": "BackportSubscriptionNotification",
- "title": "Backported R5 Subscription Notification Bundle",
- "status": "active",
- "fhirVersion": "4.0.1",
- "mapping": [
- {
- "identity": "v2",
- "uri": "http://hl7.org/v2",
- "name": "HL7 v2 Mapping"
- },
- {
- "identity": "rim",
- "uri": "http://hl7.org/v3",
- "name": "RIM Mapping"
- },
- {
- "identity": "cda",
- "uri": "http://hl7.org/v3/cda",
- "name": "CDA (R2)"
- },
- {
- "identity": "w5",
- "uri": "http://hl7.org/fhir/fivews",
- "name": "FiveWs Pattern Mapping"
- }
- ],
- "kind": "resource",
- "abstract": false,
- "type": "history",
- "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
- "derivation": "constraint",
- "differential": {
- "element": [
- {
- "id": "Bundle",
- "path": "Bundle"
- }
- ]
- }
-}
diff --git a/fsh/input/profiles/StructureDefinition-backport-subscription.json b/fsh/input/profiles/StructureDefinition-backport-subscription.json
deleted file mode 100644
index 56f780d2..00000000
--- a/fsh/input/profiles/StructureDefinition-backport-subscription.json
+++ /dev/null
@@ -1,154 +0,0 @@
-{
- "resourceType": "StructureDefinition",
- "id": "backport-subscription",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-subscription",
- "version": "0.1.0",
- "name": "BackportSubscription",
- "title": "Backported R5 Subscription",
- "status": "active",
- "fhirVersion": "4.0.1",
- "mapping": [
- {
- "identity": "rim",
- "uri": "http://hl7.org/v3",
- "name": "RIM Mapping"
- },
- {
- "identity": "w5",
- "uri": "http://hl7.org/fhir/fivews",
- "name": "FiveWs Pattern Mapping"
- }
- ],
- "kind": "resource",
- "abstract": false,
- "type": "Subscription",
- "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Subscription",
- "derivation": "constraint",
- "differential": {
- "element": [
- {
- "id": "Subscription",
- "path": "Subscription"
- },
- {
- "id": "Subscription.criteria",
- "path": "Subscription.criteria"
- },
- {
- "id": "Subscription.criteria.extension",
- "path": "Subscription.criteria.extension",
- "slicing": {
- "discriminator": [
- {
- "type": "value",
- "path": "url"
- }
- ],
- "ordered": false,
- "rules": "open"
- },
- "min": 1
- },
- {
- "id": "Subscription.criteria.extension:subscriptionTopic",
- "path": "Subscription.criteria.extension",
- "sliceName": "subscriptionTopic",
- "min": 1,
- "max": "1",
- "type": [
- {
- "code": "Extension",
- "profile": [
- "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-topic-canonical"
- ]
- }
- ],
- "mustSupport": true
- },
- {
- "id": "Subscription.channel",
- "path": "Subscription.channel"
- },
- {
- "id": "Subscription.channel.extension",
- "path": "Subscription.channel.extension",
- "slicing": {
- "discriminator": [
- {
- "type": "value",
- "path": "url"
- }
- ],
- "ordered": false,
- "rules": "open"
- }
- },
- {
- "id": "Subscription.channel.extension:heartbeatPeriod",
- "path": "Subscription.channel.extension",
- "sliceName": "heartbeatPeriod",
- "min": 0,
- "max": "1",
- "type": [
- {
- "code": "Extension",
- "profile": [
- "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-heartbeat-period"
- ]
- }
- ]
- },
- {
- "id": "Subscription.channel.extension:timeout",
- "path": "Subscription.channel.extension",
- "sliceName": "timeout",
- "min": 0,
- "max": "1",
- "type": [
- {
- "code": "Extension",
- "profile": [
- "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-timeout"
- ]
- }
- ]
- },
- {
- "id": "Subscription.channel.payload",
- "path": "Subscription.channel.payload",
- "min": 1
- },
- {
- "id": "Subscription.channel.payload.extension",
- "path": "Subscription.channel.payload.extension",
- "slicing": {
- "discriminator": [
- {
- "type": "value",
- "path": "url"
- }
- ],
- "ordered": false,
- "rules": "open"
- },
- "min": 1
- },
- {
- "id": "Subscription.channel.payload.extension:content",
- "path": "Subscription.channel.payload.extension",
- "sliceName": "content",
- "min": 1,
- "max": "1",
- "type": [
- {
- "code": "Extension",
- "profile": [
- "http://hl7.org/fhir/us/subscriptions-backport/StructureDefinition/backport-payload-content"
- ]
- }
- ],
- "mustSupport": true
- }
- ]
- }
-}
diff --git a/fsh/input/vocabulary/CodeSystem-backport-content-code-system.json b/fsh/input/vocabulary/CodeSystem-backport-content-code-system.json
deleted file mode 100644
index 20a22a6e..00000000
--- a/fsh/input/vocabulary/CodeSystem-backport-content-code-system.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "resourceType": "CodeSystem",
- "status": "active",
- "content": "complete",
- "name": "BackportContentCodeSystem",
- "id": "backport-content-code-system",
- "title": "Backported R5 Subscription Content Code System",
- "description": "Codes to represent how much resource content to send in the notification payload.",
- "version": "0.1.0",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/CodeSystem/backport-content-code-system",
- "concept": [
- {
- "code": "empty",
- "display": "Empty",
- "definition": "No resource content is transacted in the notification payload."
- },
- {
- "code": "id-only",
- "display": "Id Only",
- "definition": "Only the resource id is transacted in the notification payload."
- },
- {
- "code": "full-resource",
- "display": "Full Resource",
- "definition": "The entire resource is transacted in the notification payload."
- }
- ]
-}
diff --git a/fsh/input/vocabulary/CodeSystem-backport-notification-type-code-system.json b/fsh/input/vocabulary/CodeSystem-backport-notification-type-code-system.json
deleted file mode 100644
index bcf4a4e9..00000000
--- a/fsh/input/vocabulary/CodeSystem-backport-notification-type-code-system.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "resourceType": "CodeSystem",
- "status": "active",
- "content": "complete",
- "name": "BackportNotificationTypeCodeSystem",
- "id": "backport-notification-type-code-system",
- "title": "Backported R5 Subscription Notification Type Code System",
- "description": "Codes to represent types of notification bundles.",
- "version": "0.1.0",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/CodeSystem/backport-notification-type-code-system",
- "concept": [
- {
- "code": "handshake",
- "display": "Handshake",
- "definition": "The notification is being sent as part of the setup or verification of a communications channel."
- },
- {
- "code": "heartbeat",
- "display": "Heartbeat",
- "definition": "The notification is being sent because there has not been a notification generated over an extended period of time."
- },
- {
- "code": "event-notification",
- "display": "Event Notification",
- "definition": "The notification is being sent due to an event for the subscriber."
- },
- {
- "code": "query-status",
- "display": "Query Status",
- "definition": "The notification is being sent due to a client request or query for Subscription status."
- }
- ]
-}
diff --git a/fsh/input/vocabulary/ValueSet-backport-content-value-set.json b/fsh/input/vocabulary/ValueSet-backport-content-value-set.json
deleted file mode 100644
index 060222d3..00000000
--- a/fsh/input/vocabulary/ValueSet-backport-content-value-set.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "resourceType": "ValueSet",
- "status": "active",
- "name": "BackportContentValueSet",
- "id": "backport-content-value-set",
- "title": "Backported R5 Subscription Content Value Set",
- "description": "Codes to represent how much resource content to send in the notification payload.",
- "version": "0.1.0",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/ValueSet/backport-content-value-set",
- "compose": {
- "include": [
- {
- "system": "http://hl7.org/fhir/us/subscriptions-backport/CodeSystem/backport-content-code-system"
- }
- ]
- }
-}
diff --git a/fsh/input/vocabulary/ValueSet-backport-notification-type-value-set.json b/fsh/input/vocabulary/ValueSet-backport-notification-type-value-set.json
deleted file mode 100644
index d9d92193..00000000
--- a/fsh/input/vocabulary/ValueSet-backport-notification-type-value-set.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "resourceType": "ValueSet",
- "status": "active",
- "name": "BackportNotificationTypeValueSet",
- "id": "backport-notification-type-value-set",
- "title": "Backported R5 Subscription Notification Type Value Set",
- "description": "Codes to represent types of notification bundles.",
- "version": "0.1.0",
- "url": "http://hl7.org/fhir/us/subscriptions-backport/ValueSet/backport-notification-type-value-set",
- "compose": {
- "include": [
- {
- "system": "http://hl7.org/fhir/us/subscriptions-backport/CodeSystem/backport-notification-type-code-system"
- }
- ]
- }
-}