{
  "resourceType": "StructureDefinition",
  "id": "HealthcareServiceABeReC",
  "url": "https://www.alberta.ca/fhir/aberec/StructureDefinition/HealthcareServiceABeReC",
  "version": "1.1.0",
  "name": "HealthcareServiceABeReC",
  "title": "HealthcareService (AB:eReC)",
  "status": "draft",
  "description": "This profile defines a set of constraints to the FHIR HealthcareService resource for use in Alberta eReferral and eConsult (AB:eReC). It re-profiles the CA-eReC HealthcareService profile and it includes constraints that represent the minimum expectations for the HealthcareService resource when used in the AB:eReC.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "HealthcareService",
  "baseDefinition": "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-HealthcareService",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "HealthcareService",
        "path": "HealthcareService",
        "comment": "HealthcareService resources included in Alberta eReferral and eConsult Bundles have rules that certain attributes are not to be contained in HealthcareService resources. These are mechanically enforced through invariants at the AB:eReC Bundle level."
      },
      {
        "id": "HealthcareService.identifier",
        "path": "HealthcareService.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "HealthcareService.type",
        "path": "HealthcareService.type",
        "binding": {
          "strength": "preferred",
          "valueSet": "https://www.alberta.ca/fhir/ValueSet/specialty-code"
        }
      },
      {
        "id": "HealthcareService.name",
        "path": "HealthcareService.name",
        "min": 1
      }
    ]
  }
}