### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/HealthcareService.json
### ----------------------------------------------------
### -- Chunk 7 of 8
 },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "service-type"
        }],
        "strength" : "example",
        "description" : "Additional details about where the content was created (e.g. clinical specialty).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/service-type"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].code"
      }]
    },
    {
      "id" : "HealthcareService.specialty",
      "path" : "HealthcareService.specialty",
      "short" : "Specialties handled by the HealthcareService",
      "definition" : "Collection of specialties handled by the service site. This is more of a medical term.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "HealthcareService.specialty",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "service-specialty"
        }],
        "strength" : "preferred",
        "description" : "A specialty that a healthcare service may provide.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/c80-practice-codes"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].code"
      }]
    },
    {
      "id" : "HealthcareService.location",
      "path" : "HealthcareService.location",
      "short" : "Location(s) where service may be provided",
      "definition" : "The location(s) where this healthcare service may be provided.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "HealthcareService.location",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.where[x]"
      },
      {
        "identity" : "rim",
        "map" : ".location.role[classCode=SDLOC]"
      }]
    },
    {
      "id" : "HealthcareService.name",
      "path" : "HealthcareService.name",
      "short" : "Description of service as presented to a consumer while searching",
      "definition" : "Further description of the service as it would be presented to a consumer while searching.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "HealthcareService.name",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".name"
      }]
    },
    {
      "id" : "HealthcareService.comment",
      "path" : "HealthcareService.comment",
      "short" : "Additional description and/or any specific issues not covered elsewhere",
      "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.",
      "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.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "HealthcareService.comment",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".location.role[classCode=SDLOC].desc"
      }]
    },
    {
      "id" : "HealthcareService.extraDetails",
      "path" : "HealthcareService.extraDetails",
      "short" : "Extra details about the service that can't be placed in the other fields",
      "definition" : "Extra details about the service that can't be placed in the other fields.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "HealthcareService.extraDetails",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "markdown"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].text"
      }]
    },
    {
      "id" : "HealthcareService.photo",
      "path" : "HealthcareService.photo",
      "short" : "Facilitates quick identification of the service",
      "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.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "HealthcareService.photo",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Attachment"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".actrelationship[typeCode=SBJ].observation.value"
      }]
    },
    {
      "id" : "HealthcareService.telecom",
      "path" : "HealthcareService.telecom",
      "short" : "Contacts related to the healthcare service",
      "definition" : "List of contacts related to this specific healthcare service.",
      "comment" : "If this is empty, then refer to the location's contacts.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "HealthcareService.telecom",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "ContactPoint"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".telecom"
      }]
    },
    {
      "id" : "HealthcareService.coverageArea",
      "path" : "HealthcareService.coverageArea",
      "short" : "Location(s) service is intended for/available to",
      "definition" : "The location(s) that this service is available to (not where the service is provided).",
      "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\".",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "HealthcareService.coverageArea",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".location.role[classCode=SDLOC].subjectOf.A_SpatialCoordinate"
      }]
    },
    {
      "id" : "HealthcareService.serviceProvisionCode",
      "path" : "HealthcareService.serviceProvisionCode",
      "short" : "Conditions under which service is available/offered",
      "definition" : "The code(s) that detail the conditions under which the healthcare service is available/offered.",
      "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.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "HealthcareService.serviceProvisionCode",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ServiceProvisionConditions"
        }],
        "strength" : "example",
        "description" : "The code(s) that detail the conditions under which the healthcare service is available/offered.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/service-provision-conditions"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT]"
      }]
    },
    {
      "id" : "HealthcareService.eligibility",
      "path" : "HealthcareService.eligibility",
      "short" : "Specific eligibility requirements required to use the service",
      "definition" : "Does this service have specific eligibility requirements that need to be met in order to use the service?",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "HealthcareService.eligibility",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "HealthcareService.eligibility.id",
      "path" : "HealthcareService.eligibility.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "HealthcareService.eligibility.extension",
      "path" : "HealthcareService.eligibility.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the 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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "HealthcareService.eligibility.modifierExtension",
      "path" : "HealthcareService.eligibility.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "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.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "HealthcareService.eligibility.code",
      "path" : "HealthcareService.eligibility.code",
      "short" : "Coded value for the eligibility",
      "definition" : "Coded value for the eligibility.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "HealthcareService.eligibility.code",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ServiceEligibility"
        }],
        "strength" : "example",
        "description" : "Coded values underwhich a specific service is made available."
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT]"
      }]
    },
    {
      "id" : "HealthcareService.eligibility.comment",
      "path" : "HealthcareService.eligibility.comment",
      "short" : "Describes the eligibility conditions for the service",
      "definition" : "Describes the eligibility conditions for the service.",
      "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.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "HealthcareService.eligibility.comment",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "markdown"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT].text"
      }]
    },
    {
      "id" : "HealthcareService.program",
      "path" : "HealthcareService.program",
      "short" : "Programs that this service is applicable to",
      "definition" : "Programs that this service is applicable to.",
      "comment" : "Programs are often defined externally to an Organization, commonly by governments; e.g. Home and Community Care Programs, Homeless Program, ….",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "HealthcareService.program",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Program"
        }],
        "strength" : "example",
        "description" : "Government or local programs that this service applies to.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/program"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".actrelationship[typeCode=PERT].observation"
      }]
    },
    {
      "id" : "HealthcareService.characteristic",
      "path" : "HealthcareService.characteristic",
      "short" : "Collection of characteristics (attributes)",
      "definition" : "Collection of characteristics (attributes).",
      "comment" : "These could be such things as is wheelchair accessible.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "HealthcareService.characteristic",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ServiceCharacteristic"
        }],
        "strength" : "example",
        "description" : "A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy)."
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".actrelationship[typeCode=PERT].observation"
      }]
    },
    {
      "id" : "HealthcareService.communication",
      "path" : "HealthcareService.communication",
      "short" : "The language that this service is offered in",
      "definition" : "Some services are specifically made available in multiple languages, this property permits a directory to declare the languages this is offered in. Typically this is only provided where a service operates in communities with mixed languages used.",
      "comment" : "When using this property it indicates that the service is available with this language, it is not derived from the practitioners, and not all are required to use this language, just that this language is available while scheduling.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "HealthcareService.communication",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical" : "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
        }],
        "strength" : "preferred",
        "description" : "A human language.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
      }
    },
    {
      "id" : "HealthcareService.referralMethod",
      "path" : "HealthcareService.referralMethod",
      "short" : "Ways that the service accepts referrals",
      "definition" : "Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "HealthcareService.referralMethod",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ReferralMethod"
        }],
        "strength" : "example",
        "description" : "The methods of referral can be used when referring to a specific HealthCareService resource.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/service-referral-method"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".actrelationship[typeCode=PERT].observation"
      }]
    },
    {
      "id" : "HealthcareService.appointmentRequired",
      "path" : "HealthcareService.appointmentRequired",
      "short" : "If an appointment is required for access to this service",
      "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.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "HealthcareService.appointmentRequired",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "boolean"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".actrelationship[typeCode=PERT].observation"
      }]
    },
    {
      "id" : "HealthcareService.availableTime",
      "path" : "HealthcareService.availableTime",
      "short" : "Times the Service Site is available",
      "definition" : "A collection of times that the Service Site is available.",
      "comment" : "More detailed availability information may be provided in associated Schedule/Slot resources.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "HealthcareService.availableTime",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".effectiveTime"
      }]
    },
    {
      "id" : "HealthcareService.availableTime.id",
      "path" : "HealthcareService.availableTime.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "HealthcareService.availableTime.extension",
      "path" : "HealthcareService.availableTime.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the 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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "HealthcareService.availableTime.modifierExtension",
      "path" : "HealthcareService.availableTime.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "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.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "HealthcareService.availableTime.daysOfWeek",
      "path" : "HealthcareService.availableTime.daysOfWeek",
      "short" : "mon | tue | wed | thu | fri | sat | sun",
      "definition" : "Indicates which days of the week are available between the start and end Times.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "HealthcareService.availableTime.daysOfWeek",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "DaysOfWeek"
        }],
        "strength" : "required",
        "description" : "The days of the week.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/days-of-week|4.0.0"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".effectiveTime"
      }]
    },
    {
      "id" : "HealthcareService.availableTime.allDay",
      "path" : "HealthcareService.availableTime.allDay",
      "short" : "Always available? e.g. 24 hour service",
      "definition" : "Is this always available? (hence times are irrelevant) e.g. 24 hour service.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "HealthcareService.availableTime.allDay",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "boolean"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".effectiveTime"
      }]
    },
    {
      "id" : "HealthcareService.availableTime.availableStartTime",
      "path" : "HealthcareService.availableTime.availableStartTime",
      "short" : "Opening time of day (ignored if allDay = true)",
      "definition" : "The opening time of day. Note: If the AllDay flag is set, then this time is ignored.",
      "comment" : "The time zone is expected to be for where this HealthcareService is provided at.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "HealthcareService.availableTime.availableStartTime",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "time"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".effectiveTime"
      }]
    },
    {
      "id" : "HealthcareService.availableTime.availableEndTime",
      "path" : "HealthcareService.availableTime.availableEndTime",
      "short" : "Closing time of day (ignored if allDay = true)",
      "definition" : "The closing time of day. Note: If the AllDay flag is set, then this time is ignored.",
      "comment" : "The time zone is expected to be for where this HealthcareService is provided at.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "HealthcareService.availableTime.availableEndTime",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "time"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".effectiveTime"
      }]
    },
    {
      "id" : "HealthcareService.notAvailable",
      "path" : "HealthcareService.notAvailable",
      "short" : "Not available during this time due to provided reason",
      "definition" : "The HealthcareService is not available during this period of time due to the provided reason.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "HealthcareService.notAvailable",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".effectiveTime"
      }]
    },
    {
      "id" : "HealthcareService.notAvailable.id",
      "path" : "HealthcareService.notAvailable.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "HealthcareService.notAvailable.extension",
      "path" : "HealthcareService.notAvailable.extension",
