Making Electronic Data More available for Research and Public Health (MedMorph)
1.0.0 - STU 1 United States of America flag

This page is part of the Making EHR Data MOre available for Research and Public Health (MedMorph) (v1.0.0: STU1 Release 1) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: Example of a Specification Bundle for a Knowledge Artifact containing a PlanDefinition and ValueSet - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "specification-bundle-example",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2020-11-29T02:03:28.045+00:00",
    "profile" : [
      "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-specification-bundle"
    ]
  },
  "type" : "collection",
  "timestamp" : "2020-11-20T11:15:33-10:00",
  "entry" : [
    {
      "fullUrl" : "PlanDefinition/plandefinition-cancer-example",
      "resource" : {
        "resourceType" : "PlanDefinition",
        "id" : "plandefinition-cancer-example",
        "meta" : {
          "versionId" : "1",
          "lastUpdated" : "2020-11-29T02:03:28.045+00:00",
          "profile" : [
            "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-plandefinition"
          ]
        },
        "text" : {
          "status" : "extensions",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: PlanDefinition</b><a name=\"plandefinition-cancer-example\"> </a></p><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\">Resource PlanDefinition &quot;plandefinition-cancer-example&quot; Version &quot;1&quot; Updated &quot;2020-11-29 02:03:28+0000&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-ph-plandefinition.html\">US Public Health PlanDefinition</a></p></div><p><b>US Public Health Receiver Endpoint</b>: <a href=\"Endpoint-example-ph-endpoint.html\">Endpoint/example-ph-endpoint</a> &quot;PHAReceiver&quot;</p><p><b>US Public Health Async Indicator Extension</b>: true</p><p><b>US Public Health Expected Response Time Extension</b>: 1 min<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code min = 'min')</span></p><p><b>url</b>: <code>http://hl7.org/fhir/us/medmorph/StructureDefinition/plandefinition-cancer-example</code></p><p><b>version</b>: 1.0</p><p><b>name</b>: PlanDefinitionCancerExample</p><p><b>title</b>: PlanDefinition Cancer Reporting Example</p><p><b>type</b>: Workflow Definition <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-plan-definition-type.html\">PlanDefinitionType</a>#workflow-definition)</span></p><p><b>status</b>: draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2020-11-04 12:32:29-0500</p><p><b>publisher</b>: MedMorph</p><p><b>description</b>: This is the Cancer Reporting Knowledge Artifact</p><p><b>effectivePeriod</b>: 2020-11-01 --&gt; (ongoing)</p><h3>RelatedArtifacts</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Label</b></td><td><b>Resource</b></td></tr><tr><td>*</td><td>depends-on</td><td>Cancer Trigger Codes</td><td><a href=\"Bundle-specification-bundle-example.html\">SNOMED Cancer Codes Example</a></td></tr></table><blockquote><p><b>action</b></p><blockquote><p><b>id</b></p>initiate-reporting-workflow</blockquote><p><b>description</b>: This action represents the start of a reporting workflow.</p><p><b>textEquivalent</b>: Initiate Reporting Workflow</p><p><b>code</b>: Initiate a reporting workflow <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-us-ph-plandefinition-actions.html\">US Public Health PlanDefinition Action Codes</a>#initiate-reporting-workflow)</span></p><h3>Triggers</h3><table class=\"grid\"><tr><td>-</td><td><b>Extension</b></td><td><b>Type</b></td><td><b>Name</b></td></tr><tr><td>*</td><td/><td>named-event</td><td>encounter-end</td></tr></table><h3>RelatedActions</h3><table class=\"grid\"><tr><td>-</td><td><b>ActionId</b></td><td><b>Relationship</b></td><td><b>Offset[x]</b></td></tr><tr><td>*</td><td>check-trigger-codes</td><td>before-start</td><td>1 min<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code min = 'min')</span></td></tr></table></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>id</b></p>check-trigger-codes</blockquote><p><b>description</b>: This action represents the execution of the checking trigger codes in the  workflow.</p><p><b>textEquivalent</b>: Check Trigger Codes</p><blockquote><p><b>action</b></p><p><b>code</b>: Evaluate candidate patient's data against trigger codes to determine reportability <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-us-ph-plandefinition-actions.html\">US Public Health PlanDefinition Action Codes</a>#check-trigger-codes)</span></p><blockquote><p><b>condition</b></p></blockquote><blockquote><p><b>relatedAction</b></p></blockquote></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>id</b></p>create-report</blockquote><p><b>description</b>: This action represents the creation of a cancer report.</p><p><b>textEquivalent</b>: Create Report</p><p><b>code</b>: Create a report for submission to a PHA or a Research Organization <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-us-ph-plandefinition-actions.html\">US Public Health PlanDefinition Action Codes</a>#create-report)</span></p></blockquote></div>"
        },
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-receiver-endpoint",
            "valueReference" : {
              "reference" : "Endpoint/example-ph-endpoint"
            }
          },
          {
            "url" : "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-async-indicator",
            "valueBoolean" : true
          },
          {
            "url" : "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-expected-responsetime",
            "valueDuration" : {
              "value" : 1,
              "system" : "http://unitsofmeasure.org",
              "code" : "min"
            }
          }
        ],
        "url" : "http://hl7.org/fhir/us/medmorph/StructureDefinition/plandefinition-cancer-example",
        "version" : "1.0",
        "name" : "PlanDefinitionCancerExample",
        "title" : "PlanDefinition Cancer Reporting Example",
        "type" : {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/plan-definition-type",
              "code" : "workflow-definition",
              "display" : "Workflow Definition"
            }
          ]
        },
        "status" : "draft",
        "experimental" : true,
        "date" : "2020-11-04T12:32:29.858-05:00",
        "publisher" : "MedMorph",
        "description" : "This is the Cancer Reporting Knowledge Artifact",
        "effectivePeriod" : {
          "start" : "2020-11-01"
        },
        "relatedArtifact" : [
          {
            "type" : "depends-on",
            "label" : "Cancer Trigger Codes",
            "resource" : "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"
          }
        ],
        "action" : [
          //     <library value="http://aphl.org/fhir/ecr/Library/RuleFiltersCancer|1.0.0"/> 
          {
            "id" : "initiate-reporting-workflow",
            "description" : "This action represents the start of a reporting workflow.",
            "textEquivalent" : "Initiate Reporting Workflow",
            "code" : [
              {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                    "code" : "initiate-reporting-workflow"
                  }
                ]
              }
            ],
            "trigger" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-named-eventtype",
                    "valueCodeableConcept" : {
                      "coding" : [
                        {
                          "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-triggerdefinition-namedevents",
                          "code" : "encounter-end",
                          "display" : "Indicates the end of an encounter"
                        }
                      ]
                    }
                  }
                ],
                "type" : "named-event",
                "name" : "encounter-end"
              }
            ],
            "relatedAction" : [
              {
                "actionId" : "check-trigger-codes",
                "relationship" : "before-start",
                "offsetDuration" : {
                  "value" : 1,
                  "system" : "http://unitsofmeasure.org",
                  "code" : "min"
                }
              }
            ]
          },
          {
            "id" : "check-trigger-codes",
            "description" : "This action represents the execution of the checking trigger codes in the  workflow.",
            "textEquivalent" : "Check Trigger Codes",
            "action" : [
              {
                "code" : [
                  {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                        "code" : "check-trigger-codes"
                      }
                    ]
                  }
                ],
                "condition" : [
                  {
                    "kind" : "applicability",
                    "expression" : {
                      "language" : "text/fhirpath",
                      "expression" : "Condition.code.memberof(http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example)"
                    }
                  }
                ],
                "relatedAction" : [
                  {
                    "actionId" : "create-report",
                    "relationship" : "before-start"
                  }
                ]
              }
            ]
          },
          {
            "id" : "create-report",
            "description" : "This action represents the creation of a cancer report.",
            "textEquivalent" : "Create Report",
            "code" : [
              {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                    "code" : "create-report"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl" : "ValueSet/valueset-cancer-trigger-codes-example",
      "resource" : {
        "resourceType" : "ValueSet",
        "id" : "valueset-cancer-trigger-codes-example",
        "meta" : {
          "versionId" : "1",
          "lastUpdated" : "2020-11-30T23:10:42.057+00:00",
          "profile" : [
            "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-valueset"
          ]
        },
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This value set includes trigger code examples for cancer reporting</p></div>"
        },
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/valueset-steward",
            "valueContactDetail" : {
              "name" : "CSTE Steward"
            }
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/valueset-author",
            "valueContactDetail" : {
              "name" : "CSTE Author"
            }
          }
        ],
        "url" : "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example",
        "version" : "3.0.0",
        "name" : "SNOMEDCancerCodesExample",
        "title" : "SNOMED Cancer Codes Example",
        "status" : "draft",
        "experimental" : true,
        "date" : "2018-08-01",
        "publisher" : "HL7 Public Health Work Group (http://www.hl7.org/Special/committees/pher/index.cfm)",
        "contact" : [
          {
            "name" : "HL7 International - Public Health",
            "telecom" : [
              {
                "system" : "url",
                "value" : "http://www.hl7.org/Special/committees/pher"
              }
            ]
          }
        ],
        "description" : "This example set of values contains diagnoses or problems that represent that the patient may have a potentially reportable condition regardless of the clinical presentation of the condition",
        "useContext" : [
          {
            "code" : {
              "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
              "code" : "program"
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-valueset-usecontext-codes",
                  "code" : "ph-reporting",
                  "display" : "ValueSet is to be used in the context of public health reporting use cases."
                }
              ]
            }
          }
        ],
        "jurisdiction" : [
          {
            "coding" : [
              {
                "system" : "urn:iso:std:iso:3166",
                "code" : "US",
                "display" : "United States of America"
              }
            ],
            "text" : "United States of America"
          }
        ],
        "copyright" : "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement",
        "compose" : {
          "include" : [
            {
              "system" : "http://snomed.info/sct",
              "concept" : [
                {
                  "code" : "281566005",
                  "display" : "Abdominothoracic neuroblastoma"
                }
              ]
            }
          ]
        }
      }
    }
  ]
}