PackagesCanonicalsLogsProblems
    Packages
    servicewell.fhir.wof-portal@1.0.0
    https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/offer-portal
description: '**OfferPortal** represents a bookable offering in a specific context.\n\nIt answers the question: _“Which service can be booked, by whom, and where — and what are the booking-facing settings in that context?”_\n'
package_name: servicewell.fhir.wof-portal
derivation: constraint
name: OfferPortal
type: Parameters
elements:
  meta:
    elements:
      versionId: {short: Server-managed resource version, mustSupport: true, index: 0}
      profile: {short: Profile declaration for this portal resource, mustSupport: true, index: 1}
    required: [profile]
  parameter:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: name, type: value}
      min: 1
      slices:
        offering:
          match: {name: offering}
          schema:
            _required: true
            index: 3
            elements:
              name:
                pattern: {type: String, value: offering}
                index: 4
              part:
                array: true
                min: 4
                index: 5
                slicing:
                  rules: open
                  discriminator:
                  - {path: name, type: value}
                  min: 4
                  slices:
                    activityDefinition:
                      match: {name: activityDefinition}
                      schema:
                        type: BackboneElement
                        _required: true
                        index: 6
                        elements:
                          name:
                            pattern: {type: String, value: activityDefinition}
                            index: 7
                          value:
                            choices: [valueReference]
                            index: 9
                          valueReference:
                            type: Reference
                            choiceOf: value
                            refers: ['https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/activity-definition-portal']
                            index: 10
                    healthcareService:
                      match: {name: healthcareService}
                      schema:
                        type: BackboneElement
                        _required: true
                        index: 11
                        elements:
                          name:
                            pattern: {type: String, value: healthcareService}
                            index: 12
                          value:
                            choices: [valueReference]
                            index: 14
                          valueReference:
                            type: Reference
                            choiceOf: value
                            refers: ['https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/healthcare-service-portal']
                            index: 15
                    practitionerRole:
                      match: {name: practitionerRole}
                      schema:
                        type: BackboneElement
                        _required: true
                        index: 16
                        elements:
                          name:
                            pattern: {type: String, value: practitionerRole}
                            index: 17
                          value:
                            choices: [valueReference]
                            index: 19
                          valueReference:
                            type: Reference
                            choiceOf: value
                            refers: ['https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/practitioner-role-portal']
                            index: 20
                    duration:
                      match: {name: duration}
                      schema:
                        type: BackboneElement
                        index: 21
                        elements:
                          name:
                            pattern: {type: String, value: duration}
                            index: 22
                          value:
                            choices: [valueString]
                            index: 24
                          valueString: {type: string, choiceOf: value, index: 25}
                    price:
                      match: {name: price}
                      schema:
                        type: BackboneElement
                        index: 26
                        elements:
                          name:
                            pattern: {type: String, value: price}
                            index: 27
                          value:
                            choices: [valueString]
                            index: 29
                          valueString: {type: string, choiceOf: value, index: 30}
                    bookingUrl:
                      match: {name: bookingUrl}
                      schema:
                        type: BackboneElement
                        index: 31
                        elements:
                          name:
                            pattern: {type: String, value: bookingUrl}
                            index: 32
                          value:
                            choices: [valueUrl]
                            index: 34
                          valueUrl: {type: url, choiceOf: value, index: 35}
                    isOnline:
                      match: {name: isOnline}
                      schema:
                        type: BackboneElement
                        _required: true
                        index: 36
                        elements:
                          name:
                            pattern: {type: String, value: isOnline}
                            index: 37
                          value:
                            choices: [valueBoolean]
                            index: 39
                          valueBoolean: {type: boolean, choiceOf: value, index: 40}
                    offlineReason:
                      match: {name: offlineReason}
                      schema:
                        type: BackboneElement
                        index: 41
                        elements:
                          name:
                            pattern: {type: String, value: offlineReason}
                            index: 42
                          value:
                            choices: [valueString]
                            index: 44
                          valueString: {type: string, choiceOf: value, index: 45}
package_version: 1.0.0
class: profile
kind: resource
url: https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/offer-portal
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 1.0.0
required: [parameter]