PackagesCanonicalsLogsProblems
    Packages
    devdays.letsbuildafhirspec.simplifier@0.0.3-devdaysus2021
    http://ardon.nl/fhir/StructureDefinition/InclusionStatus
description: Extension that holds the Clinical study Inclusion Status for Hospital X patient.
package_name: devdays.letsbuildafhirspec.simplifier
derivation: constraint
name: HospitalXPatientInclusionStatus
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        clinicalTrialNumber:
          match: {url: clinicalTrialNumber}
          schema:
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: clinicalTrialNumber}
                index: 2
              value:
                choices: [valueIdentifier]
                index: 4
              valueIdentifier: {type: Identifier, choiceOf: value, index: 5}
              value[x]:
                elements:
                  system: {index: 6}
                  value: {index: 7}
                required: [value, system]
        periodOfInvolvement:
          match: {url: periodOfInvolvement}
          schema:
            index: 8
            elements:
              url:
                pattern: {type: Uri, value: periodOfInvolvement}
                index: 9
              value:
                choices: [valuePeriod]
                index: 11
              valuePeriod: {type: Period, choiceOf: value, index: 12}
        inclusionStatus:
          match: {url: inclusionStatus}
          schema:
            index: 13
            elements:
              url:
                pattern: {type: Uri, value: inclusionStatus}
                index: 14
              value:
                choices: [valueCodeableConcept]
                index: 16
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 17}
  url:
    pattern: {type: Uri, value: 'http://ardon.nl/fhir/StructureDefinition/InclusionStatus-step2'}
    index: 18
  value:
    choices: []
    index: 20
package_version: 0.0.3-devdaysus2021
extensions:
  clinicalTrialNumber:
    url: clinicalTrialNumber
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: clinicalTrialNumber}
        index: 2
      value:
        choices: [valueIdentifier]
        index: 4
      valueIdentifier: {type: Identifier, choiceOf: value, index: 5}
      value[x]:
        elements:
          system: {index: 6}
          value: {index: 7}
        required: [value, system]
  periodOfInvolvement:
    url: periodOfInvolvement
    index: 8
    elements:
      url:
        pattern: {type: Uri, value: periodOfInvolvement}
        index: 9
      value:
        choices: [valuePeriod]
        index: 11
      valuePeriod: {type: Period, choiceOf: value, index: 12}
  inclusionStatus:
    url: inclusionStatus
    index: 13
    elements:
      url:
        pattern: {type: Uri, value: inclusionStatus}
        index: 14
      value:
        choices: [valueCodeableConcept]
        index: 16
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 17}
class: extension
kind: complex-type
url: http://ardon.nl/fhir/StructureDefinition/InclusionStatus
base: http://hl7.org/fhir/StructureDefinition/Extension
version: null