PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-regInfo
description: info about the registration.
package_name: sfm.030521
derivation: constraint
name: SfmRegInfo
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        type:
          match: {url: type}
          schema:
            short: Type of action that the user performed
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: type}
                index: 2
              value:
                choices: [valueCodeableConcept]
                index: 4
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5}
              value[x]:
                elements:
                  coding:
                    binding: {strength: extensible, valueSet: 'http://ehelse.no/fhir/CodeSystem/sfm-performer-roles'}
                    index: 6
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/sfm-performer-roles'}
                        index: 7
        provider:
          match: {url: provider}
          schema:
            short: A person/organization with rights to perform actions
            _required: true
            index: 8
            elements:
              url:
                pattern: {type: Uri, value: provider}
                index: 9
              value:
                choices: [valueReference]
                index: 11
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['https://ehelse.no/StructureDefinition/sfm-Organization', 'https://ehelse.no/StructureDefinition/sfm-Practitioner']
                index: 12
        timestamp:
          match: {url: timestamp}
          schema:
            short: Time of the registration
            index: 13
            elements:
              url:
                pattern: {type: Uri, value: timestamp}
                index: 14
              value:
                choices: [valueDateTime]
                index: 16
              valueDateTime: {type: dateTime, choiceOf: value, index: 17}
        status:
          match: {url: status}
          schema:
            short: registration status
            _required: true
            index: 18
            elements:
              url:
                pattern: {type: Uri, value: status}
                index: 19
              value:
                choices: [valueCodeableConcept]
                index: 21
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 22}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/sfm-medicationstatement-registration-status'}
                        index: 23
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/sfm-regInfo'}
    index: 24
  value:
    choices: []
    index: 26
package_version: 1.0.1
extensions:
  type:
    url: type
    short: Type of action that the user performed
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: type}
        index: 2
      value:
        choices: [valueCodeableConcept]
        index: 4
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5}
      value[x]:
        elements:
          coding:
            binding: {strength: extensible, valueSet: 'http://ehelse.no/fhir/CodeSystem/sfm-performer-roles'}
            index: 6
            elements:
              system:
                pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/sfm-performer-roles'}
                index: 7
  provider:
    url: provider
    short: A person/organization with rights to perform actions
    _required: true
    index: 8
    elements:
      url:
        pattern: {type: Uri, value: provider}
        index: 9
      value:
        choices: [valueReference]
        index: 11
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['https://ehelse.no/StructureDefinition/sfm-Organization', 'https://ehelse.no/StructureDefinition/sfm-Practitioner']
        index: 12
  timestamp:
    url: timestamp
    short: Time of the registration
    index: 13
    elements:
      url:
        pattern: {type: Uri, value: timestamp}
        index: 14
      value:
        choices: [valueDateTime]
        index: 16
      valueDateTime: {type: dateTime, choiceOf: value, index: 17}
  status:
    url: status
    short: registration status
    _required: true
    index: 18
    elements:
      url:
        pattern: {type: Uri, value: status}
        index: 19
      value:
        choices: [valueCodeableConcept]
        index: 21
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 22}
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/sfm-medicationstatement-registration-status'}
                index: 23
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/sfm-regInfo
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '1.0'