referralrequest-mbsdva
type: StructureDefinition
node role: treeRoot
resource.id:
  value: referralrequest-mbsdva
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Name Flags Card. Type Description & Constraints ReferralRequest C 0..* ReferralRequest A request for referral or transfer of care inv-dh-rr-01: One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/referralrequest-mbsdva' meta 1..1 Meta Metadata about the resource profile 1..* uri Profiles this resource claims to conform to identifier S 0..* Identifier Business identifier status S 1..1 code draft | active | suspended | cancelled | completed | entered-in-error | unknown Fixed Value: completed intent S 1..1 code proposal | plan | order Fixed Value: order subject S 1..1 Reference(AU Base Patient) Patient referred to care or transfer requester S 1..1 BackboneElement Who/what is requesting service agent S 1..1 Reference(AU Base Practitioner) Individual making the request onBehalfOf S 0..1 Reference(AU Base Organisation) Organization agent is acting for specialty S 0..1 CodeableConcept The clinical specialty (discipline) that the referral is requested for Binding: https://healthterminologies.gov.au/fhir/ValueSet/anzsco-1 (extensible) Documentation for this format
structure definition.url:
  value: http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/referralrequest-mbsdva
structure definition.version:
  value: 1.0.2
structure definition.name:
  value: ADHAReferralRequestMBSDVA
structure definition.title:
  value: ADHA MBS DVA ReferralRequest
structure definition.status:
  value: active
structure definition.experimental:
  value: false
structure definition.date:
  value: 2023-04-14T04:15:22+00:00
structure definition.publisher:
  value: Australian Digital Health Agency
structure definition.contact:
  index: 0
  contact detail.telecom:
    index: 0
    contact point.system:
      value: email
structure definition.description:
  value: The purpose of this profile is to define a representation of service item claimed information, including practitioner that requested the service, in a claim against the Medicare Benefits Schedule (MBS) or Department of Veterans' Affairs (DVA) for the electronic exchange of digital health information between Medicare repositories and the My Health Record system infrastructure in Australia.
structure definition.jurisdiction:
  index: 0
  codeable concept.coding:
    index: 0
    coding.system:
      value: urn:iso:std:iso:3166
    coding.code:
      value: AU
    coding.display:
      value: Australia
structure definition.copyright:
  value: Copyright © 2022 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.
structure definition.fhir version:
  value: 3.0.2
structure definition.mapping:
  index: 0
  structure definition.mapping.identity:
    value: w5
  structure definition.mapping.uri:
    value: http://hl7.org/fhir/w5
  structure definition.mapping.name:
    value: W5 Mapping
structure definition.mapping:
  index: 1
  structure definition.mapping.identity:
    value: v2
  structure definition.mapping.uri:
    value: http://hl7.org/v2
  structure definition.mapping.name:
    value: HL7 v2 Mapping
structure definition.mapping:
  index: 2
  structure definition.mapping.identity:
    value: rim
  structure definition.mapping.uri:
    value: http://hl7.org/v3
  structure definition.mapping.name:
    value: RIM Mapping
structure definition.kind:
  value: resource
structure definition.abstract:
  value: false
structure definition.type:
  value: ReferralRequest
structure definition.base definition:
  value: http://hl7.org/fhir/StructureDefinition/ReferralRequest
structure definition.derivation:
  value: constraint
structure definition.snapshot:
  structure definition.snapshot.element:
    index: 0
    element.id:
      value: ReferralRequest
    element definition.path:
      value: ReferralRequest
    element definition.short:
      value: A request for referral or transfer of care
    element definition.definition:
      value: Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organization.
    element definition.alias:
      value: ReferralRequest TransferOfCare Request
      index: 0
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: ReferralRequest
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.constraint:
      index: 0
      element definition.constraint.key:
        value: dom-2
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      element definition.constraint.expression:
        value: contained.contained.empty()
      element definition.constraint.xpath:
        value: not(parent::f:contained and f:contained)
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 1
      element definition.constraint.key:
        value: dom-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL NOT contain any narrative
      element definition.constraint.expression:
        value: contained.text.empty()
      element definition.constraint.xpath:
        value: not(parent::f:contained and f:text)
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 2
      element definition.constraint.key:
        value: dom-4
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      element definition.constraint.expression:
        value: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      element definition.constraint.xpath:
        value: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 3
      element definition.constraint.key:
        value: dom-3
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
      element definition.constraint.expression:
        value: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
      element definition.constraint.xpath:
        value: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/DomainResource
    element definition.constraint:
      index: 4
      element definition.constraint.key:
        value: inv-dh-rr-01
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/referralrequest-mbsdva'
      element definition.constraint.expression:
        value: meta.profile.where($this='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/referralrequest-mbsdva').exists()
    element definition.mapping:
      index: 0
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: Entity. Role, or Act
    element definition.mapping:
      index: 1
      element definition.mapping.identity:
        value: w5
      element definition.mapping.map:
        value: clinical.careprovision
  structure definition.snapshot.element:
    index: 1
    element.id:
      value: ReferralRequest.id
    element definition.path:
      value: ReferralRequest.id
    element definition.short:
      value: Logical id of this artifact
    element definition.definition:
      value: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
    element definition.comment:
      value: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
    element definition.min:
      value: 0
    element definition.max:
      value: 1
    element definition.base:
      element definition.base.path:
        value: Resource.id
      element definition.base.min:
        value: 0

value: 1

index: 0
element definition.type.code:
  value: id

value: true

index: 2
element.id:
  value: ReferralRequest.meta
element definition.path:
  value: ReferralRequest.meta
element definition.short:
  value: Metadata about the resource
element definition.definition:
  value: The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.meta
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Meta
element definition.is summary:
  value: true

index: 3
element.id:
  value: ReferralRequest.meta.id
element definition.path:
  value: ReferralRequest.meta.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: xml:id (or equivalent in JSON)
element definition.definition:
  value: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 4
element.id:
  value: ReferralRequest.meta.extension
element definition.path:
  value: ReferralRequest.meta.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Additional Content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 5
element.id:
  value: ReferralRequest.meta.versionId
element definition.path:
  value: ReferralRequest.meta.versionId
element definition.short:
  value: Version specific identifier
element definition.definition:
  value: The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.
element definition.comment:
  value: The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Meta.versionId
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: id
element definition.is summary:
  value: true

index: 6
element.id:
  value: ReferralRequest.meta.lastUpdated
element definition.path:
  value: ReferralRequest.meta.lastUpdated
element definition.short:
  value: When the resource version last changed
element definition.definition:
  value: When the resource last changed - e.g. when the version changed.
element definition.comment:
  value: This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Meta.lastUpdated
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: instant
element definition.is summary:
  value: true

index: 7
element.id:
  value: ReferralRequest.meta.profile
element definition.path:
  value: ReferralRequest.meta.profile
element definition.short:
  value: Profiles this resource claims to conform to
element definition.definition:
  value: A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).
element definition.comment:
  value: It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.
element definition.min:
  value: 1
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Meta.profile
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.is summary:
  value: true

index: 8
element.id:
  value: ReferralRequest.meta.security
element definition.path:
  value: ReferralRequest.meta.security
element definition.short:
  value: Security Labels applied to this resource
element definition.definition:
  value: Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.
element definition.comment:
  value: The security labels can be updated without changing the stated version of the resource The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Meta.security
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Coding
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: SecurityLabels
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
    extension.value boolean:
      value: true
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: Security Labels from the Healthcare Privacy and Security Classification System.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/security-labels
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/security-labels

index: 9
element.id:
  value: ReferralRequest.meta.tag
element definition.path:
  value: ReferralRequest.meta.tag
element definition.short:
  value: Tags applied to this resource
element definition.definition:
  value: Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.
element definition.comment:
  value: The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Meta.tag
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Coding
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: Tags
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/common-tags
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/common-tags

index: 10
element.id:
  value: ReferralRequest.implicitRules
element definition.path:
  value: ReferralRequest.implicitRules
element definition.short:
  value: A set of rules under which this content was created
element definition.definition:
  value: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.
element definition.comment:
  value: Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.implicitRules
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.is modifier:
  value: true
element definition.is summary:
  value: true

index: 11
element.id:
  value: ReferralRequest.language
element definition.path:
  value: ReferralRequest.language
element definition.short:
  value: Language of the resource content
element definition.definition:
  value: The base language in which the resource is written.
element definition.comment:
  value: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.language
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
    extension.value reference:
      link: http://hl7.org/fhir/ValueSet/all-languages
      reference.reference:
        value: http://hl7.org/fhir/ValueSet/all-languages
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: Language
  element.extension:
    index: 2
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
    extension.value boolean:
      value: true
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: A human language.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/languages
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/languages

index: 12
element.id:
  value: ReferralRequest.text
element definition.path:
  value: ReferralRequest.text
element definition.short:
  value: Text summary of the resource, for human interpretation
element definition.definition:
  value: A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
element definition.comment:
  value: Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.
element definition.alias:
  value: narrative
  index: 0
element definition.alias:
  value: html
  index: 1
element definition.alias:
  value: xhtml
  index: 2
element definition.alias:
  value: display
  index: 3
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.text
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Narrative
element definition.condition:
  value: dom-1
  index: 0
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Act.text?

index: 13
element.id:
  value: ReferralRequest.contained
element definition.path:
  value: ReferralRequest.contained
element definition.short:
  value: Contained, inline Resources
element definition.definition:
  value: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
element definition.comment:
  value: This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.
element definition.alias:
  value: inline resources
  index: 0
element definition.alias:
  value: anonymous resources
  index: 1
element definition.alias:
  value: contained resources
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.contained
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Resource
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 14
element.id:
  value: ReferralRequest.extension
element definition.path:
  value: ReferralRequest.extension
element definition.short:
  value: Additional Content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the resource. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 15
element.id:
  value: ReferralRequest.modifierExtension
element definition.path:
  value: ReferralRequest.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 16
element.id:
  value: ReferralRequest.identifier
element definition.path:
  value: ReferralRequest.identifier
element definition.short:
  value: Business identifier
element definition.definition:
  value: Business identifier that uniquely identifies the referral/care transfer request instance.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: ReferralRequest.identifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Identifier
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: RF1-6 / RF1-11
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: id

index: 17
element.id:
  value: ReferralRequest.definition
element definition.path:
  value: ReferralRequest.definition
element definition.short:
  value: Instantiates protocol or definition
element definition.definition:
  value: A protocol, guideline, orderset or other definition that is adhered to in whole or in part by this request.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: ReferralRequest.definition
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/PlanDefinition
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=DEFN].target

index: 18
element.id:
  value: ReferralRequest.basedOn
element definition.path:
  value: ReferralRequest.basedOn
element definition.short:
  value: Request fulfilled by this request
element definition.definition:
  value: Indicates any plans, proposals or orders that this request is intended to satisfy - in whole or in part.
element definition.alias:
  value: fulfills
  index: 0
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: ReferralRequest.basedOn
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/ReferralRequest
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/CarePlan
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/ProcedureRequest
element definition.is modifier:
  value: false
element definition.is summary:
  value: true

index: 19
element.id:
  value: ReferralRequest.replaces
element definition.path:
  value: ReferralRequest.replaces
element definition.short:
  value: Request(s) replaced by this request
element definition.definition:
  value: Completed or terminated request(s) whose function is taken by this new request.
element definition.comment:
  value: The replacement could be because the initial request was immediately rejected (due to an issue) or because the previous request was completed, but the need for the action described by the request remains ongoing.
element definition.requirements:
  value: Allows tracing the continuation of a therapy or administrative process instantiated through multiple requests.
element definition.alias:
  value: supersedes
  index: 0
element definition.alias:
  value: prior
  index: 1
element definition.alias:
  value: renewed order
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: ReferralRequest.replaces
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/ReferralRequest
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=RPLC].target

index: 20
element.id:
  value: ReferralRequest.groupIdentifier
element definition.path:
  value: ReferralRequest.groupIdentifier
element definition.short:
  value: Composite request this is part of
element definition.definition:
  value: The business identifier of the logical "grouping" request/order that this referral is a part of.
element definition.requirements:
  value: Allows multiple orders to be collected as part of a single requisition.
element definition.alias:
  value: grouperId
  index: 0
element definition.alias:
  value: requisition
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.groupIdentifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Identifier
element definition.is modifier:
  value: false
element definition.is summary:
  value: true

index: 21
element.id:
  value: ReferralRequest.status
element definition.path:
  value: ReferralRequest.status
element definition.short:
  value: draft | active | suspended | cancelled | completed | entered-in-error | unknown
element definition.definition:
  value: The status of the authorization/intention reflected by the referral request record.
element definition.comment:
  value: This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.
element definition.requirements:
  value: Workflow status is handled by the Task resource.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.status
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.fixed code:
  value: completed
element definition.must support:
  value: true
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ReferralRequestStatus
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: The status of the referral.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/request-status
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/request-status
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: RF1-1
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: status

index: 22
element.id:
  value: ReferralRequest.intent
element definition.path:
  value: ReferralRequest.intent
element definition.short:
  value: proposal | plan | order
element definition.definition:
  value: Distinguishes the "level" of authorization/demand implicit in this request.
element definition.requirements:
  value: The same resource structure is used when capturing proposals/recommendations, plans and actual requests.
element definition.alias:
  value: category
  index: 0
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.intent
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.fixed code:
  value: order
element definition.must support:
  value: true
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ReferralCategory
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Codes identifying the stage lifecycle stage of a request
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/request-intent
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/request-intent
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: class

index: 23
element.id:
  value: ReferralRequest.type
element definition.path:
  value: ReferralRequest.type
element definition.short:
  value: Referral/Transition of care request type
element definition.definition:
  value: An indication of the type of referral (or where applicable the type of transfer of care) request.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.type
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ReferralType
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Codes for types of referral; e.g. consult, transfer, temporary transfer.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/referral-type
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/referral-type
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: RF1-10
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: class

index: 24
element.id:
  value: ReferralRequest.priority
element definition.path:
  value: ReferralRequest.priority
element definition.short:
  value: Urgency of referral / transfer of care request
element definition.definition:
  value: An indication of the urgency of referral (or where applicable the type of transfer of care) request.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.priority
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ReferralPriority
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Codes indicating the relative priority of the referral.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/request-priority
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/request-priority
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: RF1-2
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: grade

index: 25
element.id:
  value: ReferralRequest.serviceRequested
element definition.path:
  value: ReferralRequest.serviceRequested
element definition.short:
  value: Actions requested as part of the referral
element definition.definition:
  value: The service(s) that is/are requested to be provided to the patient. For example: cardiac pacemaker insertion.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: ReferralRequest.serviceRequested
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: RequestedService
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Codes indicating the types of services that might be requested as part of a referral.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/c80-practice-codes
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/c80-practice-codes
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PR1-3 / OBR-4
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: what

index: 26
element.id:
  value: ReferralRequest.subject
element definition.path:
  value: ReferralRequest.subject
element definition.short:
  value: Patient referred to care or transfer
element definition.definition:
  value: The patient who is the subject of a referral or transfer of care request.
element definition.comment:
  value: Referral of family, group or community is to be catered for by profiles.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.subject
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-patient
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PID-3
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.focus

index: 27
element.id:
  value: ReferralRequest.context
element definition.path:
  value: ReferralRequest.context
element definition.short:
  value: Originating encounter
element definition.definition:
  value: The encounter at which the request for referral or transfer of care is initiated.
element definition.alias:
  value: encounter
  index: 0
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.context
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Encounter
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: PV1-19
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: context

index: 28
element.id:
  value: ReferralRequest.occurrence[x]
element definition.path:
  value: ReferralRequest.occurrence[x]
element definition.short:
  value: When the service(s) requested in the referral should occur
element definition.definition:
  value: The period of time within which the services identified in the referral/transfer of care is specified or required to occur.
element definition.comment:
  value: When the occurrenceDateTime is used, then it is indicating that the requested service must happen before the specified date.
element definition.requirements:
  value: Use cases: (1) to indicate that the requested service is not to happen before a specified date, and saving the start date in Period.start; (2) to indicate that the requested service must happen before a specified date, and saving the end date in Period.end; (3) to indicate that the requested service must happen during the specified dates ("start" and "end" values).
element definition.alias:
  value: timing
  index: 0
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.occurrence[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: dateTime
element definition.type:
  index: 1
  element definition.type.code:
    value: Period
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: OBR-7/OBR-8
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: when.planned

index: 29
element.id:
  value: ReferralRequest.authoredOn
element definition.path:
  value: ReferralRequest.authoredOn
element definition.short:
  value: Date of creation/activation
element definition.definition:
  value: Date/DateTime of creation for draft requests and date of activation for active requests.
element definition.alias:
  value: createdOn
  index: 0
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.authoredOn
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: dateTime
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: RF1-7 / RF1-9?
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: when.recorded

index: 30
element.id:
  value: ReferralRequest.requester
element definition.path:
  value: ReferralRequest.requester
element definition.short:
  value: Who/what is requesting service
element definition.definition:
  value: The individual who initiated the request and has responsibility for its activation.
element definition.alias:
  value: author
  index: 0
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.requester
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() | (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: rfr-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: onBehalfOf can only be specified if agent is practitioner or device
  element definition.constraint.expression:
    value: (agent.resolve() is Device) or (agent.resolve() is Practitioner) or onBehalfOf.exists().not()
  element definition.constraint.xpath:
    value: contains(f:agent/f:reference/@value, '/Practitioner/') or contains(f:agent/f:reference/@value, '/Device/') or not(exists(f:onBehalfOf))
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/ReferralRequest
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .participation[typeCode=AUT].role

index: 31
element.id:
  value: ReferralRequest.requester.id
element definition.path:
  value: ReferralRequest.requester.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: xml:id (or equivalent in JSON)
element definition.definition:
  value: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 32
element.id:
  value: ReferralRequest.requester.extension
element definition.path:
  value: ReferralRequest.requester.extension
element definition.short:
  value: Additional Content defined by implementations
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 33
element.id:
  value: ReferralRequest.requester.modifierExtension
element definition.path:
  value: ReferralRequest.requester.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: 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 that contains it. Usually modifier elements provide negation or qualification. In order 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 is allowed to 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 34
element.id:
  value: ReferralRequest.requester.agent
element definition.path:
  value: ReferralRequest.requester.agent
element definition.short:
  value: Individual making the request
element definition.definition:
  value: The device, practitioner, etc. who initiated the request.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.requester.agent
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-practitioner
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .player
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.author

index: 35
element.id:
  value: ReferralRequest.requester.onBehalfOf
element definition.path:
  value: ReferralRequest.requester.onBehalfOf
element definition.short:
  value: Organization agent is acting for
element definition.definition:
  value: The organization the device or practitioner was acting on behalf of.
element definition.requirements:
  value: Practitioners and Devices can be associated with multiple organizations. This element indicates which organization they were acting on behalf of when authoring the request.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.requester.onBehalfOf
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-organisation
element definition.condition:
  value: rfr-1
  index: 0
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .scoper

index: 36
element.id:
  value: ReferralRequest.specialty
element definition.path:
  value: ReferralRequest.specialty
element definition.short:
  value: The clinical specialty (discipline) that the referral is requested for
element definition.definition:
  value: Indication of the clinical domain or discipline to which the referral or transfer of care request is sent. For example: Cardiology Gastroenterology Diabetology.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.specialty
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.binding:
  element definition.binding.strength:
    value: extensible
  element definition.binding.value set reference:
    link: https://healthterminologies.gov.au/fhir/ValueSet/anzsco-1
    reference.reference:
      value: https://healthterminologies.gov.au/fhir/ValueSet/anzsco-1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: RF1-3

index: 37
element.id:
  value: ReferralRequest.recipient
element definition.path:
  value: ReferralRequest.recipient
element definition.short:
  value: Receiver of referral / transfer of care request
element definition.definition:
  value: The healthcare provider(s) or provider organization(s) who/which is to receive the referral/transfer of care request.
element definition.comment:
  value: There will be a primary receiver. But the request can be received by any number of "copied to" providers or organizations.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: ReferralRequest.recipient
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Practitioner
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Organization
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/HealthcareService
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: Practitioner: PRD-2/PRD-7 where PRD-3 = RT; Organization: PRD-10 where PRD-3 = RT
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.actor

index: 38
element.id:
  value: ReferralRequest.reasonCode
element definition.path:
  value: ReferralRequest.reasonCode
element definition.short:
  value: Reason for referral / transfer of care request
element definition.definition:
  value: Description of clinical condition indicating why referral/transfer of care is requested. For example: Pathological Anomalies, Disabled (physical or mental), Behavioral Management.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: ReferralRequest.reasonCode
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.is modifier:
  value: false
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ReferralReason
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Codes indicating why the referral is being requested.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/clinical-findings
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/clinical-findings
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: RF1-10
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: why

index: 39
element.id:
  value: ReferralRequest.reasonReference
element definition.path:
  value: ReferralRequest.reasonReference
element definition.short:
  value: Why is service needed?
element definition.definition:
  value: Indicates another resource whose existence justifies this request.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: ReferralRequest.reasonReference
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Condition
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Observation
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .outboundRelationship[typeCode=RSON].target
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: why

index: 40
element.id:
  value: ReferralRequest.description
element definition.path:
  value: ReferralRequest.description
element definition.short:
  value: A textual description of the referral
element definition.definition:
  value: The reason element gives a short description of why the referral is being made, the description expands on this to support a more complete clinical summary.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: ReferralRequest.description
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.is modifier:
  value: false

index: 41
element.id:
  value: ReferralRequest.supportingInfo
element definition.path:
  value: ReferralRequest.supportingInfo
element definition.short:
  value: Additonal information to support referral or transfer of care request
element definition.definition:
  value: Any additional (administrative, financial or clinical) information required to support request for referral or transfer of care. For example: Presenting problems/chief complaints Medical History Family History Alerts Allergy/Intolerance and Adverse Reactions Medications Observations/Assessments (may include cognitive and fundtional assessments) Diagnostic Reports Care Plan.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: ReferralRequest.supportingInfo
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Resource
element definition.is modifier:
  value: false

index: 42
element.id:
  value: ReferralRequest.note
element definition.path:
  value: ReferralRequest.note
element definition.short:
  value: Comments made about referral request
element definition.definition:
  value: Comments made about the referral request by any of the participants.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: ReferralRequest.note
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Annotation

index: 43
element.id:
  value: ReferralRequest.relevantHistory
element definition.path:
  value: ReferralRequest.relevantHistory
element definition.short:
  value: Key events in history of request
element definition.definition:
  value: Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.
element definition.comment:
  value: This element does not point to the Provenance associated with the *current* version of the resource - as it would be created after this version existed. The Provenance for the current version can be retrieved with a _revinclude.
element definition.alias:
  value: eventHistory
  index: 0
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: ReferralRequest.relevantHistory
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Provenance
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]

structure definition.differential.element:
  index: 0
  element.id:
    value: ReferralRequest
  element definition.path:
    value: ReferralRequest
  element definition.constraint:
    index: 0
    element definition.constraint.key:
      value: inv-dh-rr-01
    element definition.constraint.severity:
      value: error
    element definition.constraint.human:
      value: One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/referralrequest-mbsdva'
    element definition.constraint.expression:
      value: meta.profile.where($this='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/referralrequest-mbsdva').exists()
structure definition.differential.element:
  index: 1
  element.id:
    value: ReferralRequest.meta
  element definition.path:
    value: ReferralRequest.meta
  element definition.min:
    value: 1
structure definition.differential.element:
  index: 2
  element.id:
    value: ReferralRequest.meta.profile
  element definition.path:
    value: ReferralRequest.meta.profile
  element definition.definition:
    value: A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).
  element definition.min:
    value: 1
structure definition.differential.element:
  index: 3
  element.id:
    value: ReferralRequest.identifier
  element definition.path:
    value: ReferralRequest.identifier
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 4
  element.id:
    value: ReferralRequest.status
  element definition.path:
    value: ReferralRequest.status
  element definition.fixed code:
    value: completed
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 5
  element.id:
    value: ReferralRequest.intent
  element definition.path:
    value: ReferralRequest.intent
  element definition.fixed code:
    value: order
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 6
  element.id:
    value: ReferralRequest.subject
  element definition.path:
    value: ReferralRequest.subject
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: http://hl7.org.au/fhir/StructureDefinition/au-patient
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 7
  element.id:
    value: ReferralRequest.requester
  element definition.path:
    value: ReferralRequest.requester
  element definition.min:
    value: 1
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 8
  element.id:
    value: ReferralRequest.requester.agent
  element definition.path:
    value: ReferralRequest.requester.agent
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: http://hl7.org.au/fhir/StructureDefinition/au-practitioner
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 9
  element.id:
    value: ReferralRequest.requester.onBehalfOf
  element definition.path:
    value: ReferralRequest.requester.onBehalfOf
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: http://hl7.org.au/fhir/StructureDefinition/au-organisation
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 10
  element.id:
    value: ReferralRequest.specialty
  element definition.path:
    value: ReferralRequest.specialty
  element definition.must support:
    value: true
  element definition.binding:
    element definition.binding.strength:
      value: extensible
    element definition.binding.value set uri:
      value: https://healthterminologies.gov.au/fhir/ValueSet/anzsco-1