hcpd-healthcareservice
type: StructureDefinition
node role: treeRoot
id:
  v: hcpd-healthcareservice
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition hcpd-healthcareservice Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> HealthcareService 0..* AUCoreHealthcareService(2.0.0) A healthcare service in an Australian healthcare context #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:iar-levels-of-care SO 0..* CodeableConcept IAR Levels of Care URL: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/iar-levels-of-care Binding: Initial Assessment and Referral Levels of Care (required) Obligations Actor SHALL:populate-if-known Health Connect Provider Directory Responder Actor SHOULD:handle Health Connect Provider Directory Requester Actor #xD; extension:new-patient-availability SO 0..1 CodeableConcept Indicates if Healthcare service is accepting new patients URL: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/new-patient-availability Binding: https://www.healthterminologies.gov.au/integration/R4/fhir/ValueSet/new-patient-availability-1 (required) Obligations Actor SHALL:populate-if-known Health Connect Provider Directory Responder Actor SHOULD:handle Health Connect Provider Directory Requester Actor #xD; extension:referral-information-for-referrer SO 0..1 markdown Referral information for referrers URL: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/referral-information-for-referrer Obligations Actor SHALL:populate-if-known Health Connect Provider Directory Responder Actor SHOULD:handle Health Connect Provider Directory Requester Actor #xD; extension:active-period SO 0..1 Period The period during which the HealthcareService is active. URL: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/active-period Obligations Actor SHALL:populate-if-known Health Connect Provider Directory Responder Actor SHOULD:handle Health Connect Provider Directory Requester Actor #xD; Slices for identifier O 1..* Identifier(4.0.1), AUHPIO(6.0.0), AUResidential…
url:
  v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  l: hcpd-healthcareservice
version:
  v: 26.0.0
name:
  v: HCPD_HealthcareService
title:
  v: HCPD HealthcareService
status:
  v: active
experimental:
  v: false
date:
  v: 2026-04-30T11:47:54+10:00
publisher:
  v: Australian Digital Health Agency
contact:
  name:
    v: Australian Digital Health Agency
  telecom:
    system:
      v: url
    value:
      v: https://www.digitalhealth.gov.au/
  telecom:
    system:
      v: email
contact:
  name:
    v: Australian Digital Health Agency
  telecom:
    system:
      v: email
    use:
      v: work
description:
  v: This profile defines a Health Connect Provider Directory entry for a healthcare service offered by an organisation.
use context:
  code:
    system:
      v: http://terminology.hl7.org/CodeSystem/usage-context-type
      l: usage-context-type
    code:
      v: jurisdiction
  value: CodeableConcept
    coding:
      system:
        v: urn:iso:std:iso:3166
        l: 3166
      code:
        v: AU
      display:
        v: Australia
purpose:
  v: This profile solves the business problem of standardising healthcare service representation in the provider directory, enabling consistent description of services, their availability, coverage areas, and associated care levels to facilitate service discovery and patient referral processes.
copyright:
  v: Copyright © 2026 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/.
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/fivews
    l: fivews
  name:
    v: FiveWs Pattern Mapping
kind:
  v: resource
abstract:
  v: false
type:
  v: HealthcareService
  l: HealthcareService
base definition:
  v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
  l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 2.0.0
  element:
    id:
      v: HealthcareService
    path:
      v: HealthcareService
    short:
      v: A healthcare service in an Australian healthcare context
    definition:
      v: Health Connect entry for a healthcare service at a location by an organisation.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: HealthcareService
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      xpath:
        v: not(parent::f:contained and f:contained)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1
        l: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-3
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
      expression:
        v: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
      xpath:
        v: not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1
        l: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-4
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      expression:
        v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1
        l: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-5
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a security label
      expression:
        v: contained.meta.security.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:security))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1
        l: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      extension:
        value: Boolean
      extension:
        value: Markdown
      key:
        v: dom-6
      severity:
        v: warning
      human:
        v: A resource should have narrative for robust management
      expression:
        v: text.`div`.exists()
      xpath:
        v: exists(f:text/h:div)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1
        l: http://hl7.org/fhir/StructureDefinition/DomainResource
    is modifier:
      v: false
    is summary:
      v: false

Boolean
v: true

Markdown
v: When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time.

identity:
  v: rim
map:
  v: Entity. Role, or Act

identity:
  v: rim
map:
  v: act[classCode=ACT][moodCode=DEF]

id:
  v: HealthcareService.id
path:
  v: HealthcareService.id
short:
  v: Logical id of this artifact
definition:
  v: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
comment:
  v: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.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: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: true

id:
  v: HealthcareService.meta
path:
  v: HealthcareService.meta
short:
  v: Metadata about the resource
definition:
  v: The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.meta
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Meta
    l: Meta
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: HealthcareService.implicitRules
path:
  v: HealthcareService.implicitRules
short:
  v: A set of rules under which this content was created
definition:
  v: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
comment:
  v: 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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation
is summary:
  v: true

id:
  v: HealthcareService.language
path:
  v: HealthcareService.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: 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).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
      l: elementdefinition-maxValueSet
    value: Canonical
      v: http://hl7.org/fhir/ValueSet/all-languages|4.0.1
      l: http://hl7.org/fhir/ValueSet/all-languages
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: preferred
  description:
    v: A human language.
  value set:
    v: http://hl7.org/fhir/ValueSet/languages|4.0.1
    l: http://hl7.org/fhir/ValueSet/languages

id:
  v: HealthcareService.text
path:
  v: HealthcareService.text
short:
  v: Text summary of the resource, for human interpretation
definition:
  v: A human-readable narrative that contains a summary of the resource and can 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.
comment:
  v: 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 information is added later.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
    l: Narrative
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: HealthcareService.contained
path:
  v: HealthcareService.contained
short:
  v: Contained, inline Resources
definition:
  v: 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.
comment:
  v: 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. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
    l: Resource
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: HealthcareService.extension
path:
  v: HealthcareService.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.extension:iar-levels-of-care
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.extension
slice name:
  v: iar-levels-of-care
short:
  v: IAR Levels of Care
definition:
  v: Indicates the IAR (Initial Assessment and Referral) Levels of Care for a healthcare service. Context of Use: HealthcareService Codes from: http://digitalhealth.gov.au/fhir/hcpd/CodeSystem/hcpd-iar-levels-of-care
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/iar-levels-of-care|26.0.0
    l: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/iar-levels-of-care
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.extension:new-patient-availability
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.extension
slice name:
  v: new-patient-availability
short:
  v: Indicates if Healthcare service is accepting new patients
definition:
  v: Indicates if Healthcare service is accepting new patients. A value of True means the service is accepting new patients.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/new-patient-availability|26.0.0
    l: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/new-patient-availability
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.extension:referral-information-for-referrer
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.extension
slice name:
  v: referral-information-for-referrer
short:
  v: Referral information for referrers
definition:
  v: Information for referrers about referral requirements for this healthcare service.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/referral-information-for-referrer|26.0.0
    l: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/referral-information-for-referrer
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.extension:active-period
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.extension
slice name:
  v: active-period
short:
  v: The period during which the HealthcareService is active.
definition:
  v: The time period during which the HealthcareService is considered active in the HealthConnect directory.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/active-period|26.0.0
    l: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/active-period
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.modifierExtension
path:
  v: HealthcareService.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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 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 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. 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
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: HealthcareService.identifier
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.identifier
slicing:
  discriminator:
    type:
      v: pattern
    path:
      v: type
  ordered:
    v: false
  rules:
    v: open
short:
  v: External identifiers for this item
definition:
  v: Identifier for the HealthCare Service that is used to identify the HealthCare Service across multiple disparate systems.
min:
  v: 1
max:
  v: *
base:
  path:
    v: HealthcareService.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
  profile:
    v: http://hl7.org/fhir/StructureDefinition/Identifier|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Identifier
  profile:
    v: http://hl7.org.au/fhir/StructureDefinition/au-hpio|6.0.0
    l: http://hl7.org.au/fhir/StructureDefinition/au-hpio
  profile:
    v: http://hl7.org.au/fhir/StructureDefinition/au-residentialagedcareserviceidentifier|6.0.0
    l: http://hl7.org.au/fhir/StructureDefinition/au-residentialagedcareserviceidentifier
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: rim
  map:
    v: .id

id:
  v: HealthcareService.identifier:HCPD_Local_Identifier
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.identifier
slice name:
  v: HCPD_Local_Identifier
short:
  v: Local identifier for the HealthcareService attributed by HC
definition:
  v: Local identifier for the HealthcareService attributed by Health Connect. Used for system reference and internal business logic.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HealthcareService.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
  profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-local-identifier|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-local-identifier
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: rim
  map:
    v: .id

id:
  v: HealthcareService.active
path:
  v: HealthcareService.active
short:
  v: Whether this HealthcareService record is in active use
definition:
  v: This flag is used to mark the record to not be used. This is not used when a center is closed for maintenance, or for holidays, the notAvailable period is to be used for this.
comment:
  v: This element is labeled as a modifier because it may be used to mark that the resource was created in error.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HealthcareService.active
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
meaning when missing:
  v: This resource is generally assumed to be active if no value is provided for the active element
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status
mapping:
  identity:
    v: rim
  map:
    v: .statusCode

id:
  v: HealthcareService.providedBy
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.providedBy
short:
  v: Providing organisation
definition:
  v: The organization that provides this healthcare service.
comment:
  v: This property is recommended to be the same as the Location's managingOrganization, and if not provided should be interpreted as such. If the Location does not have a managing Organization, then this property should be populated.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HealthcareService.providedBy
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-organization|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-organization
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .scopingRole.Organization

id:
  v: HealthcareService.category
path:
  v: HealthcareService.category
short:
  v: Broad category of service being performed or delivered
definition:
  v: Identifies the broad category of service being performed or delivered.
comment:
  v: Selecting a Service Category then determines the list of relevant service types that can be selected in the primary service type.
alias:
  v: service category
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.category
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: service-category
  strength:
    v: example
  description:
    v: A category of the service(s) that could be provided.
  value set:
    v: http://hl7.org/fhir/ValueSet/service-category|4.0.1
    l: http://hl7.org/fhir/ValueSet/service-category
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: HealthcareService.type
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.type
short:
  v: A high-level descriptor describing the type of healthcare service(s) offered by the organisation
definition:
  v: The specific type of service that may be delivered or performed.
alias:
  v: service type
min:
  v: 1
max:
  v: *
base:
  path:
    v: HealthcareService.type
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: required
  value set:
    v: https://healthterminologies.gov.au/fhir/ValueSet/service-type-1
    l: service-type-1
mapping:
  identity:
    v: rim
  map:
    v: .actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].code

id:
  v: HealthcareService.type.id
path:
  v: HealthcareService.type.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: HealthcareService.type.extension
path:
  v: HealthcareService.type.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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HealthcareService.type.coding
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.type.coding
short:
  v: Describes the service(s) offered. At least one coding is required
definition:
  v: A reference to a code defined by a terminology system.
comment:
  v: Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
requirements:
  v: Allows for alternative encodings within a code system, and translations to other code systems.
min:
  v: 1
max:
  v: *
base:
  path:
    v: CodeableConcept.coding
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.1-8, C*E.10-22
mapping:
  identity:
    v: rim
  map:
    v: union(., ./translation)
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding

id:
  v: HealthcareService.type.coding.id
path:
  v: HealthcareService.type.coding.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: HealthcareService.type.coding.extension
path:
  v: HealthcareService.type.coding.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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HealthcareService.type.coding.system
path:
  v: HealthcareService.type.coding.system
short:
  v: Identity of the terminology system
definition:
  v: The identification of the code system that defines the meaning of the symbol in the code.
comment:
  v: The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.
requirements:
  v: Need to be unambiguous about the source of the definition of the symbol.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.system
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.3
mapping:
  identity:
    v: rim
  map:
    v: ./codeSystem
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem

id:
  v: HealthcareService.type.coding.version
path:
  v: HealthcareService.type.coding.version
short:
  v: Version of the system - if relevant
definition:
  v: The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
comment:
  v: Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.7
mapping:
  identity:
    v: rim
  map:
    v: ./codeSystemVersion
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion

id:
  v: HealthcareService.type.coding.code
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.type.coding.code
short:
  v: The healthcare service type code from SNOMED-CT-AU
definition:
  v: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
requirements:
  v: Need to refer to a particular code in the system.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Coding.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.1
mapping:
  identity:
    v: rim
  map:
    v: ./code
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code

id:
  v: HealthcareService.type.coding.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: HealthcareService.type.coding.display
short:
  v: The display name of the healthcare service type from SNOMED-CT-AU
definition:
  v: A representation of the meaning of the code in the system, following the rules of the system.
requirements:
  v: Need to be able to carry a human-readable meaning of the code for readers that do not know the system.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Coding.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.2 - but note this is not well followed
mapping:
  identity:
    v: rim
  map:
    v: CV.displayName
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName

id:
  v: HealthcareService.type.coding.userSelected
path:
  v: HealthcareService.type.coding.userSelected
short:
  v: If this coding was chosen directly by the user
definition:
  v: Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
comment:
  v: Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.
requirements:
  v: This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.userSelected
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: Sometimes implied by being first
mapping:
  identity:
    v: rim
  map:
    v: CD.codingRationale
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]

id:
  v: HealthcareService.type.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: HealthcareService.type.text
short:
  v: Plain text representation of the concept
definition:
  v: A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
comment:
  v: Very often the text is the same as a displayName of one of the codings.
requirements:
  v: The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CodeableConcept.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.9. But note many systems use C*E.2 for this
mapping:
  identity:
    v: rim
  map:
    v: ./originalText[mediaType/code="text/plain"]/data
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText

id:
  v: HealthcareService.specialty
path:
  v: HealthcareService.specialty
short:
  v: Specialties handled by the HealthcareService
definition:
  v: Collection of specialties handled by the service site. This is more of a medical term.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.specialty
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: preferred
  value set:
    v: https://healthterminologies.gov.au/fhir/ValueSet/clinical-specialty-1
    l: clinical-specialty-1
mapping:
  identity:
    v: rim
  map:
    v: .actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].code

id:
  v: HealthcareService.location
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.location
short:
  v: Single location for this service
definition:
  v: The location where this healthcare service may be provided.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HealthcareService.location
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-location|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-location
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.where[x]
mapping:
  identity:
    v: rim
  map:
    v: .location.role[classCode=SDLOC]

id:
  v: HealthcareService.name
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.name
short:
  v: Description of service as presented to a consumer while searching
definition:
  v: Further description of the service as it would be presented to a consumer while searching.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HealthcareService.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .name

id:
  v: HealthcareService.comment
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.comment
short:
  v: Additional description and/or any specific information about the healthcare service, not covered elsewhere
definition:
  v: Additional details, that the service provider can add for their directory listing, as a free text, that is not covered by other available data elements.
comment:
  v: Would expect that a user would not see this information on a search results, and it would only be available when viewing the complete details of the service.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HealthcareService.comment
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .location.role[classCode=SDLOC].desc

id:
  v: HealthcareService.extraDetails
path:
  v: HealthcareService.extraDetails
short:
  v: Extra details about the service that can't be placed in the other fields
definition:
  v: Extra details about the service that can't be placed in the other fields.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HealthcareService.extraDetails
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].text

id:
  v: HealthcareService.photo
path:
  v: HealthcareService.photo
short:
  v: Facilitates quick identification of the service
definition:
  v: If there is a photo/symbol associated with this HealthcareService, it may be included here to facilitate quick identification of the service in a list.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HealthcareService.photo
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Attachment
    l: Attachment
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .actrelationship[typeCode=SBJ].observation.value

id:
  v: HealthcareService.telecom
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.telecom
short:
  v: Phone number, fax number, email
definition:
  v: List of contacts related to this specific healthcare service.
comment:
  v: If this is empty, then refer to the location's contacts.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.telecom
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: ContactPoint
    l: ContactPoint
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .telecom

id:
  v: HealthcareService.telecom.id
path:
  v: HealthcareService.telecom.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: HealthcareService.telecom.extension
path:
  v: HealthcareService.telecom.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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HealthcareService.telecom.extension:contact-purpose
path:
  v: HealthcareService.telecom.extension
slice name:
  v: contact-purpose
short:
  v: Contact purpose
definition:
  v: Indicates a purpose for which the contact can be reached.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org.au/fhir/StructureDefinition/contact-purpose|6.0.0
    l: http://hl7.org.au/fhir/StructureDefinition/contact-purpose
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.telecom.extension:contact-purpose.id
path:
  v: HealthcareService.telecom.extension.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: HealthcareService.telecom.extension:contact-purpose.extension
path:
  v: HealthcareService.telecom.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: 0
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.telecom.extension:contact-purpose.url
path:
  v: HealthcareService.telecom.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: uri
      l: uri
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
fixed: Uri
  v: http://hl7.org.au/fhir/StructureDefinition/contact-purpose
  l: contact-purpose
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: HealthcareService.telecom.extension:contact-purpose.value[x]
path:
  v: HealthcareService.telecom.extension.value[x]
short:
  v: Contact purpose
definition:
  v: Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  strength:
    v: extensible
  value set:
    v: http://terminology.hl7.org.au/ValueSet/contact-purpose|6.0.0
    l: http://terminology.hl7.org.au/ValueSet/contact-purpose
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: HealthcareService.telecom.system
path:
  v: HealthcareService.telecom.system
short:
  v: phone | fax | email | pager | url | sms | other
definition:
  v: Telecommunications form for contact point - what communications system is required to make use of the contact.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.system
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
condition:
  v: cpt-2
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ContactPointSystem
  strength:
    v: required
  description:
    v: Telecommunications form for contact point.
  value set:
    v: http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
    l: http://hl7.org/fhir/ValueSet/contact-point-system
mapping:
  identity:
    v: v2
  map:
    v: XTN.3
mapping:
  identity:
    v: rim
  map:
    v: ./scheme
mapping:
  identity:
    v: servd
  map:
    v: ./ContactPointType

id:
  v: HealthcareService.telecom.value
path:
  v: HealthcareService.telecom.value
short:
  v: The actual contact point details
definition:
  v: The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
comment:
  v: Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.
requirements:
  v: Need to support legacy numbers that are not in a tightly controlled format.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.value
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: XTN.1 (or XTN.12)
mapping:
  identity:
    v: rim
  map:
    v: ./url
mapping:
  identity:
    v: servd
  map:
    v: ./Value

id:
  v: HealthcareService.telecom.use
path:
  v: HealthcareService.telecom.use
short:
  v: home | work | temp | old | mobile - purpose of this contact point
definition:
  v: Identifies the purpose for the contact point.
comment:
  v: Applications can assume that a contact is current unless it explicitly says that it is temporary or old.
requirements:
  v: Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.use
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This is labeled as "Is Modifier" because applications should not mistake a temporary or old contact etc.for a current/permanent one
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ContactPointUse
  strength:
    v: required
  description:
    v: Use of contact point.
  value set:
    v: http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
    l: http://hl7.org/fhir/ValueSet/contact-point-use
mapping:
  identity:
    v: v2
  map:
    v: XTN.2 - but often indicated by field
mapping:
  identity:
    v: rim
  map:
    v: unique(./use)
mapping:
  identity:
    v: servd
  map:
    v: ./ContactPointPurpose

id:
  v: HealthcareService.telecom.rank
path:
  v: HealthcareService.telecom.rank
short:
  v: Specify preferred order of use (1 = highest)
definition:
  v: Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.
comment:
  v: Note that rank does not necessarily follow the order in which the contacts are represented in the instance.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.rank
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: positiveInt
    l: positiveInt
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HealthcareService.telecom.period
path:
  v: HealthcareService.telecom.period
short:
  v: Time period when the contact point was/is in use
definition:
  v: Time period when the contact point was/is in use.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: ./usablePeriod[type="IVL<TS>"]
mapping:
  identity:
    v: servd
  map:
    v: ./StartDate and ./EndDate

id:
  v: HealthcareService.coverageArea
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.coverageArea
short:
  v: The location(s) that this healthcare service is available to
definition:
  v: The location(s) that this service is available to (not where the service is provided).
comment:
  v: The locations referenced by the coverage area can include both specific locations, including areas, and also conceptual domains too (mode = kind), such as a physical area (tri-state area) and some other attribute (covered by Example Care Organization). These types of Locations are often not managed by any specific organization. This could also include generic locations such as "in-home".
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.coverageArea
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-service-coverage-area|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-service-coverage-area
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .location.role[classCode=SDLOC].subjectOf.A_SpatialCoordinate

id:
  v: HealthcareService.serviceProvisionCode
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.serviceProvisionCode
short:
  v: Conditions under which service is available/offered
definition:
  v: The code(s) that detail the conditions under which the healthcare service is available/offered.
comment:
  v: The provision means being commissioned by, contractually obliged or financially sourced. Types of costings that may apply to this healthcare service, such if the service may be available for free, some discounts available, or fees apply.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.serviceProvisionCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
binding:
  strength:
    v: required
  value set:
    v: http://digitalhealth.gov.au/fhir/hcpd/ValueSet/service-provision-code-vs|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/ValueSet/service-provision-code-vs
mapping:
  identity:
    v: rim
  map:
    v: .actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT]

id:
  v: HealthcareService.eligibility
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.eligibility
short:
  v: Specific eligibility requirements required to use the service
definition:
  v: Does this service have specific eligibility requirements that need to be met in order to use the service?
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.eligibility
  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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.eligibility.id
path:
  v: HealthcareService.eligibility.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: HealthcareService.eligibility.extension
path:
  v: HealthcareService.eligibility.extension
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HealthcareService.eligibility.modifierExtension
path:
  v: HealthcareService.eligibility.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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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: HealthcareService.eligibility.code
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.eligibility.code
short:
  v: Eligibility requirements for the healthcare service.
definition:
  v: Eligibility requirements for the healthcare service, bound to the HealthConnect Service Eligibility ValueSet.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HealthcareService.eligibility.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
binding:
  strength:
    v: required
  value set:
    v: https://healthterminologies.gov.au/fhir/ValueSet/service-eligibility-1
    l: service-eligibility-1
mapping:
  identity:
    v: rim
  map:
    v: .actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT]

id:
  v: HealthcareService.eligibility.comment
path:
  v: HealthcareService.eligibility.comment
short:
  v: Describes the eligibility conditions for the service
definition:
  v: Describes the eligibility conditions for the service.
comment:
  v: The description of service eligibility should, in general, not exceed one or two paragraphs. It should be sufficient for a prospective consumer to determine if they are likely to be eligible or not. Where eligibility requirements and conditions are complex, it may simply be noted that an eligibility assessment is required. Where eligibility is determined by an outside source, such as an Act of Parliament, this should be noted, preferably with a reference to a commonly available copy of the source document such as a web page.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HealthcareService.eligibility.comment
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT].text

id:
  v: HealthcareService.program
path:
  v: HealthcareService.program
short:
  v: Programs that this service is applicable to
definition:
  v: Programs that this service is applicable to.
comment:
  v: Programs are often defined externally to an Organization, commonly by governments; e.g. Home and Community Care Programs, Homeless Program, ….
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.program
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Program
  strength:
    v: example
  description:
    v: Government or local programs that this service applies to.
  value set:
    v: http://hl7.org/fhir/ValueSet/program|4.0.1
    l: http://hl7.org/fhir/ValueSet/program
mapping:
  identity:
    v: rim
  map:
    v: .actrelationship[typeCode=PERT].observation

id:
  v: HealthcareService.characteristic
path:
  v: HealthcareService.characteristic
short:
  v: Collection of characteristics (attributes)
definition:
  v: Collection of characteristics (attributes).
comment:
  v: These could be such things as is wheelchair accessible.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.characteristic
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ServiceCharacteristic
  strength:
    v: example
  description:
    v: A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy).
mapping:
  identity:
    v: rim
  map:
    v: .actrelationship[typeCode=PERT].observation

id:
  v: HealthcareService.communication
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.communication
short:
  v: The languages that this healthcare service is offered in
definition:
  v: Including the languages that the service is offered in, will help assist the requester / searcher in making informed decision and choose the service that meet their requirement when seeking healthcare service.
comment:
  v: When using this property it indicates that the service is available with this language, it is not derived from the practitioners, and not all are required to use this language, just that this language is available while scheduling.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.communication
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
binding:
  strength:
    v: extensible
  value set:
    v: https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2
    l: common-languages-australia-2

id:
  v: HealthcareService.referralMethod
path:
  v: HealthcareService.referralMethod
short:
  v: Ways that the service accepts referrals
definition:
  v: Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.referralMethod
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ReferralMethod
  strength:
    v: example
  description:
    v: The methods of referral can be used when referring to a specific HealthCareService resource.
  value set:
    v: http://hl7.org/fhir/ValueSet/service-referral-method|4.0.1
    l: http://hl7.org/fhir/ValueSet/service-referral-method
mapping:
  identity:
    v: rim
  map:
    v: .actrelationship[typeCode=PERT].observation

id:
  v: HealthcareService.appointmentRequired
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.appointmentRequired
short:
  v: Whether an appointment is required for this service
definition:
  v: Whether an appointment is required for this service, or walk-in accepted – Yes or No (Null value represent ‘no data available’).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HealthcareService.appointmentRequired
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .actrelationship[typeCode=PERT].observation

id:
  v: HealthcareService.availableTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.availableTime
short:
  v: Times the Service Site is available
definition:
  v: A collection of times that the Service Site is available.
comment:
  v: More detailed availability information may be provided in associated Schedule/Slot resources.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.availableTime
  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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: HealthcareService.availableTime.id
path:
  v: HealthcareService.availableTime.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: HealthcareService.availableTime.extension
path:
  v: HealthcareService.availableTime.extension
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HealthcareService.availableTime.modifierExtension
path:
  v: HealthcareService.availableTime.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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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: HealthcareService.availableTime.daysOfWeek
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.availableTime.daysOfWeek
short:
  v: mon | tue | wed | thu | fri | sat | sun
definition:
  v: Indicates which days of the week are available between the start and end Times.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.availableTime.daysOfWeek
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
    l: code
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: DaysOfWeek
  strength:
    v: required
  description:
    v: The days of the week.
  value set:
    v: http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
    l: http://hl7.org/fhir/ValueSet/days-of-week
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: HealthcareService.availableTime.allDay
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.availableTime.allDay
short:
  v: Always available? e.g. 24 hour service
definition:
  v: Is this always available? (hence times are irrelevant) e.g. 24 hour service.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HealthcareService.availableTime.allDay
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: HealthcareService.availableTime.availableStartTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.availableTime.availableStartTime
short:
  v: Opening time of day (ignored if allDay = true)
definition:
  v: The opening time of day. Note: If the AllDay flag is set, then this time is ignored.
comment:
  v: The time zone is expected to be for where this HealthcareService is provided at.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HealthcareService.availableTime.availableStartTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: time
    l: time
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: HealthcareService.availableTime.availableStartTime.id
path:
  v: HealthcareService.availableTime.availableStartTime.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references)
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

id:
  v: HealthcareService.availableTime.availableStartTime.extension
path:
  v: HealthcareService.availableTime.availableStartTime.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.availableTime.availableStartTime.extension:timeZone
path:
  v: HealthcareService.availableTime.availableStartTime.extension
slice name:
  v: timeZone
short:
  v: The date on which an organisation commences offering a service
definition:
  v: An IANA timezone code for the timezone offset per BCP 175. For data types allowing the offset (all except date and time), this extension SHALL agree with the offset if provided and cannot be used in place of the offset if the precision expressed requires an offset. Where an offset is provided, this extension provides a more legible display of the zone associated with the offset. Where an offset is not present, this extension can be used to provide zone information not otherwise available.
comment:
  v: These are codes like "America/New_York" or "America/Los_Angeles". See https://www.iana.org/time-zones for the official source, and https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for more information.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/timezone|5.2.0
    l: http://hl7.org/fhir/StructureDefinition/timezone
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())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.availableTime.availableStartTime.value
path:
  v: HealthcareService.availableTime.availableStartTime.value
representation:
  v: xmlAttr
short:
  v: Primitive value for time
definition:
  v: The actual value
min:
  v: 0
max:
  v: 1
base:
  path:
    v: time.value
  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: time
      l: time
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/regex
      l: regex
    value: String
      v: ([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]+)?
  code:
    v: http://hl7.org/fhirpath/System.Time
    l: System.Time
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.availableTime.availableEndTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.availableTime.availableEndTime
short:
  v: Closing time of day (ignored if allDay = true)
definition:
  v: The closing time of day. Note: If the AllDay flag is set, then this time is ignored.
comment:
  v: The time zone is expected to be for where this HealthcareService is provided at.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HealthcareService.availableTime.availableEndTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: time
    l: time
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: HealthcareService.availableTime.availableEndTime.id
path:
  v: HealthcareService.availableTime.availableEndTime.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references)
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

id:
  v: HealthcareService.availableTime.availableEndTime.extension
path:
  v: HealthcareService.availableTime.availableEndTime.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.availableTime.availableEndTime.extension:timeZone
path:
  v: HealthcareService.availableTime.availableEndTime.extension
slice name:
  v: timeZone
short:
  v: The date on which an organisation ceases to offer a service
definition:
  v: An IANA timezone code for the timezone offset per BCP 175. For data types allowing the offset (all except date and time), this extension SHALL agree with the offset if provided and cannot be used in place of the offset if the precision expressed requires an offset. Where an offset is provided, this extension provides a more legible display of the zone associated with the offset. Where an offset is not present, this extension can be used to provide zone information not otherwise available.
comment:
  v: These are codes like "America/New_York" or "America/Los_Angeles". See https://www.iana.org/time-zones for the official source, and https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for more information.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/timezone|5.2.0
    l: http://hl7.org/fhir/StructureDefinition/timezone
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())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.availableTime.availableEndTime.value
path:
  v: HealthcareService.availableTime.availableEndTime.value
representation:
  v: xmlAttr
short:
  v: Primitive value for time
definition:
  v: The actual value
min:
  v: 0
max:
  v: 1
base:
  path:
    v: time.value
  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: time
      l: time
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/regex
      l: regex
    value: String
      v: ([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]+)?
  code:
    v: http://hl7.org/fhirpath/System.Time
    l: System.Time
is modifier:
  v: false
is summary:
  v: false

id:
  v: HealthcareService.notAvailable
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.notAvailable
short:
  v: Not available during this time due to provided reason
definition:
  v: The HealthcareService is not available during this period of time due to the provided reason.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.notAvailable
  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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: HealthcareService.notAvailable.id
path:
  v: HealthcareService.notAvailable.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: HealthcareService.notAvailable.extension
path:
  v: HealthcareService.notAvailable.extension
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HealthcareService.notAvailable.modifierExtension
path:
  v: HealthcareService.notAvailable.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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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: HealthcareService.notAvailable.description
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.notAvailable.description
short:
  v: Reason presented to the user explaining why time not available
definition:
  v: The reason that can be presented to the user as to why this time is not available.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HealthcareService.notAvailable.description
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: HealthcareService.notAvailable.during
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.notAvailable.during
short:
  v: Date range that the service is not available - can be open-ended if service is closing
definition:
  v: Date range that the service is not available - can be open-ended if service is closing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HealthcareService.notAvailable.during
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: HealthcareService.availabilityExceptions
path:
  v: HealthcareService.availabilityExceptions
short:
  v: Description of availability exceptions
definition:
  v: A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HealthcareService.availabilityExceptions
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: HealthcareService.endpoint
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.endpoint
short:
  v: Reference to all linked endpoints that are related to this healthcare service for electronic communication or exchange
definition:
  v: This will provide the linked endpoints that are related to this healthcare service, that can be discovered by other organisations for system-to-system electronic communication.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HealthcareService.endpoint
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
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|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

element:
  id:
    v: HealthcareService
  path:
    v: HealthcareService
  definition:
    v: Health Connect entry for a healthcare service at a location by an organisation.
element:
  id:
    v: HealthcareService.extension
  path:
    v: HealthcareService.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
element:
  id:
    v: HealthcareService.extension:iar-levels-of-care
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:populate-if-known
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
        l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHOULD:handle
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
        l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: HealthcareService.extension
  slice name:
    v: iar-levels-of-care
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/iar-levels-of-care|26.0.0
      l: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/iar-levels-of-care
  must support:
    v: true
element:
  id:
    v: HealthcareService.extension:new-patient-availability
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:populate-if-known
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
        l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHOULD:handle
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
        l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: HealthcareService.extension
  slice name:
    v: new-patient-availability
  short:
    v: Indicates if Healthcare service is accepting new patients
  definition:
    v: Indicates if Healthcare service is accepting new patients. A value of True means the service is accepting new patients.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/new-patient-availability|26.0.0
      l: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/new-patient-availability
  must support:
    v: true
element:
  id:
    v: HealthcareService.extension:referral-information-for-referrer
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:populate-if-known
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
        l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHOULD:handle
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
        l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: HealthcareService.extension
  slice name:
    v: referral-information-for-referrer
  short:
    v: Referral information for referrers
  definition:
    v: Information for referrers about referral requirements for this healthcare service.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/referral-information-for-referrer|26.0.0
      l: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/referral-information-for-referrer
  must support:
    v: true
element:
  id:
    v: HealthcareService.extension:active-period
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:populate-if-known

url:
  v: actor
  l: actor
value: Canonical
  v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
  l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect

extension:
  url:
    v: code
    l: code
  value: Code
    v: SHOULD:handle
extension:
  url:
    v: actor
    l: actor
  value: Canonical
    v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
url:
  v: http://hl7.org/fhir/StructureDefinition/obligation
  l: obligation

v: HealthcareService.extension

v: active-period

v: The period during which the HealthcareService is active.

v: The time period during which the HealthcareService is considered active in the HealthConnect directory.

v: 0

v: 1

code:
  v: Extension
  l: Extension
profile:
  v: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/active-period|26.0.0
  l: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/active-period

v: true

id:
  v: HealthcareService.identifier
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.identifier
slicing:
  discriminator:
    type:
      v: pattern
    path:
      v: type
  ordered:
    v: false
  rules:
    v: open
definition:
  v: Identifier for the HealthCare Service that is used to identify the HealthCare Service across multiple disparate systems.
min:
  v: 1

id:
  v: HealthcareService.identifier:HCPD_Local_Identifier
path:
  v: HealthcareService.identifier
slice name:
  v: HCPD_Local_Identifier
short:
  v: Local identifier for the HealthcareService attributed by HC
definition:
  v: Local identifier for the HealthcareService attributed by Health Connect. Used for system reference and internal business logic.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier
  profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-local-identifier|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-local-identifier
must support:
  v: true

id:
  v: HealthcareService.providedBy
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.providedBy
short:
  v: Providing organisation
min:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-organization|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-organization
must support:
  v: true

id:
  v: HealthcareService.type
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.type
short:
  v: A high-level descriptor describing the type of healthcare service(s) offered by the organisation
min:
  v: 1
binding:
  strength:
    v: required
  value set:
    v: https://healthterminologies.gov.au/fhir/ValueSet/service-type-1
    l: service-type-1

id:
  v: HealthcareService.type.coding
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.type.coding
short:
  v: Describes the service(s) offered. At least one coding is required
min:
  v: 1
must support:
  v: true

id:
  v: HealthcareService.type.coding.code
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.type.coding.code
short:
  v: The healthcare service type code from SNOMED-CT-AU
min:
  v: 1
must support:
  v: true

id:
  v: HealthcareService.type.coding.display
path:
  v: HealthcareService.type.coding.display
short:
  v: The display name of the healthcare service type from SNOMED-CT-AU
min:
  v: 1
must support:
  v: true

id:
  v: HealthcareService.location
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.location
short:
  v: Single location for this service
definition:
  v: The location where this healthcare service may be provided.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-location|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-location
must support:
  v: true

id:
  v: HealthcareService.comment
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.comment
short:
  v: Additional description and/or any specific information about the healthcare service, not covered elsewhere
definition:
  v: Additional details, that the service provider can add for their directory listing, as a free text, that is not covered by other available data elements.
must support:
  v: true

id:
  v: HealthcareService.telecom
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.telecom
short:
  v: Phone number, fax number, email

id:
  v: HealthcareService.telecom.extension:contact-purpose
path:
  v: HealthcareService.telecom.extension
slice name:
  v: contact-purpose
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org.au/fhir/StructureDefinition/contact-purpose|6.0.0
    l: http://hl7.org.au/fhir/StructureDefinition/contact-purpose
must support:
  v: true

id:
  v: HealthcareService.telecom.extension:contact-purpose.extension
path:
  v: HealthcareService.telecom.extension.extension
max:
  v: 0

id:
  v: HealthcareService.coverageArea
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.coverageArea
short:
  v: The location(s) that this healthcare service is available to
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-service-coverage-area|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-service-coverage-area
must support:
  v: true

id:
  v: HealthcareService.serviceProvisionCode
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.serviceProvisionCode
must support:
  v: true
binding:
  strength:
    v: required
  value set:
    v: http://digitalhealth.gov.au/fhir/hcpd/ValueSet/service-provision-code-vs|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/ValueSet/service-provision-code-vs

id:
  v: HealthcareService.eligibility
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.eligibility
must support:
  v: true

id:
  v: HealthcareService.eligibility.code
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.eligibility.code
short:
  v: Eligibility requirements for the healthcare service.
definition:
  v: Eligibility requirements for the healthcare service, bound to the HealthConnect Service Eligibility ValueSet.
must support:
  v: true
binding:
  strength:
    v: required
  value set:
    v: https://healthterminologies.gov.au/fhir/ValueSet/service-eligibility-1
    l: service-eligibility-1

id:
  v: HealthcareService.communication
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.communication
short:
  v: The languages that this healthcare service is offered in
definition:
  v: Including the languages that the service is offered in, will help assist the requester / searcher in making informed decision and choose the service that meet their requirement when seeking healthcare service.
must support:
  v: true

id:
  v: HealthcareService.appointmentRequired
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.appointmentRequired
short:
  v: Whether an appointment is required for this service
definition:
  v: Whether an appointment is required for this service, or walk-in accepted – Yes or No (Null value represent ‘no data available’).
must support:
  v: true

id:
  v: HealthcareService.availableTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.availableTime
must support:
  v: true

id:
  v: HealthcareService.availableTime.daysOfWeek
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.availableTime.daysOfWeek
must support:
  v: true

id:
  v: HealthcareService.availableTime.allDay
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.availableTime.allDay
must support:
  v: true

id:
  v: HealthcareService.availableTime.availableStartTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.availableTime.availableStartTime
must support:
  v: true

id:
  v: HealthcareService.availableTime.availableStartTime.extension:timeZone
path:
  v: HealthcareService.availableTime.availableStartTime.extension
slice name:
  v: timeZone
short:
  v: The date on which an organisation commences offering a service

id:
  v: HealthcareService.availableTime.availableEndTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.availableTime.availableEndTime
must support:
  v: true

id:
  v: HealthcareService.availableTime.availableEndTime.extension:timeZone
path:
  v: HealthcareService.availableTime.availableEndTime.extension
slice name:
  v: timeZone
short:
  v: The date on which an organisation ceases to offer a service

id:
  v: HealthcareService.notAvailable
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.notAvailable
must support:
  v: true

id:
  v: HealthcareService.notAvailable.description
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.notAvailable.description
must support:
  v: true

id:
  v: HealthcareService.notAvailable.during
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.notAvailable.during
short:
  v: Date range that the service is not available - can be open-ended if service is closing
definition:
  v: Date range that the service is not available - can be open-ended if service is closing.
must support:
  v: true

id:
  v: HealthcareService.endpoint
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: HealthcareService.endpoint
short:
  v: Reference to all linked endpoints that are related to this healthcare service for electronic communication or exchange
definition:
  v: This will provide the linked endpoints that are related to this healthcare service, that can be discovered by other organisations for system-to-system electronic communication.
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
must support:
  v: true