PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.us.ph@library-1.0.0-ballot
    http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-plandefinition
description: This profile describes the US Public Health PlanDefinition.
package_name: rs/hl7.fhir.us.ph
derivation: constraint
name: USPublicHealthPlanDefinition
type: PlanDefinition
elements:
  date: {short: Date the PlanDefinition was last changed, mustSupport: true, index: 7}
  publisher: {short: Name of the agency that published this PlanDefinition, mustSupport: true, index: 8}
  name: {short: Name for this PlanDefinition (computer friendly), mustSupport: true, index: 2}
  type:
    short: Type of this PlanDefinition
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: workflow-definition, system: 'http://terminology.hl7.org/CodeSystem/plan-definition-type', display: Workflow Definition}
    type: CodeableConcept
    index: 4
  title: {short: Title for this PlanDefinition, mustSupport: true, index: 3}
  library: {mustSupport: true, index: 11}
  extension:
    type: Extension
    mustSupport: true
    url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-receiver-address-extension
    index: 0
    slicing:
      slices:
        receiverAddress:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-receiver-address-extension', index: 0}
          min: 0
          max: 1
  action:
    short: All constraints on action are intended to apply to any nested constraints.
    mustSupport: true
    array: true
    index: 12
    elements:
      description: {mustSupport: true, index: 13}
      relatedAction:
        mustSupport: true
        array: true
        index: 25
        elements:
          actionId: {mustSupport: true, index: 26}
          relationship: {mustSupport: true, index: 27}
          offsetDuration: {mustSupport: true, index: 28}
        required: [actionId, relationship]
      output:
        mustSupport: true
        array: true
        index: 23
        elements:
          type: {mustSupport: true, index: 24}
        required: [type]
      timingDuration: {type: Duration, mustSupport: true, choiceOf: timing, index: 31}
      condition:
        mustSupport: true
        array: true
        index: 18
        elements:
          kind: {mustSupport: true, index: 19}
          expression: {mustSupport: true, index: 20}
        required: [kind]
      timing:
        mustSupport: true
        choices: [timingDuration]
        index: 30
      code:
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/ph-library/ValueSet/us-ph-plandefinition-action'}
        mustSupport: true
        index: 14
      input:
        mustSupport: true
        array: true
        index: 21
        elements:
          type: {mustSupport: true, index: 22}
        required: [type]
      trigger:
        mustSupport: true
        array: true
        index: 15
        extensions:
          namedEventType:
            url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-named-eventtype-extension
            min: 0
            max: 1
            type: Extension
            binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/ph-library/ValueSet/us-ph-triggerdefinition-namedevent'}
            mustSupport: true
            index: 16
        elements:
          extension:
            type: Extension
            binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/ph-library/ValueSet/us-ph-triggerdefinition-namedevent'}
            mustSupport: true
            url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-named-eventtype-extension
            index: 16
            slicing:
              slices:
                namedEventType:
                  match: {}
                  schema:
                    type: Extension
                    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/ph-library/ValueSet/us-ph-triggerdefinition-namedevent'}
                    mustSupport: true
                    url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-named-eventtype-extension
                    index: 16
                  min: 0
                  max: 1
          type:
            type: code
            pattern: {type: code, value: named-event}
            mustSupport: true
            index: 17
        required: [type]
  version: {short: Business version of the PlanDefinition, mustSupport: true, index: 1}
  subject:
    mustSupport: true
    choices: []
    index: 6
  effectivePeriod:
    short: When the PlanDefinition is valid
    mustSupport: true
    index: 9
    elements:
      start: {short: The start of the time period when this PlanDefinition goes into effect, index: 10}
    required: [start]
package_version: library-1.0.0-ballot
extensions:
  receiverAddress: {url: 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-receiver-address-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 0}
class: profile
kind: resource
url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-plandefinition
base: http://hl7.org/fhir/StructureDefinition/shareableplandefinition
version: 1.0.0-ballot
required: [date, name, title, type, version]