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 ",
  "_filename": "StructureDefinition-au-pd-healthcareservice.json",
  "package_name": "hl7.fhir.au.pd",
  "date": "2017-06-09T16:54:42+10:00",
  "derivation": "constraint",
  "meta": {
    "lastUpdated": "2017-09-17T11:59:54.246+10:00"
  },
  "publisher": null,
  "fhirVersion": "3.0.1",
  "name": "Australian Healthcare Service Directory Entry",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/w5",
    "name": "W5 Mapping",
    "identity": "w5"
  } ],
  "abstract": false,
  "type": "HealthcareService",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "0.2.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "pa"
  } ],
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-1",
        "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
        "xpath": "not(parent::f:contained and f:text)",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.text.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
        "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()"
      } ],
      "path": "HealthcareService",
      "min": 0,
      "definition": "The details of a healthcare service available at a location.",
      "short": "Healthcare Service Directory Entry",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "act[classCode=ACT][moodCode=DEF]",
        "identity": "rim"
      }, {
        "map": "administrative.group",
        "identity": "w5"
      } ],
      "max": "*",
      "id": "HealthcareService",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService"
      }
    }, {
      "path": "HealthcareService.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "HealthcareService.id",
      "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "HealthcareService.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "HealthcareService.implicitRules",
      "comment": "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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueReference": {
            "reference": "http://hl7.org/fhir/ValueSet/all-languages"
          }
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "A human language.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/languages"
        }
      },
      "max": "1",
      "id": "HealthcareService.language",
      "comment": "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).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      }
    }, {
      "path": "HealthcareService.text",
      "min": 0,
      "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "HealthcareService.text",
      "condition": [ "dom-1" ],
      "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      }
    }, {
      "path": "HealthcareService.contained",
      "min": 0,
      "definition": "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.",
      "short": "Contained, inline Resources",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "HealthcareService.contained",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      }
    }, {
      "path": "HealthcareService.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HealthcareService.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "path": "HealthcareService.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HealthcareService.modifierExtension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      }
    }, {
      "path": "HealthcareService.identifier",
      "min": 0,
      "definition": "External identifiers for this item.",
      "short": "External identifiers for this item",
      "mapping": [ {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "id",
        "identity": "w5"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        }, {
          "path": "type",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "*",
      "id": "HealthcareService.identifier",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.identifier"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "inv-hpio-0",
        "human": "HPI-O is exactly 16 characters",
        "severity": "error",
        "expression": "value.length() = 16"
      }, {
        "key": "inv-hpio-1",
        "human": "HPI-O prefix is 800362",
        "severity": "error",
        "expression": "value.startsWith('800362')"
      } ],
      "path": "HealthcareService.identifier",
      "min": 0,
      "definition": "National identifier Health Provider Identifier for Organisations for Healthcare Service",
      "short": "HPI-O",
      "mapping": [ {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "id",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "mustSupport": true,
      "sliceName": "hpio",
      "max": "1",
      "id": "HealthcareService.identifier:hpio",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.identifier"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.identifier.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "HealthcareService.identifier:hpio.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension",
      "min": 0,
      "definition": "Optional HL7 V2 routing content",
      "short": "Optional HL7 V2 routing content",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/au-assigningauthority"
      } ],
      "mustSupport": true,
      "sliceName": "hpioassigningauthority",
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "namespace-id",
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:namespace-id",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:namespace-id.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:namespace-id.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "namespace-id",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:namespace-id.url",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.valueString",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:namespace-id.valueString",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "universal-id",
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:universal-id",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:universal-id.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:universal-id.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "universal-id",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:universal-id.url",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.valueString",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:universal-id.valueString",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "universal-id-type",
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:universal-id-type",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:universal-id-type.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:universal-id-type.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "universal-id-type",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:universal-id-type.url",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.valueString",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.extension:universal-id-type.valueString",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "HealthcareService.identifier.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org.au/fhir/StructureDefinition/au-assigningauthority",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.url",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "HealthcareService.identifier.extension.value[x]",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "base64Binary"
      }, {
        "code": "boolean"
      }, {
        "code": "code"
      }, {
        "code": "date"
      }, {
        "code": "dateTime"
      }, {
        "code": "decimal"
      }, {
        "code": "id"
      }, {
        "code": "instant"
      }, {
        "code": "integer"
      }, {
        "code": "markdown"
      }, {
        "code": "oid"
      }, {
        "code": "positiveInt"
      }, {
        "code": "string"
      }, {
        "code": "time"
      }, {
        "code": "unsignedInt"
      }, {
        "code": "uri"
      }, {
        "code": "Address"
      }, {
        "code": "Age"
      }, {
        "code": "Annotation"
      }, {
        "code": "Attachment"
      }, {
        "code": "CodeableConcept"
      }, {
        "code": "Coding"
      }, {
        "code": "ContactPoint"
      }, {
        "code": "Count"
      }, {
        "code": "Distance"
      }, {
        "code": "Duration"
      }, {
        "code": "HumanName"
      }, {
        "code": "Identifier"
      }, {
        "code": "Money"
      }, {
        "code": "Period"
      }, {
        "code": "Quantity"
      }, {
        "code": "Range"
      }, {
        "code": "Ratio"
      }, {
        "code": "Reference"
      }, {
        "code": "SampledData"
      }, {
        "code": "Signature"
      }, {
        "code": "Timing"
      }, {
        "code": "Meta"
      } ],
      "max": "0",
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "HealthcareService.identifier.use",
      "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
      "min": 0,
      "definition": "The purpose of this identifier.",
      "isModifier": true,
      "short": "usual | official | temp | secondary (If known)",
      "mapping": [ {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "Role.code or implied by context",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IdentifierUse"
        } ],
        "description": "Identifies the purpose for this identifier, if known .",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
        }
      },
      "max": "1",
      "id": "HealthcareService.identifier:hpio.use",
      "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.use"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.type",
      "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
      "min": 1,
      "definition": "Element describing the type of identifier",
      "short": "HPI-O Identifier Type",
      "mapping": [ {
        "map": "CX.5",
        "identity": "v2"
      }, {
        "map": "Role.code or implied by context",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "valueSetUri": "http://hl7.org.au/fhir/ValueSet/valueset-au-hl7v2-0203"
      },
      "max": "1",
      "id": "HealthcareService.identifier:hpio.type",
      "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. \n\nWhere the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.type"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.type.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.type.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.identifier.type.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HealthcareService.identifier:hpio.type.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.type.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 0,
      "definition": "Coding for the identifier type",
      "short": "HPI-O Identifier Type Code",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "fixedCoding": {
        "code": "NOI",
        "system": "http://hl7.org.au/fhir/v2/0203",
        "display": "National Organisation Identifier"
      },
      "max": "1",
      "id": "HealthcareService.identifier:hpio.type.coding",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.type.text",
      "requirements": "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": 1,
      "definition": "Descriptive text for the identifier type",
      "short": "HPI-O Identifier Type Descriptive Text",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "fixedString": "HPI-O",
      "id": "HealthcareService.identifier:hpio.type.text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.system",
      "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
      "min": 1,
      "definition": "This namespace is used for qualified identifiers to represent Healthcare Provider Identifier for Organisations (HPI-O) numbers. An example of the syntax of a HPI-O represented as a qualified identifer using this namespace is: http://ns.electronichealth.net.au/id/hi/hpio/1.0/8003620000000000",
      "short": "Namespace uri for HPI-O values",
      "fixedUri": "http://ns.electronichealth.net.au/id/hi/hpio/1.0",
      "mapping": [ {
        "map": "CX.4 / EI-2-4",
        "identity": "v2"
      }, {
        "map": "II.root or Role.id.root",
        "identity": "rim"
      }, {
        "map": "./IdentifierType",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.system",
      "example": [ {
        "label": "General",
        "valueUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.system"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.value",
      "min": 1,
      "definition": "Identifier for the healthcare service organization that is used to identify the organization across multiple disparate systems.",
      "short": "The value that is unique",
      "mapping": [ {
        "map": "CX.1 / EI.1",
        "identity": "v2"
      }, {
        "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)",
        "identity": "rim"
      }, {
        "map": "./Value",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.value",
      "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html).",
      "maxLength": 16,
      "example": [ {
        "label": "General",
        "valueString": "123456"
      }, {
        "label": "HPI-O number",
        "valueString": "8003627500000328"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.value"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.period",
      "min": 0,
      "definition": "Time period during which identifier is/was valid for use.",
      "short": "Time period when id is/was valid for use",
      "mapping": [ {
        "map": "CX.7 + CX.8",
        "identity": "v2"
      }, {
        "map": "Role.effectiveTime or implied by context",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.period"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.assigner",
      "min": 0,
      "definition": "Organization that issued/manages the identifier.",
      "short": "Organization that issued id (may be just text)",
      "mapping": [ {
        "map": "CX.4 / (CX.4,CX.9,CX.10)",
        "identity": "v2"
      }, {
        "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper",
        "identity": "rim"
      }, {
        "map": "./IdentifierIssuingAuthority",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:hpio.assigner",
      "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.assigner"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier",
      "min": 0,
      "definition": "Vendor allocated directory identifier this can be used for search for specific healtchare service directory entry and/or for routing of messages.",
      "short": "Secure Messaging Vendor's Healthcare Service Identifier",
      "mapping": [ {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "id",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "mustSupport": true,
      "sliceName": "pdvendor",
      "max": "*",
      "id": "HealthcareService.identifier:pdvendor",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.identifier"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.identifier.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "HealthcareService.identifier:pdvendor.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension",
      "min": 0,
      "definition": "Optional Extension Element - found in all resources.",
      "short": "Optional Extensions Element",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/au-assigningauthority"
      } ],
      "mustSupport": true,
      "sliceName": "pdvendorassigningauthority",
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "namespace-id",
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:namespace-id",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:namespace-id.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:namespace-id.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "namespace-id",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:namespace-id.url",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.valueString",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:namespace-id.valueString",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "universal-id",
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:universal-id",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:universal-id.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:universal-id.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "universal-id",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:universal-id.url",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.valueString",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:universal-id.valueString",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension",
      "min": 0,
      "definition": "An Extension",
      "short": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "universal-id-type",
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:universal-id-type",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:universal-id-type.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:universal-id-type.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "universal-id-type",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:universal-id-type.url",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "HealthcareService.identifier.extension.extension.valueString",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.extension:universal-id-type.valueString",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "HealthcareService.identifier.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org.au/fhir/StructureDefinition/au-assigningauthority",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.url",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      }
    }, {
      "path": "HealthcareService.identifier.extension.value[x]",
      "min": 0,
      "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).",
      "short": "Value of extension",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "base64Binary"
      }, {
        "code": "boolean"
      }, {
        "code": "code"
      }, {
        "code": "date"
      }, {
        "code": "dateTime"
      }, {
        "code": "decimal"
      }, {
        "code": "id"
      }, {
        "code": "instant"
      }, {
        "code": "integer"
      }, {
        "code": "markdown"
      }, {
        "code": "oid"
      }, {
        "code": "positiveInt"
      }, {
        "code": "string"
      }, {
        "code": "time"
      }, {
        "code": "unsignedInt"
      }, {
        "code": "uri"
      }, {
        "code": "Address"
      }, {
        "code": "Age"
      }, {
        "code": "Annotation"
      }, {
        "code": "Attachment"
      }, {
        "code": "CodeableConcept"
      }, {
        "code": "Coding"
      }, {
        "code": "ContactPoint"
      }, {
        "code": "Count"
      }, {
        "code": "Distance"
      }, {
        "code": "Duration"
      }, {
        "code": "HumanName"
      }, {
        "code": "Identifier"
      }, {
        "code": "Money"
      }, {
        "code": "Period"
      }, {
        "code": "Quantity"
      }, {
        "code": "Range"
      }, {
        "code": "Ratio"
      }, {
        "code": "Reference"
      }, {
        "code": "SampledData"
      }, {
        "code": "Signature"
      }, {
        "code": "Timing"
      }, {
        "code": "Meta"
      } ],
      "max": "0",
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      }
    }, {
      "path": "HealthcareService.identifier.use",
      "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
      "min": 0,
      "definition": "The purpose of this identifier.",
      "isModifier": true,
      "short": "usual | official | temp | secondary (If known)",
      "mapping": [ {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "Role.code or implied by context",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IdentifierUse"
        } ],
        "description": "Identifies the purpose for this identifier, if known .",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
        }
      },
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.use",
      "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.use"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.type",
      "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
      "min": 1,
      "definition": "Element describing the type of identifier",
      "short": "Vendor Directory Identifier Type",
      "mapping": [ {
        "map": "CX.5",
        "identity": "v2"
      }, {
        "map": "Role.code or implied by context",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IdentifierType"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "valueSetUri": "http://hl7.org.au/fhir/ValueSet/valueset-au-hl7v2-0203"
      },
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.type",
      "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. \n\nWhere the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.type"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.type.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.type.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.identifier.type.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HealthcareService.identifier:pdvendor.type.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.type.coding",
      "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
      "min": 1,
      "definition": "Type code for vendor directory identifier",
      "short": "Vendor Directory Identifier",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "fixedCoding": {
        "code": "VDI",
        "display": "Vendor Directory Identifier"
      },
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.type.coding",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.type.text",
      "requirements": "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": 1,
      "definition": "Vendor Directory Identifier type descripition",
      "short": "Vendor Directory Identifier Type",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "fixedString": "Vendor Directory Identifier",
      "id": "HealthcareService.identifier:pdvendor.type.text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.system",
      "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
      "min": 1,
      "definition": "Unique namespace for the assigning vendor's identifier value.",
      "short": "Vendor allocated URL",
      "mapping": [ {
        "map": "CX.4 / EI-2-4",
        "identity": "v2"
      }, {
        "map": "II.root or Role.id.root",
        "identity": "rim"
      }, {
        "map": "./IdentifierType",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.system",
      "example": [ {
        "label": "General",
        "valueUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.system"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.value",
      "min": 1,
      "definition": "Assigning vendor's identifier value.",
      "short": "Vendor Identifier Value",
      "mapping": [ {
        "map": "CX.1 / EI.1",
        "identity": "v2"
      }, {
        "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)",
        "identity": "rim"
      }, {
        "map": "./Value",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.value",
      "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html).",
      "example": [ {
        "label": "General",
        "valueString": "123456"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.value"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.period",
      "min": 0,
      "definition": "Time period during which identifier is/was valid for use.",
      "short": "Time period when id is/was valid for use",
      "mapping": [ {
        "map": "CX.7 + CX.8",
        "identity": "v2"
      }, {
        "map": "Role.effectiveTime or implied by context",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.period"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.assigner",
      "min": 1,
      "definition": "Organization that issued/manages the identifier.",
      "short": "Organization that issued id (may be just text)",
      "mapping": [ {
        "map": "CX.4 / (CX.4,CX.9,CX.10)",
        "identity": "v2"
      }, {
        "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper",
        "identity": "rim"
      }, {
        "map": "./IdentifierIssuingAuthority",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.assigner",
      "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.assigner"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.assigner.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.assigner.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.identifier.assigner.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HealthcareService.identifier:pdvendor.assigner.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.identifier.assigner.reference",
      "min": 0,
      "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
      "short": "Literal reference, Relative, internal or absolute URL",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.assigner.reference",
      "condition": [ "ref-1" ],
      "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.reference"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.assigner.identifier",
      "min": 0,
      "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
      "short": "Logical reference, when literal reference is not known",
      "mapping": [ {
        "map": ".identifier",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.assigner.identifier",
      "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.identifier"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.identifier.assigner.display",
      "min": 1,
      "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
      "short": "Text alternative for the resource",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "HealthcareService.identifier:pdvendor.assigner.display",
      "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.display"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.active",
      "min": 0,
      "definition": "Whether this healthcareservice record is in active use.",
      "isModifier": true,
      "short": "Whether this healthcareservice is in active use",
      "mapping": [ {
        "map": ".statusCode",
        "identity": "rim"
      }, {
        "map": "status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "defaultValueBoolean": true,
      "max": "1",
      "id": "HealthcareService.active",
      "comment": "This element is labeled as a modifier because it may be used to mark that the resource was created in error.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.active"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.providedBy",
      "min": 1,
      "definition": "The organization that provides this healthcare service.",
      "short": "Organization that provides this service",
      "mapping": [ {
        "map": ".scopingRole.Organization",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-pd-organisation"
      } ],
      "max": "1",
      "id": "HealthcareService.providedBy",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.providedBy"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.category",
      "min": 0,
      "definition": "Identifies the broad category of service being performed or delivered.",
      "short": "Broad category of service being performed or delivered",
      "mapping": [ {
        "map": ".code",
        "identity": "rim"
      }, {
        "map": "class",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "service-category"
        } ],
        "description": "A category of the service(s) that could be provided.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/service-category"
        }
      },
      "alias": [ "service category" ],
      "max": "1",
      "id": "HealthcareService.category",
      "comment": "Selecting a Service Category then determines the list of relevant service types that can be selected in the primary service type.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.category"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.type",
      "min": 0,
      "definition": "The specific type of service that may be delivered or performed.",
      "short": "Type of service that may be delivered or performed",
      "mapping": [ {
        "map": ".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "service-type"
        } ],
        "description": "Additional details about where the content was created (e.g. clinical specialty).",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/service-type"
        }
      },
      "alias": [ "service type" ],
      "max": "*",
      "id": "HealthcareService.type",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.type"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.specialty",
      "min": 1,
      "definition": "Collection of specialties handled by the service site. This is more of a medical term.",
      "short": "Specialties handled by the HealthcareService",
      "mapping": [ {
        "map": ".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].code",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "coding.system",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "preferred",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "service-specialty"
        } ],
        "description": "A specialty that a healthcare service may provide.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes"
        }
      },
      "max": "*",
      "id": "HealthcareService.specialty",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.specialty"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.specialty",
      "min": 0,
      "definition": "Collection of specialties handled by the service site. This is more of a medical term.",
      "short": "Specialties handled by the HealthcareService",
      "mapping": [ {
        "map": ".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "sliceName": "nhsdhealthcareservicerole",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "service-specialty"
        } ],
        "description": "NHSD Healthcare Service Roles",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/valueset-nhsd-healthcareservice-services"
        }
      },
      "max": "*",
      "id": "HealthcareService.specialty:nhsdhealthcareservicerole",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.specialty"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.specialty",
      "min": 0,
      "definition": "Collection of specialties handled by the service site. This is more of a medical term.",
      "short": "Specialties handled by the HealthcareService",
      "mapping": [ {
        "map": ".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "sliceName": "snomedservicerole",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "service-specialty"
        } ],
        "description": "Healthcare Service Role",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/valueset-snomed-healthcareservice-role"
        }
      },
      "max": "*",
      "id": "HealthcareService.specialty:snomedservicerole",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.specialty"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.location",
      "min": 1,
      "definition": "The location(s) where this healthcare service may be provided.",
      "short": "Location(s) where service may be provided",
      "mapping": [ {
        "map": ".location.role[classCode=SDLOC]",
        "identity": "rim"
      }, {
        "map": "where",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-pd-location"
      } ],
      "max": "1",
      "id": "HealthcareService.location",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.location"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.name",
      "min": 1,
      "definition": "Further description of the service as it would be presented to a consumer while searching.",
      "short": "Description of service as presented to a consumer while searching",
      "mapping": [ {
        "map": ".name",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "HealthcareService.name",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.name"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.comment",
      "min": 0,
      "definition": "Any additional description of the service and/or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName.",
      "short": "Additional description and/or any specific issues not covered elsewhere",
      "mapping": [ {
        "map": ".location.role[classCode=SDLOC].desc",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.comment",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.comment"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.extraDetails",
      "min": 0,
      "definition": "Extra details about the service that can't be placed in the other fields.",
      "short": "Extra details about the service that can't be placed in the other fields",
      "mapping": [ {
        "map": ".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].text",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.extraDetails",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.extraDetails"
      }
    }, {
      "path": "HealthcareService.photo",
      "min": 0,
      "definition": "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.",
      "short": "Facilitates quick identification of the service",
      "mapping": [ {
        "map": ".actrelationship[typeCode=SBJ].observation.value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Attachment"
      } ],
      "max": "1",
      "id": "HealthcareService.photo",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.photo"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.telecom",
      "min": 0,
      "definition": "List of contacts related to this specific healthcare service.",
      "short": "Contacts related to the healthcare service",
      "mapping": [ {
        "map": ".telecom",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "ContactPoint"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "HealthcareService.telecom",
      "comment": "If this is empty, then refer to the location's contacts.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.telecom"
      }
    }, {
      "path": "HealthcareService.coverageArea",
      "min": 0,
      "definition": "The location(s) that this service is available to (not where the service is provided).",
      "short": "Location(s) service is inteded for/available to",
      "mapping": [ {
        "map": ".location.role[classCode=SDLOC].subjectOf.A_SpatialCoordinate",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
      } ],
      "max": "*",
      "id": "HealthcareService.coverageArea",
      "comment": "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\".",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.coverageArea"
      }
    }, {
      "path": "HealthcareService.serviceProvisionCode",
      "min": 0,
      "definition": "The code(s) that detail the conditions under which the healthcare service is available/offered.",
      "short": "Conditions under which service is available/offered",
      "mapping": [ {
        "map": ".actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ServiceProvisionConditions"
        } ],
        "description": "The code(s) that detail the conditions under which the healthcare service is available/offered.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/service-provision-conditions"
        }
      },
      "max": "*",
      "id": "HealthcareService.serviceProvisionCode",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.serviceProvisionCode"
      }
    }, {
      "path": "HealthcareService.eligibility",
      "min": 0,
      "definition": "Does this service have specific eligibility requirements that need to be met in order to use the service?",
      "short": "Specific eligibility requirements required to use the service",
      "mapping": [ {
        "map": ".actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ServiceEligibility"
        } ],
        "description": "Coded values underwhich a specific service is made available."
      },
      "max": "1",
      "id": "HealthcareService.eligibility",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.eligibility"
      }
    }, {
      "path": "HealthcareService.eligibilityNote",
      "min": 0,
      "definition": "Describes the eligibility conditions for the service.",
      "short": "Describes the eligibility conditions for the service",
      "mapping": [ {
        "map": ".actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT].text",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.eligibilityNote",
      "comment": "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.eligibilityNote"
      }
    }, {
      "path": "HealthcareService.programName",
      "min": 0,
      "definition": "Program Names that can be used to categorize the service.",
      "short": "Program Names that categorize the service",
      "mapping": [ {
        "map": ".actrelationship[typeCode=PERT].observation",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "HealthcareService.programName",
      "comment": "Programs are often defined externally to an Organization, commonly by governments; e.g. Home and Community Care Programs, Homeless Program, ….",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.programName"
      }
    }, {
      "path": "HealthcareService.characteristic",
      "min": 0,
      "definition": "Collection of characteristics (attributes).",
      "short": "Collection of characteristics (attributes)",
      "mapping": [ {
        "map": ".actrelationship[typeCode=PERT].observation",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ServiceCharacteristic"
        } ],
        "description": "A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy)."
      },
      "max": "*",
      "id": "HealthcareService.characteristic",
      "comment": "These could be such things as is wheelchair accessible.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.characteristic"
      }
    }, {
      "path": "HealthcareService.referralMethod",
      "min": 0,
      "definition": "Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required.",
      "short": "Ways that the service accepts referrals",
      "mapping": [ {
        "map": ".actrelationship[typeCode=PERT].observation",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ReferralMethod"
        } ],
        "description": "The methods of referral can be used when referring to a specific HealthCareService resource.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/service-referral-method"
        }
      },
      "max": "*",
      "id": "HealthcareService.referralMethod",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.referralMethod"
      }
    }, {
      "path": "HealthcareService.appointmentRequired",
      "min": 0,
      "definition": "Indicates whether or not a prospective consumer will require an appointment for a particular service at a site to be provided by the Organization. Indicates if an appointment is required for access to this service.",
      "short": "If an appointment is required for access to this service",
      "mapping": [ {
        "map": ".actrelationship[typeCode=PERT].observation",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "HealthcareService.appointmentRequired",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.appointmentRequired"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "HealthcareService.availableTime",
      "min": 0,
      "definition": "A collection of times that the Service Site is available.",
      "short": "Times the Service Site is available",
      "mapping": [ {
        "map": ".effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "HealthcareService.availableTime",
      "comment": "More detailed availability information may be provided in associated Schedule/Slot resources.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.availableTime"
      }
    }, {
      "path": "HealthcareService.availableTime.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.availableTime.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.availableTime.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HealthcareService.availableTime.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.availableTime.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "HealthcareService.availableTime.modifierExtension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.availableTime.daysOfWeek",
      "min": 0,
      "definition": "Indicates which days of the week are available between the start and end Times.",
      "short": "mon | tue | wed | thu | fri | sat | sun",
      "mapping": [ {
        "map": ".effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DaysOfWeek"
        } ],
        "description": "The days of the week.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/days-of-week"
        }
      },
      "max": "*",
      "id": "HealthcareService.availableTime.daysOfWeek",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.availableTime.daysOfWeek"
      }
    }, {
      "path": "HealthcareService.availableTime.allDay",
      "min": 0,
      "definition": "Is this always available? (hence times are irrelevant) e.g. 24 hour service.",
      "short": "Always available? e.g. 24 hour service",
      "mapping": [ {
        "map": ".effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "HealthcareService.availableTime.allDay",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.availableTime.allDay"
      }
    }, {
      "path": "HealthcareService.availableTime.availableStartTime",
      "min": 0,
      "definition": "The opening time of day. Note: If the AllDay flag is set, then this time is ignored.",
      "short": "Opening time of day (ignored if allDay = true)",
      "mapping": [ {
        "map": ".effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "time"
      } ],
      "max": "1",
      "id": "HealthcareService.availableTime.availableStartTime",
      "comment": "The timezone is expected to be for where this HealthcareService is provided at.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.availableTime.availableStartTime"
      }
    }, {
      "path": "HealthcareService.availableTime.availableEndTime",
      "min": 0,
      "definition": "The closing time of day. Note: If the AllDay flag is set, then this time is ignored.",
      "short": "Closing time of day (ignored if allDay = true)",
      "mapping": [ {
        "map": ".effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "time"
      } ],
      "max": "1",
      "id": "HealthcareService.availableTime.availableEndTime",
      "comment": "The timezone is expected to be for where this HealthcareService is provided at.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.availableTime.availableEndTime"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "HealthcareService.notAvailable",
      "min": 0,
      "definition": "The HealthcareService is not available during this period of time due to the provided reason.",
      "short": "Not available during this time due to provided reason",
      "mapping": [ {
        "map": ".effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "HealthcareService.notAvailable",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.notAvailable"
      }
    }, {
      "path": "HealthcareService.notAvailable.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "HealthcareService.notAvailable.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "HealthcareService.notAvailable.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "HealthcareService.notAvailable.extension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "HealthcareService.notAvailable.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "HealthcareService.notAvailable.modifierExtension",
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "HealthcareService.notAvailable.description",
      "min": 1,
      "definition": "The reason that can be presented to the user as to why this time is not available.",
      "short": "Reason presented to the user explaining why time not available",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.notAvailable.description",
      "base": {
        "max": "1",
        "min": 1,
        "path": "HealthcareService.notAvailable.description"
      }
    }, {
      "path": "HealthcareService.notAvailable.during",
      "min": 0,
      "definition": "Service is not available (seasonally or for a public holiday) from this date.",
      "short": "Service not availablefrom this date",
      "mapping": [ {
        "map": ".effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "HealthcareService.notAvailable.during",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.notAvailable.during"
      }
    }, {
      "path": "HealthcareService.availabilityExceptions",
      "min": 0,
      "definition": "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.",
      "short": "Description of availability exceptions",
      "mapping": [ {
        "map": ".effectiveTime",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "HealthcareService.availabilityExceptions",
      "base": {
        "max": "1",
        "min": 0,
        "path": "HealthcareService.availabilityExceptions"
      }
    }, {
      "path": "HealthcareService.endpoint",
      "requirements": "Organizations may have different systems covering different services at the different locations and need to be able to define the technical connection details for how to connect to them, and for what purpose.",
      "min": 0,
      "definition": "Technical endpoints providing access to services operated for the specific healthcare services defined at this resource.",
      "short": "Technical endpoints providing access to services operated for the location",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-pd-sm-endpoint"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "HealthcareService.endpoint",
      "base": {
        "max": "*",
        "min": 0,
        "path": "HealthcareService.endpoint"
      }
    } ]
  },
  "status": "draft",
  "id": "618a8339-138d-4f6f-8717-ee0e065dbc3d",
  "kind": "resource",
  "url": "http://hl7.org.au/fhir/StructureDefinition/au-pd-healthcareservice",
  "version": null,
  "differential": {
    "element": [ {
      "id": "HealthcareService",
      "path": "HealthcareService",
      "short": "Healthcare Service Directory Entry"
    }, {
      "id": "HealthcareService.identifier",
      "path": "HealthcareService.identifier",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        }, {
          "path": "type",
          "type": "value"
        } ]
      }
    }, {
      "id": "HealthcareService.identifier:hpio",
      "max": "1",
      "path": "HealthcareService.identifier",
      "short": "HPI-O",
      "sliceName": "hpio",
      "constraint": [ {
        "key": "inv-hpio-0",
        "human": "HPI-O is exactly 16 characters",
        "severity": "error",
        "expression": "value.length() = 16"
      }, {
        "key": "inv-hpio-1",
        "human": "HPI-O prefix is 800362",
        "severity": "error",
        "expression": "value.startsWith('800362')"
      } ],
      "definition": "National identifier Health Provider Identifier for Organisations for Healthcare Service",
      "mustSupport": true
    }, {
      "id": "HealthcareService.identifier:hpio.extension",
      "path": "HealthcareService.identifier.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "HealthcareService.identifier:hpio.extension:hpioassigningauthority",
      "max": "1",
      "path": "HealthcareService.identifier.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/au-assigningauthority"
      } ],
      "short": "Optional HL7 V2 routing content",
      "sliceName": "hpioassigningauthority",
      "definition": "Optional HL7 V2 routing content",
      "mustSupport": true
    }, {
      "id": "HealthcareService.identifier:hpio.type",
      "min": 1,
      "path": "HealthcareService.identifier.type",
      "short": "HPI-O Identifier Type",
      "binding": {
        "strength": "extensible",
        "valueSetUri": "http://hl7.org.au/fhir/ValueSet/valueset-au-hl7v2-0203"
      },
      "definition": "Element describing the type of identifier"
    }, {
      "id": "HealthcareService.identifier:hpio.type.coding",
      "max": "1",
      "path": "HealthcareService.identifier.type.coding",
      "short": "HPI-O Identifier Type Code",
      "definition": "Coding for the identifier type",
      "fixedCoding": {
        "code": "NOI",
        "system": "http://hl7.org.au/fhir/v2/0203",
        "display": "National Organisation Identifier"
      }
    }, {
      "id": "HealthcareService.identifier:hpio.type.text",
      "min": 1,
      "path": "HealthcareService.identifier.type.text",
      "short": "HPI-O Identifier Type Descriptive Text",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "definition": "Descriptive text for the identifier type",
      "fixedString": "HPI-O"
    }, {
      "id": "HealthcareService.identifier:hpio.system",
      "min": 1,
      "path": "HealthcareService.identifier.system",
      "short": "Namespace uri for HPI-O values",
      "fixedUri": "http://ns.electronichealth.net.au/id/hi/hpio/1.0",
      "definition": "This namespace is used for qualified identifiers to represent Healthcare Provider Identifier for Organisations (HPI-O) numbers. An example of the syntax of a HPI-O represented as a qualified identifer using this namespace is: http://ns.electronichealth.net.au/id/hi/hpio/1.0/8003620000000000"
    }, {
      "id": "HealthcareService.identifier:hpio.value",
      "min": 1,
      "path": "HealthcareService.identifier.value",
      "example": [ {
        "label": "HPI-O number",
        "valueString": "8003627500000328"
      } ],
      "maxLength": 16,
      "definition": "Identifier for the healthcare service organization that is used to identify the organization across multiple disparate systems."
    }, {
      "id": "HealthcareService.identifier:pdvendor",
      "path": "HealthcareService.identifier",
      "short": "Secure Messaging Vendor's Healthcare Service Identifier",
      "sliceName": "pdvendor",
      "definition": "Vendor allocated directory identifier this can be used for search for specific healtchare service directory entry and/or for routing of messages.",
      "mustSupport": true
    }, {
      "id": "HealthcareService.identifier:pdvendor.extension",
      "path": "HealthcareService.identifier.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "HealthcareService.identifier:pdvendor.extension:pdvendorassigningauthority",
      "max": "1",
      "path": "HealthcareService.identifier.extension",
      "type": [ {
        "code": "Extension",
        "profile": "http://hl7.org.au/fhir/StructureDefinition/au-assigningauthority"
      } ],
      "short": "Optional Extensions Element",
      "sliceName": "pdvendorassigningauthority",
      "definition": "Optional Extension Element - found in all resources.",
      "mustSupport": true
    }, {
      "id": "HealthcareService.identifier:pdvendor.type",
      "min": 1,
      "path": "HealthcareService.identifier.type",
      "short": "Vendor Directory Identifier Type",
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IdentifierType"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "valueSetUri": "http://hl7.org.au/fhir/ValueSet/valueset-au-hl7v2-0203"
      },
      "definition": "Element describing the type of identifier"
    }, {
      "id": "HealthcareService.identifier:pdvendor.type.coding",
      "max": "1",
      "min": 1,
      "path": "HealthcareService.identifier.type.coding",
      "short": "Vendor Directory Identifier",
      "definition": "Type code for vendor directory identifier",
      "fixedCoding": {
        "code": "VDI",
        "display": "Vendor Directory Identifier"
      }
    }, {
      "id": "HealthcareService.identifier:pdvendor.type.text",
      "min": 1,
      "path": "HealthcareService.identifier.type.text",
      "short": "Vendor Directory Identifier Type",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "definition": "Vendor Directory Identifier type descripition",
      "fixedString": "Vendor Directory Identifier"
    }, {
      "id": "HealthcareService.identifier:pdvendor.system",
      "min": 1,
      "path": "HealthcareService.identifier.system",
      "short": "Vendor allocated URL",
      "definition": "Unique namespace for the assigning vendor's identifier value."
    }, {
      "id": "HealthcareService.identifier:pdvendor.value",
      "min": 1,
      "path": "HealthcareService.identifier.value",
      "short": "Vendor Identifier Value",
      "definition": "Assigning vendor's identifier value."
    }, {
      "id": "HealthcareService.identifier:pdvendor.assigner",
      "min": 1,
      "path": "HealthcareService.identifier.assigner"
    }, {
      "id": "HealthcareService.identifier:pdvendor.assigner.display",
      "min": 1,
      "path": "HealthcareService.identifier.assigner.display",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ]
    }, {
      "id": "HealthcareService.providedBy",
      "min": 1,
      "path": "HealthcareService.providedBy",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-pd-organisation"
      } ]
    }, {
      "id": "HealthcareService.specialty",
      "min": 1,
      "path": "HealthcareService.specialty",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "coding.system",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "HealthcareService.specialty:nhsdhealthcareservicerole",
      "path": "HealthcareService.specialty",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "service-specialty"
        } ],
        "description": "NHSD Healthcare Service Roles",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/valueset-nhsd-healthcareservice-services"
        }
      },
      "sliceName": "nhsdhealthcareservicerole"
    }, {
      "id": "HealthcareService.specialty:snomedservicerole",
      "path": "HealthcareService.specialty",
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "service-specialty"
        } ],
        "description": "Healthcare Service Role",
        "valueSetReference": {
          "reference": "http://hl7.org.au/fhir/ValueSet/valueset-snomed-healthcareservice-role"
        }
      },
      "sliceName": "snomedservicerole"
    }, {
      "id": "HealthcareService.location",
      "max": "1",
      "min": 1,
      "path": "HealthcareService.location",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-pd-location"
      } ]
    }, {
      "id": "HealthcareService.name",
      "min": 1,
      "path": "HealthcareService.name",
      "mustSupport": true
    }, {
      "id": "HealthcareService.telecom",
      "path": "HealthcareService.telecom",
      "mustSupport": true
    }, {
      "id": "HealthcareService.endpoint",
      "path": "HealthcareService.endpoint",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org.au/fhir/StructureDefinition/au-pd-sm-endpoint"
      } ],
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/HealthcareService"
}