PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.health-care-surveys-reporting@2.0.0-ballot
    https://build.fhir.org/ig/HL7/fhir-health-care-surveys-reporting-ig/PlanDefinition/hcs-plandefinition-example
{
  "description": "An example National Health Care Surveys PlanDefinition",
  "_filename": "example/PlanDefinition-hcs-plandefinition-example.json",
  "package_name": "hl7.fhir.us.health-care-surveys-reporting",
  "date": "2025-07-31T12:32:29.858-05:00",
  "meta": {
    "profile": [ "http://hl7.org/fhir/us/health-care-surveys-reporting/StructureDefinition/hcs-plandefinition" ]
  },
  "publisher": "HL7 International / Public Health",
  "jurisdiction": [ {
    "coding": [ {
      "code": "US",
      "system": "urn:iso:std:iso:3166"
    } ]
  } ],
  "name": "PlanDefinitionNationalHealthCareSurveysExample",
  "type": "{:coding [{:system \\\"http://terminology.hl7.org/CodeSystem/plan-definition-type\\\", :code \\\"workflow-definition\\\", :display \\\"Workflow Definition\\\"}]}",
  "experimental": "true",
  "resourceType": "PlanDefinition",
  "title": "PlanDefinition National Health Care Surveys Example",
  "library": [ "http://example.org/fhir/Library/RuleFilters|1.0.0" ],
  "package_version": "2.0.0-ballot",
  "extension": [ {
    "url": "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-receiver-address-extension",
    "valueReference": {
      "reference": "Endpoint/ph-endpoint"
    }
  }, {
    "url": "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-receiver-jwks-url-extension",
    "valueUrl": "http://example.org/jwks/123"
  }, {
    "url": "http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-data-encryption-algorithm-extension",
    "valueCode": "RSA384"
  } ],
  "status": "active",
  "id": "99e01879-c16d-48a2-a5d3-ec1493fe9aad",
  "kind": null,
  "url": "https://build.fhir.org/ig/HL7/fhir-health-care-surveys-reporting-ig/PlanDefinition/hcs-plandefinition-example",
  "identifier": [ {
    "value": "urn:oid:2.16.840.1.113883.4.642.40.59.34.1",
    "system": "urn:ietf:rfc:3986"
  } ],
  "action": [ {
    "id": "start-workflow",
    "code": [ {
      "coding": [ {
        "code": "initiate-reporting-workflow",
        "system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"
      } ]
    } ],
    "trigger": [ {
      "name": "encounter-end",
      "type": "named-event"
    } ],
    "description": "Start the workflow action.",
    "relatedAction": [ {
      "actionId": "check-reportability",
      "relationship": "before-start"
    } ],
    "textEquivalent": "Start the reporting workflow in response to an encounter-end event"
  }, {
    "id": "check-reportability",
    "code": [ {
      "coding": [ {
        "code": "execute-reporting-workflow",
        "system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"
      } ]
    } ],
    "action": [ {
      "id": "is-ambulatory-encounter-reportable",
      "code": [ {
        "coding": [ {
          "code": "evaluate-condition",
          "system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"
        } ]
      } ]
    }, {
      "id": "is-inpatient-encounter-reportable",
      "code": [ {
        "coding": [ {
          "code": "evaluate-condition",
          "system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"
        } ]
      } ]
    } ]
  }, {
    "id": "create-hcs-report",
    "code": [ {
      "coding": [ {
        "code": "create-report",
        "system": "http://hl7.org/fhir/us/ph-library/CodeSystem/us-ph-codesystem-plandefinition-actions"
      } ]
    } ]
  }, {
    "id": "validate-hcs-report"
  }, {
    "id": "submit-hcs-report",
    "textEquivalent": "Route and send HCS Report"
  } ],
  "version": "2.0.0-ballot",
  "contact": [ {
    "name": "HL7 International / Public Health",
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/pher",
      "system": "url"
    }, {
      "value": "ord@lists.HL7.org",
      "system": "email"
    } ]
  } ],
  "effectivePeriod": {
    "start": "2025-12-01"
  }
}