hcpd-endpoint
type: StructureDefinition
node role: treeRoot
id:
  v: hcpd-endpoint
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition hcpd-endpoint Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Endpoint 0..* Endpoint(4.0.1) Health Connect Endpoint #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:receiving-facility SO 0..1 (Complex) HL7 V2 receiving facility URL: http://hl7.org.au/fhir/StructureDefinition/au-receivingfacility Obligations Actor SHALL:populate-if-known Health Connect Provider Directory Responder Actor SHOULD:handle Health Connect Provider Directory Requester Actor #xD; extension:receiving-application SO 0..1 (Complex) HL7 V2 receiving application URL: http://hl7.org.au/fhir/StructureDefinition/au-receivingapplication Obligations Actor SHALL:populate-if-known Health Connect Provider Directory Responder Actor SHOULD:handle Health Connect Provider Directory Requester Actor #xD; extension:data-encipherment-certificate SO 0..* string PEM X509 certificate URL: http://hl7.org.au/fhir/StructureDefinition/encryption-certificate-pem-x509 Obligations Actor SHALL:populate-if-known Health Connect Provider Directory Responder Actor SHOULD:handle Health Connect Provider Directory Requester Actor #xD; Slices for identifier SO 1..* Identifier Unique identifier of the endpoint record Slice: Unordered, Open by pattern:type, value:system Obligations Actor SHALL:populate-if-known Health Connect Provider Directory Responder Actor SHOULD:handle Health Connect Provider Directory Requester Actor #xD; identifier:HCPD_SMD_Target_Identifier S 0..* HCPD_SMD_Target_Identifier(26.0.0) SMD Target Identifier #xD; identifier:HCPD_Local_Identifier S 1..1 HCPD_Local_Identifier(26.0.0) Identifier attributed by the HCPD system for the Endpoint #xD; connectionType SO 1..1 Coding To specify the service interface types Binding: AustralianServiceInterfaces (2.1.0-ci-build) (extensible) Obligations Actor SHALL:populate-if-known Health Connect Provider Directory Respo…
url:
  v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  l: hcpd-endpoint
version:
  v: 26.0.0
name:
  v: HCPD_Endpoint
title:
  v: HCPD Endpoint
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 technical endpoint.
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
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/](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: Endpoint
  l: Endpoint
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Endpoint|4.0.1
  l: http://hl7.org/fhir/StructureDefinition/Endpoint
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: Endpoint
    path:
      v: Endpoint
    short:
      v: Health Connect Endpoint
    definition:
      v: Endpoint defined for use in Health Connect.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Endpoint
      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
    mapping:
      identity:
        v: rim

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.

v: Entity. Role, or Act

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

id:
  v: Endpoint.id
path:
  v: Endpoint.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: Endpoint.meta
path:
  v: Endpoint.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: Endpoint.implicitRules
path:
  v: Endpoint.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: Endpoint.language
path:
  v: Endpoint.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: Endpoint.text
path:
  v: Endpoint.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: Endpoint.contained
path:
  v: Endpoint.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: Endpoint.extension
path:
  v: Endpoint.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  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: Endpoint.extension:receiving-facility
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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Endpoint.extension
slice name:
  v: receiving-facility
short:
  v: HL7 V2 receiving facility
definition:
  v: Values for routing HL7 V2 message payloads associated with an endpoint, suitable for MSH-6
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://hl7.org.au/fhir/StructureDefinition/au-receivingfacility|6.0.0
    l: http://hl7.org.au/fhir/StructureDefinition/au-receivingfacility
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: Endpoint.extension:receiving-application
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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Endpoint.extension
slice name:
  v: receiving-application
short:
  v: HL7 V2 receiving application
definition:
  v: Values for routing HL7 V2 message payloads associated with an endpoint. Suitable for MSH-5.
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://hl7.org.au/fhir/StructureDefinition/au-receivingapplication|6.0.0
    l: http://hl7.org.au/fhir/StructureDefinition/au-receivingapplication
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: Endpoint.extension:data-encipherment-certificate
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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Endpoint.extension
slice name:
  v: data-encipherment-certificate
short:
  v: PEM X509 certificate
definition:
  v: Mechanism to hold the value of a X509 certificate as a string (base64 encoded PEM certificate).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org.au/fhir/StructureDefinition/encryption-certificate-pem-x509|6.0.0
    l: http://hl7.org.au/fhir/StructureDefinition/encryption-certificate-pem-x509
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: Endpoint.modifierExtension
path:
  v: Endpoint.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: Endpoint.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://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Endpoint.identifier
slicing:
  discriminator:
    type:
      v: pattern
    path:
      v: type
  discriminator:
    type:
      v: value
    path:
      v: system
  rules:
    v: open
short:
  v: Unique identifier of the endpoint record
definition:
  v: Identifier for the organization that is used to identify the endpoint across multiple disparate systems.
min:
  v: 1
max:
  v: *
base:
  path:
    v: Endpoint.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: 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: n/a

id:
  v: Endpoint.identifier:HCPD_SMD_Target_Identifier
path:
  v: Endpoint.identifier
slice name:
  v: HCPD_SMD_Target_Identifier
short:
  v: SMD Target Identifier
definition:
  v: Secure Messaging Delivery target identifier for this endpoint
min:
  v: 0
max:
  v: *
base:
  path:
    v: Endpoint.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
  profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-smd-target-identifier|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-smd-target-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: n/a

id:
  v: Endpoint.identifier:HCPD_Local_Identifier
path:
  v: Endpoint.identifier
slice name:
  v: HCPD_Local_Identifier
short:
  v: Identifier attributed by the HCPD system for the Endpoint
definition:
  v: Unique identifier for the healthcare endpoint attributed from source system. Not a displayable field but can be used for system reference or internal business logic.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Endpoint.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: n/a

id:
  v: Endpoint.status
path:
  v: Endpoint.status
short:
  v: active | suspended | error | off | entered-in-error | test
definition:
  v: active | suspended | error | off | test.
comment:
  v: This element is labeled as a modifier because the status contains codes that mark the endpoint as not currently valid.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Endpoint.status
  min:
    v: 1
  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 element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: EndpointStatus
  strength:
    v: required
  description:
    v: The status of the endpoint.
  value set:
    v: http://hl7.org/fhir/ValueSet/endpoint-status|4.0.1
    l: http://hl7.org/fhir/ValueSet/endpoint-status
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Endpoint.connectionType
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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Endpoint.connectionType
short:
  v: To specify the service interface types
definition:
  v: Protocol/Profile/Standard the endpoint supports.
comment:
  v: For additional connectivity details for the protocol, extensions will be used at this point, as in the XDS example.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Endpoint.connectionType
  min:
    v: 1
  max:
    v: 1
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
binding:
  strength:
    v: extensible
  value set:
    v: http://hl7.org.au/fhir/pd/ValueSet/service-interfaces|2.1.0-ci-build
    l: http://hl7.org.au/fhir/pd/ValueSet/service-interfaces
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Endpoint.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://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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Endpoint.name
short:
  v: To enable consistent and correct identification of the endpoint
definition:
  v: A friendly name that this endpoint can be referred to with.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Endpoint.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: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Endpoint.managingOrganization
path:
  v: Endpoint.managingOrganization
short:
  v: Organization that manages this endpoint (might not be the organization that exposes the endpoint)
definition:
  v: The organization that manages this endpoint (even if technically another organization is hosting this in the cloud, it is the organization associated with the data).
comment:
  v: This property is not typically used when searching for Endpoint resources for usage. The typical usage is via the reference from an applicable Organization/Location/Practitioner resource, which is where the context is provided. Multiple Locations may reference a single endpoint, and don't have to be within the same organization resource, but most likely within the same organizational hierarchy.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Endpoint.managingOrganization
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/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
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Endpoint.contact
path:
  v: Endpoint.contact
short:
  v: Contact details for source (e.g. troubleshooting)
definition:
  v: Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Endpoint.contact
  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
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Endpoint.period
path:
  v: Endpoint.period
short:
  v: Interval the endpoint is expected to be operational
definition:
  v: The interval during which the endpoint is expected to be operational.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Endpoint.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: w5
  map:
    v: FiveWs.done[x]
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Endpoint.payloadType
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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Endpoint.payloadType
short:
  v: Endpoint payload type
definition:
  v: REndpoint payload types that need to be transmitted over secure messaging, e.g. Discharge Summary, e-Referral, referral response message, acknowledgment etc.
comment:
  v: The payloadFormat describes the serialization format of the data, where the payloadType indicates the specific document/schema that is being transferred; e.g. DischargeSummary or CarePlan.
min:
  v: 1
max:
  v: *
base:
  path:
    v: Endpoint.payloadType
  min:
    v: 1
  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: extensible
  value set:
    v: http://hl7.org.au/fhir/pd/ValueSet/endpoint-payload-type|2.1.0-ci-build
    l: http://hl7.org.au/fhir/pd/ValueSet/endpoint-payload-type
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Endpoint.payloadMimeType
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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Endpoint.payloadMimeType
short:
  v: Mimetype to send. If not specified, the content could be anything (including no payload, if the connectionType defined this)
definition:
  v: The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType).
comment:
  v: Sending the payload has obvious security consequences. The server is responsible for ensuring that the content is appropriately secured.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Endpoint.payloadMimeType
  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: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: MimeType
  strength:
    v: required
  description:
    v: The mime type of an attachment. Any valid mime type is allowed.
  value set:
    v: http://hl7.org/fhir/ValueSet/mimetypes|4.0.1
    l: http://hl7.org/fhir/ValueSet/mimetypes
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Endpoint.address
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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  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-endpoint|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Endpoint.address
short:
  v: URL address of the endpoint
definition:
  v: The uri that describes the actual end-point to connect to.
comment:
  v: For rest-hook, and websocket, the end-point must be an http: or https: URL; for email, a mailto: url, for sms, a tel: url, and for message the endpoint can be in any form of url the server understands (usually, http: or mllp:). The URI is allowed to be relative; in which case, it is relative to the server end-point (since there may be more than one, clients should avoid using relative URIs) This address will be to the service base, without any parameters, or sub-services or resources tacked on. E.g. for a WADO-RS endpoint, the url should be "https://pacs.hospital.org/wado-rs" and not "https://pacs.hospital.org/wado-rs/studies/1.2.250.1.59.40211.12345678.678910/series/1.2.250.1.59.40211.789001276.14556172.67789/instances/...".
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Endpoint.address
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: url
    l: url
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: n/a

id:
  v: Endpoint.header
path:
  v: Endpoint.header
short:
  v: Usage depends on the channel type
definition:
  v: Additional headers / information to send as part of the notification.
comment:
  v: Exactly what these mean depends on the channel type. The can convey additional information to the recipient and/or meet security requirements.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Endpoint.header
  min:
    v: 0
  max:
    v: *
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

element:
  id:
    v: Endpoint
  path:
    v: Endpoint
  short:
    v: Health Connect Endpoint
  definition:
    v: Endpoint defined for use in Health Connect.
element:
  id:
    v: Endpoint.extension
  path:
    v: Endpoint.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    rules:
      v: open
element:
  id:
    v: Endpoint.extension:receiving-facility
  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: Endpoint.extension
  slice name:
    v: receiving-facility
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org.au/fhir/StructureDefinition/au-receivingfacility|6.0.0
      l: http://hl7.org.au/fhir/StructureDefinition/au-receivingfacility
  must support:
    v: true
element:
  id:
    v: Endpoint.extension:receiving-application
  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: Endpoint.extension
  slice name:
    v: receiving-application
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org.au/fhir/StructureDefinition/au-receivingapplication|6.0.0
      l: http://hl7.org.au/fhir/StructureDefinition/au-receivingapplication
  must support:
    v: true
element:
  id:
    v: Endpoint.extension:data-encipherment-certificate
  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: Endpoint.extension
  slice name:
    v: data-encipherment-certificate
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org.au/fhir/StructureDefinition/encryption-certificate-pem-x509|6.0.0
      l: http://hl7.org.au/fhir/StructureDefinition/encryption-certificate-pem-x509
  must support:
    v: true
element:
  id:
    v: Endpoint.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
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation

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: Endpoint.identifier

discriminator:
  type:
    v: pattern
  path:
    v: type
discriminator:
  type:
    v: value
  path:
    v: system
rules:
  v: open

v: Unique identifier of the endpoint record

v: 1

v: true

id:
  v: Endpoint.identifier:HCPD_SMD_Target_Identifier
path:
  v: Endpoint.identifier
slice name:
  v: HCPD_SMD_Target_Identifier
short:
  v: SMD Target Identifier
definition:
  v: Secure Messaging Delivery target identifier for this endpoint
min:
  v: 0
max:
  v: *
type:
  code:
    v: Identifier
    l: Identifier
  profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-smd-target-identifier|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-smd-target-identifier
must support:
  v: true

id:
  v: Endpoint.identifier:HCPD_Local_Identifier
path:
  v: Endpoint.identifier
slice name:
  v: HCPD_Local_Identifier
short:
  v: Identifier attributed by the HCPD system for the Endpoint
definition:
  v: Unique identifier for the healthcare endpoint attributed from source system. Not a displayable field but can be used for system reference or 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: Endpoint.connectionType
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: Endpoint.connectionType
short:
  v: To specify the service interface types
definition:
  v: Protocol/Profile/Standard the endpoint supports.
must support:
  v: true
binding:
  strength:
    v: extensible
  value set:
    v: http://hl7.org.au/fhir/pd/ValueSet/service-interfaces|2.1.0-ci-build
    l: http://hl7.org.au/fhir/pd/ValueSet/service-interfaces

id:
  v: Endpoint.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://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: Endpoint.name
short:
  v: To enable consistent and correct identification of the endpoint
must support:
  v: true

id:
  v: Endpoint.payloadType
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: Endpoint.payloadType
short:
  v: Endpoint payload type
definition:
  v: REndpoint payload types that need to be transmitted over secure messaging, e.g. Discharge Summary, e-Referral, referral response message, acknowledgment etc.
must support:
  v: true
binding:
  strength:
    v: extensible
  value set:
    v: http://hl7.org.au/fhir/pd/ValueSet/endpoint-payload-type|2.1.0-ci-build
    l: http://hl7.org.au/fhir/pd/ValueSet/endpoint-payload-type

id:
  v: Endpoint.payloadMimeType
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: Endpoint.payloadMimeType
must support:
  v: true

id:
  v: Endpoint.address
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: Endpoint.address
short:
  v: URL address of the endpoint
must support:
  v: true