PackagesCanonicalsLogsProblems
    Packages
    package.teste@1.0.1-draft
    https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/HealthcareServicePTCore
description: null
package_name: package.teste
derivation: constraint
name: HealthcareServicePTCore
type: HealthcareService
elements:
  coverageArea:
    type: Reference
    refers: ['https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/LocationPTCore']
    index: 43
  category:
    type: CodeableConcept
    index: 6
    slicing:
      rules: open
      discriminator:
      - {path: id, type: value}
      min: null
      slices:
        valencia:
          match: {id: valencia}
          schema:
            type: CodeableConcept
            binding: {strength: required, valueSet: 'https://www.acss.min-saude.pt/circulares/Circular_Normativa/2015/Circular_Normativa_20_2015.pdf'}
            index: 7
            elements:
              id:
                pattern: {type: Id, value: valencia}
                index: 8
        subvalencia:
          match: {id: subvalencia}
          schema:
            type: CodeableConcept
            binding: {strength: required, valueSet: 'https://www.acss.min-saude.pt/circulares/Circular_Normativa/2015/Circular_Normativa_20_2015.pdf'}
            index: 9
            elements:
              id:
                pattern: {type: Id, value: subvalencia}
                index: 10
  availableTime:
    index: 61
    elements:
      daysOfWeek: {index: 62}
      allDay: {index: 63}
      availableStartTime: {index: 64}
      availableEndTime: {index: 65}
  meta: {type: Meta, index: 1}
  specialty:
    type: CodeableConcept
    index: 12
    slicing:
      rules: open
      discriminator:
      - {path: id, type: value}
      min: null
      slices:
        dentistSpecialty:
          match: {id: dentistSpecialty}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/especialidades-e-valencias-de-saude'}
            index: 17
            elements:
              id:
                pattern: {type: Id, value: dentistSpecialty}
                index: 18
        medicalPhysicsSpecialty:
          match: {id: medicalPhysicsSpecialty}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/especialidades-e-valencias-de-saude'}
            index: 13
            elements:
              id:
                pattern: {type: Id, value: medicalPhysicsSpecialty}
                index: 14
        pharmaceuticalSpecialty:
          match: {id: pharmaceuticalSpecialty}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/especialidades-e-valencias-de-saude'}
            index: 21
            elements:
              id:
                pattern: {type: Id, value: pharmaceuticalSpecialty}
                index: 22
        medicalSubSpecialty:
          match: {id: medicalSubSpecialty}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/especialidades-e-valencias-de-saude'}
            index: 31
            elements:
              id:
                pattern: {type: Id, value: medicalSubSpecialty}
                index: 32
        nursingSpecialty:
          match: {id: nursingSpecialty}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/especialidades-e-valencias-de-saude'}
            index: 15
            elements:
              id:
                pattern: {type: Id, value: nursingSpecialty}
                index: 16
        physiotherapySpecialty:
          match: {id: physiotherapySpecialty}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/especialidades-e-valencias-de-saude'}
            index: 25
            elements:
              id:
                pattern: {type: Id, value: physiotherapySpecialty}
                index: 26
        medicalSpecialty:
          match: {id: medicalSpecialty}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/especialidades-e-valencias-de-saude'}
            index: 19
            elements:
              id:
                pattern: {type: Id, value: medicalSpecialty}
                index: 20
        nutritionAndDieteticSpecialty:
          match: {id: nutritionAndDieteticSpecialty}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/especialidades-e-valencias-de-saude'}
            index: 23
            elements:
              id:
                pattern: {type: Id, value: nutritionAndDieteticSpecialty}
                index: 24
        psychologySpecialty:
          match: {id: psychologySpecialty}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/especialidades-e-valencias-de-saude'}
            index: 27
            elements:
              id:
                pattern: {type: Id, value: psychologySpecialty}
                index: 28
        psychologySubSpecialty:
          match: {id: psychologySubSpecialty}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/especialidades-e-valencias-de-saude'}
            index: 29
            elements:
              id:
                pattern: {type: Id, value: psychologySubSpecialty}
                index: 30
        medicalCompetence:
          match: {id: medicalCompetence}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/especialidades-e-valencias-de-saude'}
            index: 35
            elements:
              id:
                pattern: {type: Id, value: medicalCompetence}
                index: 36
        professionalTitle:
          match: {id: professionalTitle}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/categorias-profissionais-de-saude'}
            index: 33
            elements:
              id:
                pattern: {type: Id, value: professionalTitle}
                index: 34
  name: {index: 38}
  notAvailable:
    index: 66
    elements:
      description: {index: 67}
      during: {type: Period, index: 68}
  providedBy:
    type: Reference
    refers: ['https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/OrganizationPTCore']
    index: 5
  type:
    type: CodeableConcept
    binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/especialidades-e-valencias-de-saude'}
    index: 11
  eligibility:
    index: 45
    elements:
      code:
        type: CodeableConcept
        binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/apoio-ao-registo-clinico'}
        index: 46
      comment: {index: 47}
  extraDetails: {index: 40}
  characteristic:
    type: CodeableConcept
    index: 49
    slicing:
      rules: open
      discriminator:
      - {path: id, type: value}
      min: null
      slices:
        greenWay:
          match: {id: greenWay}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/apoio-ao-registo-administrativo'}
            index: 50
            elements:
              id:
                pattern: {type: Id, value: greenWay}
                index: 51
        triageSystem:
          match: {id: triageSystem}
          schema:
            index: 52
            elements:
              id:
                pattern: {type: Id, value: triageSystem}
                index: 53
        emergencyServiceType:
          match: {id: emergencyServiceType}
          schema:
            index: 54
            elements:
              id:
                pattern: {type: Id, value: emergencyServiceType}
                index: 55
        indirectEncounter:
          match: {id: indirectEncounter}
          schema:
            binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/apoio-ao-registo-administrativo'}
            index: 56
            elements:
              id:
                pattern: {type: Id, value: indirectEncounter}
                index: 57
  photo: {type: Attachment, index: 41}
  active: {index: 4}
  communication:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/all-languages'}
    index: 58
  id: {index: 0}
  comment: {index: 39}
  identifier:
    type: Identifier
    index: 2
    elements:
      type:
        elements:
          coding:
            elements:
              id: {index: 3}
  serviceProvisionCode: {index: 44}
  availabilityExceptions: {index: 69}
  appointmentRequired: {index: 60}
  referralMethod:
    type: CodeableConcept
    binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/apoio-ao-registo-administrativo'}
    index: 59
  telecom: {type: ContactPoint, index: 42}
  location:
    type: Reference
    refers: ['https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/LocationPTCore']
    index: 37
  program:
    type: CodeableConcept
    binding: {strength: required, valueSet: 'https://www.ctc.min-saude.pt/catalogos/especialidades-e-valencias-de-saude'}
    index: 48
  endpoint:
    type: Reference
    refers: ['https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/EndpointPTCore']
    index: 70
package_version: 1.0.1-draft
class: profile
kind: resource
url: https://spms.min-saude.pt/fhir-r4B/iop/StructureDefinition/HealthcareServicePTCore
base: http://hl7.org/fhir/StructureDefinition/HealthcareService
version: 1.0.0
required: [id]