PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata@2.2.1
    http://hl7.org/fhir/StructureDefinition/patient-citizenship
description: The patient's legal status as citizen of a country.
package_name: ehelse.fhir.no.grunndata
derivation: constraint
name: PatientCitizenship
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        code:
          match: {url: code}
          schema:
            short: Nation code of citizenship
            index: 1
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: code}
                index: 2
              valueCodeableConcept:
                type: CodeableConcept
                index: 3
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, index: 3}
        period:
          match: {url: period}
          schema:
            short: Time period of citizenship
            index: 4
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: period}
                index: 5
              valuePeriod:
                type: Period
                index: 6
                slicing:
                  slices:
                    valuePeriod:
                      match: {}
                      schema: {type: Period, index: 6}
  url:
    type: uri
    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/patient-citizenship'}
    index: 7
  value:
    choices: []
    index: 9
package_version: 2.2.1
extensions:
  code:
    url: code
    short: Nation code of citizenship
    index: 1
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: code}
        index: 2
      valueCodeableConcept:
        type: CodeableConcept
        index: 3
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, index: 3}
  period:
    url: period
    short: Time period of citizenship
    index: 4
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: period}
        index: 5
      valuePeriod:
        type: Period
        index: 6
        slicing:
          slices:
            valuePeriod:
              match: {}
              schema: {type: Period, index: 6}
class: extension
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/patient-citizenship
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 4.0.0