be-model-eagreement
type: StructureDefinition
node role: treeRoot
id:
  v: be-model-eagreement
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition be-model-eagreement Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> be-model-eagreement 0..* Element BeModelEAgreement Elements defined in Ancestors:@id, <a href="http://hl7.org/fhir/R4/datatypes.html#Element" title="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.">extension #xD; serviceProvider 0..1 Identifier NIHDI number of the service provider making the request #xD; patient 1..1 Identifier Patient identification #xD; eAgreementType 1..1 CodeableConcept Identification of the type of agreement (ex: Fb). A general type "physiotherapist" is applicable for the consultation #xD; decisionId 0..1 Identifier Identifier of the decision communicated by the insurer organization (included in the consultation flow) #xD; desiredStartDate 0..1 dateTime Desired agreement start date, corresponding to the processing start date (dd/mm/yyyy) #xD; pathologyOnsetDate 0..1 dateTime Estimated date of onset of pathology (dd/mm/yyyy) #xD; assessmentCompletionDates 0..5 dateTime Date(s) of completion of the assessment (1 to 5 for an ask and 1 for an extend) to be communicated in case of a treatment request #xD; pathologicalSituation 0..1 CodeableConcept Coding of the pathological situation referring to existing notification/request forms (e.g.: Fb-51) #xD; notes 0..1 Annotation Free text for any additional information #xD; prescription 0..1 BackboneElement Data of the prescription concerned by the request #xD; identification 0..1 Identifier UHMEP identifier of the referral prescription #xD; prescriber 1..1 Identifier NIHDI number of the prescriber #xD; aut…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: fhir
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 1
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Canonical
        v: https://www.ehealth.fgov.be/standards/fhir/mycarenet/ImplementationGuide/hl7.fhir.be.mycarenet
        l: hl7.fhir.be.mycarenet
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: trial-use
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Canonical
        v: https://www.ehealth.fgov.be/standards/fhir/mycarenet/ImplementationGuide/hl7.fhir.be.mycarenet
        l: hl7.fhir.be.mycarenet
url:
  v: https://www.ehealth.fgov.be/standards/fhir/mycarenet/StructureDefinition/be-model-eagreement
  l: be-model-eagreement
version:
  v: 2.2.0
name:
  v: BeModelEAgreement
status:
  v: active
date:
  v: 2026-04-24T17:02:20+02:00
publisher:
  v: eHealth Platform
contact:
  name:
    v: eHealth Platform
  telecom:
    system:
      v: url
    value:
      v: http://www.ehealth.fgov.be/
  telecom:
    system:
      v: email
contact:
  name:
    v: Message Structure
  telecom:
    system:
      v: email
    use:
      v: work
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: BE
    display:
      v: Belgium
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: https://www.ehealth.fgov.be/standards/fhir/mycarenet/StructureDefinition/be-model-eagreement
  l: be-model-eagreement
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Element
  l: Element
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: be-model-eagreement
    path:
      v: be-model-eagreement
    short:
      v: BeModelEAgreement
    definition:
      v: BeModelEAgreement
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Element
      min:
        v: 0
      max:
        v: *
    condition:
      v: ele-1
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: be-model-eagreement.id
    path:
      v: be-model-eagreement.id
    representation:
      v: xmlAttr
    short:
      v: Unique id for inter-element referencing
    definition:
      v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1
    type:
      extension:
        value: Url
      code:
        v: http://hl7.org/fhirpath/System.String
        l: System.String
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: be-model-eagreement.extension
    path:
      v: be-model-eagreement.extension
    slicing:
      description:
        v: Extensions are always sliced by (at least) url
      rules:
        v: open

Url
v: string
l: string

v: value

v: url

v: Additional content defined by implementations

v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

v: extensions

v: user content

v: 0

v: *

path:
  v: Element.extension
min:
  v: 0
max:
  v: *

code:
  v: Extension
  l: Extension

key:
  v: ele-1
severity:
  v: error
human:
  v: All FHIR elements must have a @value or children
expression:
  v: hasValue() or (children().count() > id.count())
xpath:
  v: @value|f:*|h:div
source:
  v: http://hl7.org/fhir/StructureDefinition/Element
  l: Element

key:
  v: ext-1
severity:
  v: error
human:
  v: Must have either extensions or value[x], not both
expression:
  v: extension.exists() != value.exists()
xpath:
  v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
source:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  l: Extension

v: false

v: false

identity:
  v: rim
map:
  v: n/a

id:
  v: be-model-eagreement.serviceProvider
path:
  v: be-model-eagreement.serviceProvider
short:
  v: NIHDI number of the service provider making the request
definition:
  v: NIHDI number of the service provider making the request
min:
  v: 0
max:
  v: 1
base:
  path:
    v: be-model-eagreement.serviceProvider
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: be-model-eagreement.patient
path:
  v: be-model-eagreement.patient
short:
  v: Patient identification
definition:
  v: Patient identification
min:
  v: 1
max:
  v: 1
base:
  path:
    v: be-model-eagreement.patient
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: be-model-eagreement.eAgreementType
path:
  v: be-model-eagreement.eAgreementType
short:
  v: Identification of the type of agreement (ex: Fb). A general type "physiotherapist" is applicable for the consultation
definition:
  v: Identification of the type of agreement (ex: Fb). A general type "physiotherapist" is applicable for the consultation
min:
  v: 1
max:
  v: 1
base:
  path:
    v: be-model-eagreement.eAgreementType
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: be-model-eagreement.decisionId
path:
  v: be-model-eagreement.decisionId
short:
  v: Identifier of the decision communicated by the insurer organization (included in the consultation flow)
definition:
  v: Identifier of the decision communicated by the insurer organization (included in the consultation flow)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: be-model-eagreement.decisionId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: be-model-eagreement.desiredStartDate
path:
  v: be-model-eagreement.desiredStartDate
short:
  v: Desired agreement start date, corresponding to the processing start date (dd/mm/yyyy)
definition:
  v: Desired agreement start date, corresponding to the processing start date (dd/mm/yyyy)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: be-model-eagreement.desiredStartDate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: be-model-eagreement.pathologyOnsetDate
path:
  v: be-model-eagreement.pathologyOnsetDate
short:
  v: Estimated date of onset of pathology (dd/mm/yyyy)
definition:
  v: Estimated date of onset of pathology (dd/mm/yyyy)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: be-model-eagreement.pathologyOnsetDate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: be-model-eagreement.assessmentCompletionDates
path:
  v: be-model-eagreement.assessmentCompletionDates
short:
  v: Date(s) of completion of the assessment (1 to 5 for an ask and 1 for an extend) to be communicated in case of a treatment request
definition:
  v: Date(s) of completion of the assessment (1 to 5 for an ask and 1 for an extend) to be communicated in case of a treatment request
min:
  v: 0
max:
  v: 5
base:
  path:
    v: be-model-eagreement.assessmentCompletionDates
  min:
    v: 0
  max:
    v: 5
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: be-model-eagreement.pathologicalSituation
path:
  v: be-model-eagreement.pathologicalSituation
short:
  v: Coding of the pathological situation referring to existing notification/request forms (e.g.: Fb-51)
definition:
  v: Coding of the pathological situation referring to existing notification/request forms (e.g.: Fb-51)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: be-model-eagreement.pathologicalSituation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: be-model-eagreement.notes
path:
  v: be-model-eagreement.notes
short:
  v: Free text for any additional information
definition:
  v: Free text for any additional information
min:
  v: 0
max:
  v: 1
base:
  path:
    v: be-model-eagreement.notes
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Annotation
    l: Annotation

id:
  v: be-model-eagreement.prescription
path:
  v: be-model-eagreement.prescription
short:
  v: Data of the prescription concerned by the request
definition:
  v: Data of the prescription concerned by the request
min:
  v: 0
max:
  v: 1
base:
  path:
    v: be-model-eagreement.prescription
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: be-model-eagreement.prescription.id
path:
  v: be-model-eagreement.prescription.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: be-model-eagreement.prescription.extension
path:
  v: be-model-eagreement.prescription.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: be-model-eagreement.prescription.modifierExtension
path:
  v: be-model-eagreement.prescription.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: be-model-eagreement.prescription.identification
path:
  v: be-model-eagreement.prescription.identification
short:
  v: UHMEP identifier of the referral prescription
definition:
  v: UHMEP identifier of the referral prescription
min:
  v: 0
max:
  v: 1
base:
  path:
    v: be-model-eagreement.prescription.identification
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: be-model-eagreement.prescription.prescriber
path:
  v: be-model-eagreement.prescription.prescriber
short:
  v: NIHDI number of the prescriber
definition:
  v: NIHDI number of the prescriber
min:
  v: 1
max:
  v: 1
base:
  path:
    v: be-model-eagreement.prescription.prescriber
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: be-model-eagreement.prescription.authoredOn
path:
  v: be-model-eagreement.prescription.authoredOn
short:
  v: Prescription date
definition:
  v: Prescription date
min:
  v: 1
max:
  v: 1
base:
  path:
    v: be-model-eagreement.prescription.authoredOn
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: be-model-eagreement.prescription.quantity
path:
  v: be-model-eagreement.prescription.quantity
short:
  v: Number of sessions prescribed
definition:
  v: Number of sessions prescribed
min:
  v: 1
max:
  v: 1
base:
  path:
    v: be-model-eagreement.prescription.quantity
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: positiveInt
    l: positiveInt

id:
  v: be-model-eagreement.prescription.scan
path:
  v: be-model-eagreement.prescription.scan
short:
  v: Electronic copy of the prescription
definition:
  v: Electronic copy of the prescription
min:
  v: 0
max:
  v: 1
base:
  path:
    v: be-model-eagreement.prescription.scan
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Binary
    l: Binary

id:
  v: be-model-eagreement.related
path:
  v: be-model-eagreement.related
short:
  v: Prescription of a previous pathology
definition:
  v: Prescription of a previous pathology
min:
  v: 0
max:
  v: 1
base:
  path:
    v: be-model-eagreement.related
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: be-model-eagreement.related.id
path:
  v: be-model-eagreement.related.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: be-model-eagreement.related.extension
path:
  v: be-model-eagreement.related.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: be-model-eagreement.related.modifierExtension
path:
  v: be-model-eagreement.related.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: be-model-eagreement.related.identification
path:
  v: be-model-eagreement.related.identification
short:
  v: UHMEP identifier of the referral prescription
definition:
  v: UHMEP identifier of the referral prescription
min:
  v: 0
max:
  v: 1
base:
  path:
    v: be-model-eagreement.related.identification
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: be-model-eagreement.related.prescriber
path:
  v: be-model-eagreement.related.prescriber
short:
  v: NIHDI number of the prescriber
definition:
  v: NIHDI number of the prescriber
min:
  v: 1
max:
  v: 1
base:
  path:
    v: be-model-eagreement.related.prescriber
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: be-model-eagreement.related.authoredOn
path:
  v: be-model-eagreement.related.authoredOn
short:
  v: Prescription date
definition:
  v: Prescription date
min:
  v: 1
max:
  v: 1
base:
  path:
    v: be-model-eagreement.related.authoredOn
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: be-model-eagreement.related.quantity
path:
  v: be-model-eagreement.related.quantity
short:
  v: Number of sessions prescribed
definition:
  v: Number of sessions prescribed
min:
  v: 1
max:
  v: 1
base:
  path:
    v: be-model-eagreement.related.quantity
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: positiveInt
    l: positiveInt

id:
  v: be-model-eagreement.related.scan
path:
  v: be-model-eagreement.related.scan
short:
  v: Electronic copy of the prescription
definition:
  v: Electronic copy of the prescription
min:
  v: 0
max:
  v: 1
base:
  path:
    v: be-model-eagreement.related.scan
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Binary
    l: Binary

id:
  v: be-model-eagreement.attachment
path:
  v: be-model-eagreement.attachment
short:
  v: Other possible appendix
definition:
  v: Other possible appendix
min:
  v: 0
max:
  v: *
base:
  path:
    v: be-model-eagreement.attachment
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: be-model-eagreement.attachment.id
path:
  v: be-model-eagreement.attachment.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: be-model-eagreement.attachment.extension
path:
  v: be-model-eagreement.attachment.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: be-model-eagreement.attachment.modifierExtension
path:
  v: be-model-eagreement.attachment.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: be-model-eagreement.attachment.kind
path:
  v: be-model-eagreement.attachment.kind
short:
  v: Type of content (medical report, …)
definition:
  v: Type of content (medical report, …)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: be-model-eagreement.attachment.kind
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: be-model-eagreement.attachment.title
path:
  v: be-model-eagreement.attachment.title
short:
  v: Free text allowing a more precise description of the subject of the appendix (recommended)
definition:
  v: Free text allowing a more precise description of the subject of the appendix (recommended)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: be-model-eagreement.attachment.title
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: be-model-eagreement.attachment.scan
path:
  v: be-model-eagreement.attachment.scan
short:
  v: Electronic copy
definition:
  v: Electronic copy
min:
  v: 1
max:
  v: 1
base:
  path:
    v: be-model-eagreement.attachment.scan
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Binary
    l: Binary

element:
  id:
    v: be-model-eagreement
  path:
    v: be-model-eagreement
  short:
    v: BeModelEAgreement
  definition:
    v: BeModelEAgreement
element:
  id:
    v: be-model-eagreement.serviceProvider
  path:
    v: be-model-eagreement.serviceProvider
  short:
    v: NIHDI number of the service provider making the request
  definition:
    v: NIHDI number of the service provider making the request
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
element:
  id:
    v: be-model-eagreement.patient
  path:
    v: be-model-eagreement.patient
  short:
    v: Patient identification
  definition:
    v: Patient identification
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
element:
  id:
    v: be-model-eagreement.eAgreementType
  path:
    v: be-model-eagreement.eAgreementType
  short:
    v: Identification of the type of agreement (ex: Fb). A general type "physiotherapist" is applicable for the consultation
  definition:
    v: Identification of the type of agreement (ex: Fb). A general type "physiotherapist" is applicable for the consultation
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
element:
  id:
    v: be-model-eagreement.decisionId
  path:
    v: be-model-eagreement.decisionId
  short:
    v: Identifier of the decision communicated by the insurer organization (included in the consultation flow)
  definition:
    v: Identifier of the decision communicated by the insurer organization (included in the consultation flow)
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
element:
  id:
    v: be-model-eagreement.desiredStartDate
  path:
    v: be-model-eagreement.desiredStartDate
  short:
    v: Desired agreement start date, corresponding to the processing start date (dd/mm/yyyy)
  definition:
    v: Desired agreement start date, corresponding to the processing start date (dd/mm/yyyy)
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: be-model-eagreement.pathologyOnsetDate
  path:
    v: be-model-eagreement.pathologyOnsetDate
  short:
    v: Estimated date of onset of pathology (dd/mm/yyyy)
  definition:
    v: Estimated date of onset of pathology (dd/mm/yyyy)
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: be-model-eagreement.assessmentCompletionDates
  path:
    v: be-model-eagreement.assessmentCompletionDates
  short:
    v: Date(s) of completion of the assessment (1 to 5 for an ask and 1 for an extend) to be communicated in case of a treatment request
  definition:
    v: Date(s) of completion of the assessment (1 to 5 for an ask and 1 for an extend) to be communicated in case of a treatment request
  min:
    v: 0
  max:
    v: 5
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: be-model-eagreement.pathologicalSituation
  path:
    v: be-model-eagreement.pathologicalSituation
  short:
    v: Coding of the pathological situation referring to existing notification/request forms (e.g.: Fb-51)
  definition:
    v: Coding of the pathological situation referring to existing notification/request forms (e.g.: Fb-51)
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
element:
  id:
    v: be-model-eagreement.notes
  path:
    v: be-model-eagreement.notes
  short:
    v: Free text for any additional information
  definition:
    v: Free text for any additional information
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Annotation
      l: Annotation
element:
  id:
    v: be-model-eagreement.prescription
  path:
    v: be-model-eagreement.prescription
  short:
    v: Data of the prescription concerned by the request
  definition:
    v: Data of the prescription concerned by the request
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: be-model-eagreement.prescription.identification
  path:
    v: be-model-eagreement.prescription.identification
  short:
    v: UHMEP identifier of the referral prescription
  definition:
    v: UHMEP identifier of the referral prescription
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
element:
  id:
    v: be-model-eagreement.prescription.prescriber
  path:
    v: be-model-eagreement.prescription.prescriber

v: NIHDI number of the prescriber

v: NIHDI number of the prescriber

v: 1

v: 1

code:
  v: Identifier
  l: Identifier

id:
  v: be-model-eagreement.prescription.authoredOn
path:
  v: be-model-eagreement.prescription.authoredOn
short:
  v: Prescription date
definition:
  v: Prescription date
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: be-model-eagreement.prescription.quantity
path:
  v: be-model-eagreement.prescription.quantity
short:
  v: Number of sessions prescribed
definition:
  v: Number of sessions prescribed
min:
  v: 1
max:
  v: 1
type:
  code:
    v: positiveInt
    l: positiveInt

id:
  v: be-model-eagreement.prescription.scan
path:
  v: be-model-eagreement.prescription.scan
short:
  v: Electronic copy of the prescription
definition:
  v: Electronic copy of the prescription
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Binary
    l: Binary

id:
  v: be-model-eagreement.related
path:
  v: be-model-eagreement.related
short:
  v: Prescription of a previous pathology
definition:
  v: Prescription of a previous pathology
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: be-model-eagreement.related.identification
path:
  v: be-model-eagreement.related.identification
short:
  v: UHMEP identifier of the referral prescription
definition:
  v: UHMEP identifier of the referral prescription
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: be-model-eagreement.related.prescriber
path:
  v: be-model-eagreement.related.prescriber
short:
  v: NIHDI number of the prescriber
definition:
  v: NIHDI number of the prescriber
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: be-model-eagreement.related.authoredOn
path:
  v: be-model-eagreement.related.authoredOn
short:
  v: Prescription date
definition:
  v: Prescription date
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: be-model-eagreement.related.quantity
path:
  v: be-model-eagreement.related.quantity
short:
  v: Number of sessions prescribed
definition:
  v: Number of sessions prescribed
min:
  v: 1
max:
  v: 1
type:
  code:
    v: positiveInt
    l: positiveInt

id:
  v: be-model-eagreement.related.scan
path:
  v: be-model-eagreement.related.scan
short:
  v: Electronic copy of the prescription
definition:
  v: Electronic copy of the prescription
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Binary
    l: Binary

id:
  v: be-model-eagreement.attachment
path:
  v: be-model-eagreement.attachment
short:
  v: Other possible appendix
definition:
  v: Other possible appendix
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: be-model-eagreement.attachment.kind
path:
  v: be-model-eagreement.attachment.kind
short:
  v: Type of content (medical report, …)
definition:
  v: Type of content (medical report, …)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: be-model-eagreement.attachment.title
path:
  v: be-model-eagreement.attachment.title
short:
  v: Free text allowing a more precise description of the subject of the appendix (recommended)
definition:
  v: Free text allowing a more precise description of the subject of the appendix (recommended)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: be-model-eagreement.attachment.scan
path:
  v: be-model-eagreement.attachment.scan
short:
  v: Electronic copy
definition:
  v: Electronic copy
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Binary
    l: Binary