Making EHR Data More available for Research and Public Health (MedMorph)
0.1.0 - STU Ballot

This page is part of the Making EHR Data MOre available for Research and Public Health (MedMorph) (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . 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 - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="specification-bundle-example"/>
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2020-11-29T02:03:28.045+00:00"/>
    <profile
             value="http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-specification-bundle"/>
  </meta>
  <type value="collection"/>
  <timestamp value="2020-11-20T11:15:33-10:00"/>
  <entry>
    <fullUrl value="PlanDefinition/plandefinition-cancer-example"/>
    <resource>
      <PlanDefinition>
        <id value="plandefinition-cancer-example"/>
        <meta>
          <versionId value="1"/>
          <lastUpdated value="2020-11-29T02:03:28.045+00:00"/>
          <profile
                   value="http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-plandefinition"/>
        </meta>
        <text>
          <status value="extensions"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>Receiver Endpoint Address</b>: <a href="Endpoint-example-ph-endpoint.html">Generated Summary: id: pha-endpoint-id; status: active; <span title="{http://terminology.hl7.org/CodeSystem/endpoint-connection-type hl7-fhir-rest}">HL7 FHIR</span>; name: PHAReceiver; endpointmanager@example.pha.org; period: 2020-11-20 --&gt; (ongoing); <span title="Codes: {http://hl7.org/fhir/resource-types Bundle}">Bundle</span>; payloadMimeType: application/fhir+xml, payloadMimeType: application/fhir+json; address: http://example.pha.org/fhir</a></p><p><b>Author Signature</b>: </p><p><b style="color: maroon">Exception generating Narrative: type org.hl7.fhir.r5.model.Signature not handled - should not be here</b></p></div>
        </text>
        <extension
                   url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-receiverAddress">
          <valueReference>
            <reference value="Endpoint/example-ph-endpoint"/>
          </valueReference>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-authorSignature">
          <valueSignature>
            <type>
              <system value="urn:iso-astm:E1762-95:2013"/>
              <code value="1.2.840.10065.1.12.1.5"/>
              <display value="Verification Signature"/>
            </type>
            <when value="2015-08-27T08:39:24+10:00"/>
            <who>
              <reference value="Organization/example-pha-org"/>
            </who>
            <targetFormat value="application/fhir+xml"/>
            <sigFormat value="application/signature+xml"/>
            <data value="Li4u"/>
          </valueSignature>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-asyncIndicator">
          <valueBoolean value="true"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-expectedResponseTime">
          <valueDuration>
            <value value="1"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="min"/>
          </valueDuration>
        </extension>
        <url
             value="http://hl7.org/fhir/us/medmorph/StructureDefinition/plandefinition-cancer-example"/>
        <version value="1.0"/>
        <name value="PlanDefinitionCancerExample"/>
        <title value="PlanDefinition Cancer Reporting Example"/>
        <type>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/plan-definition-type"/>
            <code value="workflow-definition"/>
            <display value="Workflow Definition"/>
          </coding>
        </type>
        <status value="draft"/>
        <experimental value="true"/>
        <date value="2020-11-04T12:32:29.858-05:00"/>
        <publisher value="MedMorph"/>
        <description value="This is the Cancer Reporting Knowledge Artifact"/>
        <effectivePeriod>
          <start value="2020-11-01"/>
        </effectivePeriod>
        <relatedArtifact>
          <type value="depends-on"/>
          <label value="Cancer Trigger Codes"/>
          <resource
                    value="http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"/>
        </relatedArtifact>
      <!--     <library value="http://aphl.org/fhir/ecr/Library/RuleFiltersCancer|1.0.0"/>  -->
        <action id="initiate-reporting-workflow">
          <description
                       value="This action represents the start of a reporting workflow."/>
          <textEquivalent value="Initiate Reporting Workflow"/>
          <code>
            <coding>
              <system
                      value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
              <code value="initiate-reporting-workflow"/>
            </coding>
          </code>
          <trigger>
            <extension
                       url="http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-us-ph-namedEventType">
              <valueCodeableConcept>
                <coding>
                  <system
                          value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-triggerdefinition-namedevents"/>
                  <code value="encounter-close"/>
                  <display value="Indicates the close of an encounter"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <type value="named-event"/>
            <name value="encounter-close"/>
          </trigger>
          <relatedAction>
            <actionId value="check-trigger-codes"/>
            <relationship value="before-start"/>
            <offsetDuration>
              <value value="1"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="min"/>
            </offsetDuration>
          </relatedAction>
        </action>
        <action id="check-trigger-codes">
          <description
                       value="This action represents the execution of the checking trigger codes in the  workflow."/>
          <textEquivalent value="Check Trigger Codes"/>
          <action>
            <code>
              <coding>
                <system
                        value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
                <code value="check-trigger-codes"/>
              </coding>
            </code>
            <condition>
              <kind value="applicability"/>
              <expression>
                <language value="text/fhirpath"/>
                <expression
                            value="Condition.code.memberof(http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example)"/>
              </expression>
            </condition>
            <relatedAction>
              <actionId value="create-report"/>
              <relationship value="before-start"/>
            </relatedAction>
          </action>
        </action>
        <action id="create-report">
          <description
                       value="This action represents the creation of a cancer report."/>
          <textEquivalent value="Create Report"/>
          <code>
            <coding>
              <system
                      value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
              <code value="create-report"/>
            </coding>
          </code>
        </action>
      </PlanDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="ValueSet/valueset-cancer-trigger-codes-example"/>
    <resource>
      <ValueSet>
        <id value="valueset-cancer-trigger-codes-example"/>
        <meta>
          <versionId value="1"/>
          <lastUpdated value="2020-11-30T23:10:42.057+00:00"/>
          <profile
                   value="http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-valueset"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><p>This value set includes trigger code examples for cancer reporting</p></div>
        </text>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/valueset-steward">
          <valueContactDetail>
            <name value="CSTE Steward"/>
          </valueContactDetail>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-author">
          <valueContactDetail>
            <name value="CSTE Author"/>
          </valueContactDetail>
        </extension>
        <url
             value="http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"/>
        <version value="3.0.0"/>
        <name value="SNOMEDCancerCodesExample"/>
        <title value="SNOMED Cancer Codes Example"/>
        <status value="draft"/>
        <experimental value="true"/>
        <date value="2018-08-01"/>
        <publisher
                   value="HL7 Public Health Work Group (http://www.hl7.org/Special/committees/pher/index.cfm)"/>
        <contact>
          <name value="HL7 International - Public Health"/>
          <telecom>
            <system value="url"/>
            <value value="http://www.hl7.org/Special/committees/pher"/>
          </telecom>
        </contact>
        <description
                     value="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>
        <!--  ERROR in Build Tool, pulling wrong display string  -->
        <!--    <display value="Program"/>  -->
          <code>
            <system
                    value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
            <code value="program"/>
          </code>
          <valueCodeableConcept>
            <coding>
              <system
                      value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-valueset-usecontext-codes"/>
              <code value="ph-reporting"/>
              <display
                       value="ValueSet is to be used in the context of public health reporting use cases."/>
            </coding>
          </valueCodeableConcept>
        </useContext>
        <jurisdiction>
          <coding>
            <system value="urn:iso:std:iso:3166"/>
            <code value="US"/>
            <display value="United States of America"/>
          </coding>
          <text value="United States of America"/>
        </jurisdiction>
        <copyright
                   value="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"/>
      <!--  ERROR in Build Tool, not recognizing icd-10-cm codes
         <include>
            <system value="http://hl7.org/fhir/sid/icd-10"/>
              <concept>
                  <code value="C44.101"/>
                  <display value="Unspecified malignant neoplasm of skin of unspecified eyelid, including ?canthus (C44.101)"/>
               </concept>
          </include>  -->
        <compose>
          <include>
            <system value="http://snomed.info/sct"/>
            <concept>
              <code value="281566005"/>
              <display value="Abdominothoracic neuroblastoma"/>
            </concept>
          </include>
        </compose>
      </ValueSet>
    </resource>
  </entry>
</Bundle>