PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-patientrelation
description: Information about related health care profesionals and institutions.
package_name: sfm.030521
derivation: constraint
name: SfmPatientRelation
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        practionerRelation:
          match: {url: practionerRelation}
          schema:
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: practionerRelation}
                index: 2
              value:
                choices: [valueReference]
                index: 4
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-Practitioner']
                index: 5
        organisationRelation:
          match: {url: organisationRelation}
          schema:
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: organisationRelation}
                index: 7
              value:
                choices: [valueReference]
                index: 9
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-Organization']
                index: 10
        relationtype:
          match: {url: relationtype}
          schema:
            _required: true
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: relationtype}
                index: 12
              value:
                choices: [valueCodeableConcept]
                index: 14
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 15}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7490'}
                        index: 16
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/sfm-patientrelation'}
    index: 17
  value:
    choices: []
    index: 19
package_version: 1.0.1
extensions:
  practionerRelation:
    url: practionerRelation
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: practionerRelation}
        index: 2
      value:
        choices: [valueReference]
        index: 4
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-Practitioner']
        index: 5
  organisationRelation:
    url: organisationRelation
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: organisationRelation}
        index: 7
      value:
        choices: [valueReference]
        index: 9
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-Organization']
        index: 10
  relationtype:
    url: relationtype
    _required: true
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: relationtype}
        index: 12
      value:
        choices: [valueCodeableConcept]
        index: 14
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 15}
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7490'}
                index: 16
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/sfm-patientrelation
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '1.0'