PackagesCanonicalsLogsProblems
    Packages
    hsg.asg-well@1.0.11
    http://ihis.sg/extension/effective-period
description: null
package_name: hsg.asg-well
derivation: constraint
name: extension-Location-effectivePeriod
type: Extension
elements:
  id: {index: 0}
  extension: {index: 1}
  url:
    pattern: {type: Uri, value: 'http://ihis.sg/extension/effective-period'}
    index: 2
  value:
    choices: []
    index: 4
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        valuePeriod:
          match: {}
          schema:
            short: n/a
            choices: [valuePeriod]
            _required: true
            index: 6
          min: 1
  valuePeriod:
    type: Period
    short: n/a
    choiceOf: value
    index: 7
    slicing:
      slices:
        valuePeriod:
          match: {}
          schema: {type: Period, short: n/a, choiceOf: value, _required: true, index: 7}
          min: 1
  value[x]:
    elements:
      id: {index: 8}
      start:
        short: n/a
        constraint:
          effective-period-start-constraint: {human: 'start date must be in format: yyyy-mm-dd', severity: error, expression: '$this.toString().matches(''^([1-9][0-9][0-9][0-9])(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])))$'')'}
        index: 9
      end:
        short: n/a
        constraint:
          effective-period-end-constraint: {human: 'Period end should be in format: yyyy-mm-dd', severity: error, expression: '$this.toString().matches(''^([1-9][0-9][0-9][0-9])(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])))$'')'}
        meaningWhenMissing: n/a
        index: 10
    required: [start]
package_version: 1.0.11
extensions: {}
class: extension
kind: complex-type
url: http://ihis.sg/extension/effective-period
base: http://hl7.org/fhir/StructureDefinition/Extension
version: null
required: [valuePeriod, value]