PackagesCanonicalsLogsProblems
    Packages
    HL7Norway.STU3.no.basis@1.0.2
    http://hl7.no/fhir/StructureDefinition/no-basis-Patient
description: Basisprofil for Norwegian Patient information. Defined by The Norwegian Directorate of eHealth and HL7 Norway. Should be used as a basis for further profiling in use-cases where specific identity information is needed. The basis profile is open, but derived profiles should close down the information elements according to specification relevant to the use-case.
package_name: HL7Norway.STU3.no.basis
derivation: constraint
name: no-basis-Patient
type: Patient
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        urbanDistrict:
          match: {url: null}
          schema:
            type: Extension
            short: The urban district
            url: h
            index: 1
            elements:
              valueCoding:
                elements:
                  system: {index: 2}
                  code: {short: Urban district code, index: 3}
                  display: {index: 4}
        nationality:
          match: {url: null}
          schema:
            type: Extension
            short: The Nationality of the patient
            url: h
            index: 5
            extensions:
              code:
                url: null
                index: 6
                elements:
                  valueCodeableConcept:
                    index: 7
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {index: 7}
              period:
                url: null
                index: 8
                elements:
                  valuePeriod:
                    index: 9
                    slicing:
                      slices:
                        valuePeriod:
                          match: {}
                          schema: {index: 9}
            elements:
              extension:
                index: 6
                slicing:
                  slices:
                    code:
                      match: {}
                      schema:
                        index: 6
                        elements:
                          valueCodeableConcept:
                            index: 7
                            slicing:
                              slices:
                                valueCodeableConcept:
                                  match: {}
                                  schema: {index: 7}
                    period:
                      match: {}
                      schema:
                        index: 8
                        elements:
                          valuePeriod:
                            index: 9
                            slicing:
                              slices:
                                valuePeriod:
                                  match: {}
                                  schema: {index: 9}
  identifier:
    short: Identifier for this patient
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        FNR:
          match: {system: 'urn:oid:2.16.578.1.12.4.1.4.1'}
          schema:
            short: Norwegian FNR
            index: 11
            elements:
              system:
                short: Identification of the Norwegian FNR
                pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.4.1'}
                index: 12
              value: {short: The actual Fødselsnummer, index: 13}
            required: [value, system]
        FHN:
          match: {system: 'urn:oid:2.16.578.1.12.4.1.4.3'}
          schema:
            short: Felles hjelpenummer used for the patient
            index: 14
            elements:
              system:
                short: Identification of the Norwegian felles hjelpenummer
                pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.4.3'}
                index: 15
              value: {short: The actual Hjelpenummer, index: 16}
            required: [value, system]
        DNR:
          match: {system: 'urn:oid:2.16.578.1.12.4.1.4.2'}
          schema:
            short: The D-nummer of the patient
            index: 17
            elements:
              system:
                short: The identification of the D-nummer
                pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.4.2'}
                index: 18
              value: {short: The actual D-nummer, index: 19}
            required: [value, system]
        HNR:
          match: {system: HNR}
          schema:
            short: A locally assigned H-nummer
            index: 20
            elements:
              type:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.8327'}
                        index: 21
                      code:
                        pattern: {type: Code, value: HNR}
                        index: 22
                    required: [system, code]
              system:
                pattern: {type: Uri, value: HNR}
                index: 23
              value: {index: 24}
              assigner: {index: 25}
            required: [assigner, value]
  name: {type: HumanName, index: 26}
  address: {type: Address, short: Norwegian address, index: 27}
  contact:
    elements:
      name: {type: HumanName, index: 28}
      address: {type: Address, index: 29}
package_version: 1.0.2
extensions:
  urbanDistrict:
    url: h
    type: Extension
    short: The urban district
    index: 1
    elements:
      valueCoding:
        elements:
          system: {index: 2}
          code: {short: Urban district code, index: 3}
          display: {index: 4}
  nationality:
    url: h
    type: Extension
    short: The Nationality of the patient
    index: 5
    extensions:
      code:
        url: null
        index: 6
        elements:
          valueCodeableConcept:
            index: 7
            slicing:
              slices:
                valueCodeableConcept:
                  match: {}
                  schema: {index: 7}
      period:
        url: null
        index: 8
        elements:
          valuePeriod:
            index: 9
            slicing:
              slices:
                valuePeriod:
                  match: {}
                  schema: {index: 9}
    elements:
      extension:
        index: 6
        slicing:
          slices:
            code:
              match: {}
              schema:
                index: 6
                elements:
                  valueCodeableConcept:
                    index: 7
                    slicing:
                      slices:
                        valueCodeableConcept:
                          match: {}
                          schema: {index: 7}
            period:
              match: {}
              schema:
                index: 8
                elements:
                  valuePeriod:
                    index: 9
                    slicing:
                      slices:
                        valuePeriod:
                          match: {}
                          schema: {index: 9}
class: profile
kind: resource
url: http://hl7.no/fhir/StructureDefinition/no-basis-Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: '1.0'