PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.pd@0.2.0
    http://hl7.org.au/fhir/StructureDefinition/au-pd-healthcareservice
description: 'Australian healthcare service provider directory directory entry '
package_name: hl7.fhir.au.pd
derivation: constraint
name: Australian Healthcare Service Directory Entry
type: HealthcareService
elements:
  identifier:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      - {path: type, type: value}
      min: null
      slices:
        hpio:
          match: {system: 'http://ns.electronichealth.net.au/id/hi/hpio/1.0', type: null}
          schema:
            short: HPI-O
            constraint:
              inv-hpio-0: {human: HPI-O is exactly 16 characters, severity: error, expression: value.length() = 16}
              inv-hpio-1: {human: HPI-O prefix is 800362, severity: error, expression: value.startsWith('800362')}
            mustSupport: true
            index: 1
            extensions:
              hpioassigningauthority: {url: h, max: 1, type: Extension, short: Optional HL7 V2 routing content, mustSupport: true, index: 3}
            elements:
              extension:
                index: 2
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    hpioassigningauthority:
                      match: {url: null}
                      schema: {type: Extension, short: Optional HL7 V2 routing content, mustSupport: true, url: h, index: 3}
                      max: 1
              type:
                short: HPI-O Identifier Type
                index: 4
                elements:
                  coding:
                    short: HPI-O Identifier Type Code
                    pattern:
                      type: Coding
                      value: {code: NOI, system: 'http://hl7.org.au/fhir/v2/0203', display: National Organisation Identifier}
                    index: 5
                  text:
                    short: HPI-O Identifier Type Descriptive Text
                    pattern: {type: String, value: HPI-O}
                    index: 6
                required: [text]
              system:
                short: Namespace uri for HPI-O values
                pattern: {type: Uri, value: 'http://ns.electronichealth.net.au/id/hi/hpio/1.0'}
                index: 7
              value: {maxLength: 16, index: 8}
            required: [value, type, system]
        pdvendor:
          match: {system: null, type: null}
          schema:
            short: Secure Messaging Vendor's Healthcare Service Identifier
            mustSupport: true
            index: 9
            extensions:
              pdvendorassigningauthority: {url: h, max: 1, type: Extension, short: Optional Extensions Element, mustSupport: true, index: 11}
            elements:
              extension:
                index: 10
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    pdvendorassigningauthority:
                      match: {url: null}
                      schema: {type: Extension, short: Optional Extensions Element, mustSupport: true, url: h, index: 11}
                      max: 1
              type:
                short: Vendor Directory Identifier Type
                index: 12
                elements:
                  coding:
                    short: Vendor Directory Identifier
                    pattern:
                      type: Coding
                      value: {code: VDI, display: Vendor Directory Identifier}
                    index: 13
                  text:
                    short: Vendor Directory Identifier Type
                    pattern: {type: String, value: Vendor Directory Identifier}
                    index: 14
                required: [coding, text]
              system: {short: Vendor allocated URL, index: 15}
              value: {short: Vendor Identifier Value, index: 16}
              assigner:
                index: 17
                elements:
                  display: {index: 18}
                required: [display]
            required: [assigner, value, type, system]
  providedBy:
    type: Reference
    refers: ['http://hl7.org.au/fhir/StructureDefinition/au-pd-organisation']
    index: 19
  specialty:
    mustSupport: true
    index: 20
    slicing:
      rules: open
      discriminator:
      - {path: coding.system, type: value}
      min: 1
      slices:
        nhsdhealthcareservicerole:
          match:
            coding: {system: null}
          schema: {index: 21}
        snomedservicerole:
          match:
            coding: {system: null}
          schema: {index: 22}
  location:
    type: Reference
    refers: ['http://hl7.org.au/fhir/StructureDefinition/au-pd-location']
    index: 23
  name: {mustSupport: true, index: 24}
  telecom: {mustSupport: true, index: 25}
  endpoint:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/StructureDefinition/au-pd-sm-endpoint', 'http://hl7.org/fhir/StructureDefinition/Endpoint']
    index: 26
package_version: 0.2.0
class: profile
kind: resource
url: http://hl7.org.au/fhir/StructureDefinition/au-pd-healthcareservice
base: http://hl7.org/fhir/StructureDefinition/HealthcareService
version: null
required: [specialty, providedBy, name, location]