PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.medmorph@0.2.0
    http://hl7.org/fhir/us/medmorph/StructureDefinition/plandefinition-cancer-example
{
  "description": "This is the Cancer Reporting Knowledge Artifact",
  "_filename": "example/PlanDefinition-plandefinition-cancer-example.json",
  "package_name": "hl7.fhir.us.medmorph",
  "date": "2020-11-04T12:32:29.858-05:00",
  "meta": {
    "profile": [ "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-plandefinition" ],
    "versionId": "1",
    "lastUpdated": "2020-11-29T02:03:28.045+00:00"
  },
  "publisher": "HL7 International - Public Health Work Group",
  "jurisdiction": [ {
    "coding": [ {
      "code": "US",
      "system": "urn:iso:std:iso:3166"
    } ]
  } ],
  "name": "PlanDefinitionCancerExample",
  "type": "{:coding [{:system \\\"http://terminology.hl7.org/CodeSystem/plan-definition-type\\\", :code \\\"workflow-definition\\\", :display \\\"Workflow Definition\\\"}]}",
  "experimental": "true",
  "resourceType": "PlanDefinition",
  "title": "PlanDefinition Cancer Reporting Example",
  "package_version": "0.2.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-receiverAddress",
    "valueReference": {
      "reference": "Endpoint/example-ph-endpoint"
    }
  }, {
    "url": "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-authorSignature",
    "valueSignature": {
      "who": {
        "reference": "Organization/example-pha-org"
      },
      "data": "Li4u",
      "type": [ {
        "code": "1.2.840.10065.1.12.1.5",
        "system": "urn:iso-astm:E1762-95:2013",
        "display": "Verification Signature"
      } ],
      "when": "2015-08-26T22:39:24.000+00:00",
      "sigFormat": "application/signature+xml",
      "targetFormat": "application/fhir+xml"
    }
  }, {
    "url": "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-asyncIndicator",
    "valueBoolean": true
  }, {
    "url": "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-expectedResponseTime",
    "valueDuration": {
      "code": "min",
      "value": 1,
      "system": "http://unitsofmeasure.org"
    }
  } ],
  "status": "draft",
  "id": "4cfecd08-714c-43ce-8394-68e75aea4321",
  "kind": null,
  "url": "http://hl7.org/fhir/us/medmorph/StructureDefinition/plandefinition-cancer-example",
  "action": [ {
    "id": "initiate-reporting-workflow",
    "code": [ {
      "coding": [ {
        "code": "initiate-reporting-workflow",
        "system": "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"
      } ]
    } ],
    "input": [ {
      "type": "Patient"
    }, {
      "type": "Encounter",
      "extension": [ {
        "url": "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-fhirquerypattern-extension",
        "valueString": "/Encounter?patient={context.patientId}"
      } ]
    } ],
    "trigger": [ {
      "name": "encounter-close",
      "type": "named-event",
      "extension": [ {
        "url": "http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-us-ph-namedEventType",
        "valueCodeableConcept": {
          "coding": [ {
            "code": "encounter-close",
            "system": "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-triggerdefinition-namedevents",
            "display": "Indicates the close of an encounter"
          } ]
        }
      } ]
    } ],
    "description": "This action represents the start of a reporting workflow.",
    "relatedAction": [ {
      "actionId": "check-trigger-codes",
      "relationship": "before-start",
      "offsetDuration": {
        "code": "min",
        "value": 1,
        "system": "http://unitsofmeasure.org"
      }
    } ],
    "textEquivalent": "Initiate Reporting Workflow"
  }, {
    "id": "check-trigger-codes",
    "action": [ {
      "code": [ {
        "coding": [ {
          "code": "check-trigger-codes",
          "system": "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"
        } ]
      } ],
      "input": [ {
        "type": "Patient"
      }, {
        "type": "Encounter"
      } ],
      "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"
      } ]
    } ],
    "description": "This action represents the execution of the checking trigger codes in the  workflow.",
    "textEquivalent": "Check Trigger Codes"
  }, {
    "id": "create-report",
    "code": [ {
      "coding": [ {
        "code": "create-report",
        "system": "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"
      } ]
    } ],
    "output": [ {
      "type": "Bundle",
      "profile": [ "http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-reporting-bundle" ]
    } ],
    "description": "This action represents the creation of a cancer report.",
    "textEquivalent": "Create Report"
  } ],
  "version": "0.2.0",
  "relatedArtifact": [ {
    "type": "depends-on",
    "label": "Cancer Trigger Codes",
    "resource": "http://hl7.org/fhir/us/medmorph/ValueSet/valueset-cancer-trigger-codes-example"
  } ],
  "contact": [ {
    "telecom": [ {
      "value": "http://hl7.org/Special/committees/pher",
      "system": "url"
    } ]
  } ],
  "effectivePeriod": {
    "start": "2020-11-01"
  }
}