{
  "resourceType": "StructureDefinition",
  "id": "CA-eReC-HealthcareService",
  "url": "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-HealthcareService",
  "name": "HealthcareService",
  "status": "draft",
  "description": "The HealthcareService resources contains details around the service being provided to the patient.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "HealthcareService",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/HealthcareService",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "HealthcareService.meta",
        "path": "HealthcareService.meta",
        "mustSupport": true
      },
      {
        "id": "HealthcareService.meta.profile",
        "path": "HealthcareService.meta.profile",
        "mustSupport": true,
        "comment": "Implementers should be aware that some Canadian jurisdictions require vendors to use meta.profile to declare which FHIR profile(s) and version(s) the resource conforms to."
      },
      {
        "id": "HealthcareService.identifier",
        "path": "HealthcareService.identifier",
        "mustSupport": true
      },
      {
        "id": "HealthcareService.identifier.system",
        "path": "HealthcareService.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "HealthcareService.identifier.value",
        "path": "HealthcareService.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "HealthcareService.type",
        "path": "HealthcareService.type",
        "min": 1,
        "max": "*",
        "binding": {
          "strength": "preferred",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/referralservicecategorycode"
        },
        "mustSupport": true
      },
      {
        "id": "HealthcareService.name",
        "path": "HealthcareService.name",
        "mustSupport": true
      }
    ]
  }
}