HL7 PT FHIR Implementation Guide: Visita do Utente
1.0.0 - STU1 Portugal flag

HL7 PT FHIR Implementation Guide: Visita do Utente, published by HL7 Portugal. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-pt/workflow-ep-ig/tree/master and changes regularly. See the Directory of published versions

Logical Model: EncounterInpatientLM - Detailed Descriptions

Active as of 2025-02-12

Definitions for the EncounterInpatientLM logical model.

Guidance on how to interpret the contents of this table can be found here

0. EncounterInpatientLM
Definition

Modelo Lógico - Episódio de Internamento

ShortEpisódio - Internamento (modelo)
Control0..*
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
2. EncounterInpatientLM.id
Definition

Identificador do episódio

ShortIdentificador do episódio
Control1..1
Typecode
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
4. EncounterInpatientLM.identifiers
Definition

Lista de identificadores únicos do local associado ao episódio, como identificações internas ou códigos específicos.

ShortLista de identificadores únicos do local associado ao episódio, como identificações internas ou códigos específicos.
Control1..*
TypeBackboneElement
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
6. EncounterInpatientLM.identifiers.id
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

ShortUnique id for inter-element referencing
Control0..1
Typestring
Is Modifierfalse
XML FormatIn the XML format, this property is represented as an attribute.
Summaryfalse
8. EncounterInpatientLM.identifiers.extension
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.

ShortAdditional content defined by implementations
Comments

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.

Control0..*
TypeExtension
Is Modifierfalse
Summaryfalse
Alternate Namesextensions, user content
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
SlicingThis element introduces a set of slices on EncounterInpatientLM.identifiers.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ url
  • 10. EncounterInpatientLM.identifiers.modifierExtension
    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.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

    ShortExtensions that cannot be ignored even if unrecognized
    Comments

    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.

    Control0..*
    TypeExtension
    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
    Summarytrue
    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.

    Alternate Namesextensions, user content, modifiers
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    12. EncounterInpatientLM.identifiers.value
    Definition

    Valor do identificador

    ShortValor do identificador
    Control1..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    14. EncounterInpatientLM.identifiers.type
    Definition

    Tipo de identificador (e.g.: MD, EI)

    ShortTipo de identificador (e.g.: MD, EI)
    Control1..1
    Typecode
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    16. EncounterInpatientLM.status
    Definition

    Estado episódio. Valores possiveis:

    • planned: Episódio planeado ou agendado
    • arrived: O paciente foi admitido na instituição
    • in-progress: O episódio está em progresso
    • finished: O paciente teve alta
    • cancelled: O episódio foi cancelado antes de iniciar
    Shortplanned | arrived | in-progress | finished | cancelled
    Control1..1
    Typecode
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    18. EncounterInpatientLM.statusHistory
    Definition

    Histórico de alterações do estado do local durante o episódio

    ShortHistórico de alterações do estado do local durante o episódio
    Control0..*
    TypeBackboneElement
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    20. EncounterInpatientLM.statusHistory.id
    Definition

    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

    ShortUnique id for inter-element referencing
    Control0..1
    Typestring
    Is Modifierfalse
    XML FormatIn the XML format, this property is represented as an attribute.
    Summaryfalse
    22. EncounterInpatientLM.statusHistory.extension
    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.

    ShortAdditional content defined by implementations
    Comments

    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.

    Control0..*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    SlicingThis element introduces a set of slices on EncounterInpatientLM.statusHistory.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ url
    • 24. EncounterInpatientLM.statusHistory.modifierExtension
      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.

      Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      ShortExtensions that cannot be ignored even if unrecognized
      Comments

      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.

      Control0..*
      TypeExtension
      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
      Summarytrue
      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.

      Alternate Namesextensions, user content, modifiers
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      26. EncounterInpatientLM.statusHistory.status
      Definition

      Estado do local num período específico

      ShortEstado do local num período específico
      Control1..1
      Typecode
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      28. EncounterInpatientLM.statusHistory.start
      Definition

      Data e hora de início de alteração do estado

      ShortData e hora de início de alteração do estado
      Control1..1
      TypedateTime
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      30. EncounterInpatientLM.statusHistory.end
      Definition

      Data e hora de término do período de alteração do estado

      ShortData e hora de término do período de alteração do estado
      Control0..1
      TypedateTime
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      32. EncounterInpatientLM.class
      Definition

      Classe do episódio (e.g.: IMP)

      ShortClasse do episódio (e.g.: IMP)
      Control1..1
      Typecode
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      34. EncounterInpatientLM.services
      Definition

      Serviços realizados durante o episódio, como consultas, cirurgias, etc.

      ShortServiços realizados durante o episódio, como consultas, cirurgias, etc.
      Control0..*
      Typecode
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      36. EncounterInpatientLM.specialty
      Definition

      Especialidade médica associada ao episódio, como Cardiologia, Pediatria, etc

      ShortEspecialidade médica associada ao episódio, como Cardiologia, Pediatria, etc
      Control0..1
      Typecode
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      38. EncounterInpatientLM.priority
      Definition

      Nivel de prioridade do episódio

      Shortstat | urgent | routine
      Control0..1
      Typecode
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      40. EncounterInpatientLM.patient
      Definition

      Referência ao paciente associado ao episódio

      ShortReferência ao paciente associado ao episódio
      Control1..1
      Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/PatientLM
      42. EncounterInpatientLM.doctor
      Definition

      Médico responsável pelo episódio, onde o tipo = PPRF

      ShortMédico responsável pelo episódio, onde o tipo = PPRF
      Control0..1
      Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/PractitionerLM
      44. EncounterInpatientLM.nurse
      Definition

      Enfermeiro responsável pelo episódio identificado por ATND

      ShortEnfermeiro responsável pelo episódio identificado por ATND
      Control0..1
      Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/PractitionerLM
      46. EncounterInpatientLM.start
      Definition

      Data e hora reais de inicio do episodio

      ShortData e hora reais de inicio do episodio
      Control1..1
      TypedateTime
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      48. EncounterInpatientLM.end
      Definition

      Data e hora reais de término de episódio

      ShortData e hora reais de término de episódio
      Control0..1
      TypedateTime
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      50. EncounterInpatientLM.duration
      Definition

      Duração real do episódio em minutos

      ShortDuração real do episódio em minutos
      Control0..1
      Typeinteger
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      52. EncounterInpatientLM.appointment
      Definition

      Referência ao agendamento associado ao episódio

      ShortReferência ao agendamento associado ao episódio
      Control0..1
      Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/AppointmentLM
      54. EncounterInpatientLM.locations
      Definition

      Lista de locais associados ao episódio

      ShortLista de locais associados ao episódio
      Control0..*
      TypeBackboneElement
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      56. EncounterInpatientLM.locations.id
      Definition

      Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

      ShortUnique id for inter-element referencing
      Control0..1
      Typestring
      Is Modifierfalse
      XML FormatIn the XML format, this property is represented as an attribute.
      Summaryfalse
      58. EncounterInpatientLM.locations.extension
      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.

      ShortAdditional content defined by implementations
      Comments

      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.

      Control0..*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Alternate Namesextensions, user content
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      SlicingThis element introduces a set of slices on EncounterInpatientLM.locations.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
      • value @ url
      • 60. EncounterInpatientLM.locations.modifierExtension
        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.

        Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

        ShortExtensions that cannot be ignored even if unrecognized
        Comments

        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.

        Control0..*
        TypeExtension
        Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
        Summarytrue
        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.

        Alternate Namesextensions, user content, modifiers
        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
        62. EncounterInpatientLM.locations.location
        Definition

        Local associado ao episódio de urgência

        ShortLocal associado ao episódio de urgência
        Control0..1
        Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/LocationLM
        64. EncounterInpatientLM.locations.status
        Definition

        Estado do local durante o episódio (e.g.: available, occupied)

        ShortEstado do local durante o episódio (e.g.: available, occupied)
        Control0..1
        Typecode
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        66. EncounterInpatientLM.locations.type
        Definition

        Tipo físico do local (e.g.: bd (Cama), wa (Enfermaria), ro (quarto))

        ShortTipo físico do local (e.g.: bd (Cama), wa (Enfermaria), ro (quarto))
        Control0..1
        Typecode
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension

        Guidance on how to interpret the contents of this table can be found here

        0. EncounterInpatientLM
        Definition

        Modelo Lógico - Episódio de Internamento

        ShortEpisódio - Internamento (modelo)
        Logical ModelInstances of this logical model are not marked to be the target of a Reference
        2. EncounterInpatientLM.id
        Definition

        Identificador do episódio

        ShortIdentificador do episódio
        Control1..1
        Typecode
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        4. EncounterInpatientLM.identifiers
        Definition

        Lista de identificadores únicos do local associado ao episódio, como identificações internas ou códigos específicos.

        ShortLista de identificadores únicos do local associado ao episódio, como identificações internas ou códigos específicos.
        Control1..*
        TypeBackboneElement
        6. EncounterInpatientLM.identifiers.value
        Definition

        Valor do identificador

        ShortValor do identificador
        Control1..1
        Typestring
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        8. EncounterInpatientLM.identifiers.type
        Definition

        Tipo de identificador (e.g.: MD, EI)

        ShortTipo de identificador (e.g.: MD, EI)
        Control1..1
        Typecode
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        10. EncounterInpatientLM.status
        Definition

        Estado episódio. Valores possiveis:

        • planned: Episódio planeado ou agendado
        • arrived: O paciente foi admitido na instituição
        • in-progress: O episódio está em progresso
        • finished: O paciente teve alta
        • cancelled: O episódio foi cancelado antes de iniciar
        Shortplanned | arrived | in-progress | finished | cancelled
        Control1..1
        Typecode
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        12. EncounterInpatientLM.statusHistory
        Definition

        Histórico de alterações do estado do local durante o episódio

        ShortHistórico de alterações do estado do local durante o episódio
        Control0..*
        TypeBackboneElement
        14. EncounterInpatientLM.statusHistory.status
        Definition

        Estado do local num período específico

        ShortEstado do local num período específico
        Control1..1
        Typecode
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        16. EncounterInpatientLM.statusHistory.start
        Definition

        Data e hora de início de alteração do estado

        ShortData e hora de início de alteração do estado
        Control1..1
        TypedateTime
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        18. EncounterInpatientLM.statusHistory.end
        Definition

        Data e hora de término do período de alteração do estado

        ShortData e hora de término do período de alteração do estado
        Control0..1
        TypedateTime
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        20. EncounterInpatientLM.class
        Definition

        Classe do episódio (e.g.: IMP)

        ShortClasse do episódio (e.g.: IMP)
        Control1..1
        Typecode
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        22. EncounterInpatientLM.services
        Definition

        Serviços realizados durante o episódio, como consultas, cirurgias, etc.

        ShortServiços realizados durante o episódio, como consultas, cirurgias, etc.
        Control0..*
        Typecode
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        24. EncounterInpatientLM.specialty
        Definition

        Especialidade médica associada ao episódio, como Cardiologia, Pediatria, etc

        ShortEspecialidade médica associada ao episódio, como Cardiologia, Pediatria, etc
        Control0..1
        Typecode
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        26. EncounterInpatientLM.priority
        Definition

        Nivel de prioridade do episódio

        Shortstat | urgent | routine
        Control0..1
        Typecode
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        28. EncounterInpatientLM.patient
        Definition

        Referência ao paciente associado ao episódio

        ShortReferência ao paciente associado ao episódio
        Control1..1
        Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/PatientLM
        30. EncounterInpatientLM.doctor
        Definition

        Médico responsável pelo episódio, onde o tipo = PPRF

        ShortMédico responsável pelo episódio, onde o tipo = PPRF
        Control0..1
        Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/PractitionerLM
        32. EncounterInpatientLM.nurse
        Definition

        Enfermeiro responsável pelo episódio identificado por ATND

        ShortEnfermeiro responsável pelo episódio identificado por ATND
        Control0..1
        Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/PractitionerLM
        34. EncounterInpatientLM.start
        Definition

        Data e hora reais de inicio do episodio

        ShortData e hora reais de inicio do episodio
        Control1..1
        TypedateTime
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        36. EncounterInpatientLM.end
        Definition

        Data e hora reais de término de episódio

        ShortData e hora reais de término de episódio
        Control0..1
        TypedateTime
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        38. EncounterInpatientLM.duration
        Definition

        Duração real do episódio em minutos

        ShortDuração real do episódio em minutos
        Control0..1
        Typeinteger
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        40. EncounterInpatientLM.appointment
        Definition

        Referência ao agendamento associado ao episódio

        ShortReferência ao agendamento associado ao episódio
        Control0..1
        Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/AppointmentLM
        42. EncounterInpatientLM.locations
        Definition

        Lista de locais associados ao episódio

        ShortLista de locais associados ao episódio
        Control0..*
        TypeBackboneElement
        44. EncounterInpatientLM.locations.location
        Definition

        Local associado ao episódio de urgência

        ShortLocal associado ao episódio de urgência
        Control0..1
        Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/LocationLM
        46. EncounterInpatientLM.locations.status
        Definition

        Estado do local durante o episódio (e.g.: available, occupied)

        ShortEstado do local durante o episódio (e.g.: available, occupied)
        Control0..1
        Typecode
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        48. EncounterInpatientLM.locations.type
        Definition

        Tipo físico do local (e.g.: bd (Cama), wa (Enfermaria), ro (quarto))

        ShortTipo físico do local (e.g.: bd (Cama), wa (Enfermaria), ro (quarto))
        Control0..1
        Typecode
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension

        Guidance on how to interpret the contents of this table can be found here

        0. EncounterInpatientLM
        Definition

        Modelo Lógico - Episódio de Internamento

        ShortEpisódio - Internamento (modelo)
        Control0..*
        Is Modifierfalse
        Logical ModelInstances of this logical model are not marked to be the target of a Reference
        2. EncounterInpatientLM.id
        Definition

        Identificador do episódio

        ShortIdentificador do episódio
        Control1..1
        Typecode
        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
        4. EncounterInpatientLM.identifiers
        Definition

        Lista de identificadores únicos do local associado ao episódio, como identificações internas ou códigos específicos.

        ShortLista de identificadores únicos do local associado ao episódio, como identificações internas ou códigos específicos.
        Control1..*
        TypeBackboneElement
        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        6. EncounterInpatientLM.identifiers.id
        Definition

        Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

        ShortUnique id for inter-element referencing
        Control0..1
        Typestring
        Is Modifierfalse
        XML FormatIn the XML format, this property is represented as an attribute.
        Summaryfalse
        8. EncounterInpatientLM.identifiers.extension
        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.

        ShortAdditional content defined by implementations
        Comments

        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.

        Control0..*
        TypeExtension
        Is Modifierfalse
        Summaryfalse
        Alternate Namesextensions, user content
        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
        SlicingThis element introduces a set of slices on EncounterInpatientLM.identifiers.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
        • value @ url
        • 10. EncounterInpatientLM.identifiers.modifierExtension
          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.

          Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

          ShortExtensions that cannot be ignored even if unrecognized
          Comments

          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.

          Control0..*
          TypeExtension
          Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
          Summarytrue
          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.

          Alternate Namesextensions, user content, modifiers
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
          12. EncounterInpatientLM.identifiers.value
          Definition

          Valor do identificador

          ShortValor do identificador
          Control1..1
          Typestring
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          14. EncounterInpatientLM.identifiers.type
          Definition

          Tipo de identificador (e.g.: MD, EI)

          ShortTipo de identificador (e.g.: MD, EI)
          Control1..1
          Typecode
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          16. EncounterInpatientLM.status
          Definition

          Estado episódio. Valores possiveis:

          • planned: Episódio planeado ou agendado
          • arrived: O paciente foi admitido na instituição
          • in-progress: O episódio está em progresso
          • finished: O paciente teve alta
          • cancelled: O episódio foi cancelado antes de iniciar
          Shortplanned | arrived | in-progress | finished | cancelled
          Control1..1
          Typecode
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          18. EncounterInpatientLM.statusHistory
          Definition

          Histórico de alterações do estado do local durante o episódio

          ShortHistórico de alterações do estado do local durante o episódio
          Control0..*
          TypeBackboneElement
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          20. EncounterInpatientLM.statusHistory.id
          Definition

          Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

          ShortUnique id for inter-element referencing
          Control0..1
          Typestring
          Is Modifierfalse
          XML FormatIn the XML format, this property is represented as an attribute.
          Summaryfalse
          22. EncounterInpatientLM.statusHistory.extension
          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.

          ShortAdditional content defined by implementations
          Comments

          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.

          Control0..*
          TypeExtension
          Is Modifierfalse
          Summaryfalse
          Alternate Namesextensions, user content
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
          SlicingThis element introduces a set of slices on EncounterInpatientLM.statusHistory.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
          • value @ url
          • 24. EncounterInpatientLM.statusHistory.modifierExtension
            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.

            Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

            ShortExtensions that cannot be ignored even if unrecognized
            Comments

            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.

            Control0..*
            TypeExtension
            Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
            Summarytrue
            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.

            Alternate Namesextensions, user content, modifiers
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            26. EncounterInpatientLM.statusHistory.status
            Definition

            Estado do local num período específico

            ShortEstado do local num período específico
            Control1..1
            Typecode
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            28. EncounterInpatientLM.statusHistory.start
            Definition

            Data e hora de início de alteração do estado

            ShortData e hora de início de alteração do estado
            Control1..1
            TypedateTime
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            30. EncounterInpatientLM.statusHistory.end
            Definition

            Data e hora de término do período de alteração do estado

            ShortData e hora de término do período de alteração do estado
            Control0..1
            TypedateTime
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            32. EncounterInpatientLM.class
            Definition

            Classe do episódio (e.g.: IMP)

            ShortClasse do episódio (e.g.: IMP)
            Control1..1
            Typecode
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            34. EncounterInpatientLM.services
            Definition

            Serviços realizados durante o episódio, como consultas, cirurgias, etc.

            ShortServiços realizados durante o episódio, como consultas, cirurgias, etc.
            Control0..*
            Typecode
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            36. EncounterInpatientLM.specialty
            Definition

            Especialidade médica associada ao episódio, como Cardiologia, Pediatria, etc

            ShortEspecialidade médica associada ao episódio, como Cardiologia, Pediatria, etc
            Control0..1
            Typecode
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            38. EncounterInpatientLM.priority
            Definition

            Nivel de prioridade do episódio

            Shortstat | urgent | routine
            Control0..1
            Typecode
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            40. EncounterInpatientLM.patient
            Definition

            Referência ao paciente associado ao episódio

            ShortReferência ao paciente associado ao episódio
            Control1..1
            Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/PatientLM
            42. EncounterInpatientLM.doctor
            Definition

            Médico responsável pelo episódio, onde o tipo = PPRF

            ShortMédico responsável pelo episódio, onde o tipo = PPRF
            Control0..1
            Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/PractitionerLM
            44. EncounterInpatientLM.nurse
            Definition

            Enfermeiro responsável pelo episódio identificado por ATND

            ShortEnfermeiro responsável pelo episódio identificado por ATND
            Control0..1
            Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/PractitionerLM
            46. EncounterInpatientLM.start
            Definition

            Data e hora reais de inicio do episodio

            ShortData e hora reais de inicio do episodio
            Control1..1
            TypedateTime
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            48. EncounterInpatientLM.end
            Definition

            Data e hora reais de término de episódio

            ShortData e hora reais de término de episódio
            Control0..1
            TypedateTime
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            50. EncounterInpatientLM.duration
            Definition

            Duração real do episódio em minutos

            ShortDuração real do episódio em minutos
            Control0..1
            Typeinteger
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            52. EncounterInpatientLM.appointment
            Definition

            Referência ao agendamento associado ao episódio

            ShortReferência ao agendamento associado ao episódio
            Control0..1
            Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/AppointmentLM
            54. EncounterInpatientLM.locations
            Definition

            Lista de locais associados ao episódio

            ShortLista de locais associados ao episódio
            Control0..*
            TypeBackboneElement
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            56. EncounterInpatientLM.locations.id
            Definition

            Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

            ShortUnique id for inter-element referencing
            Control0..1
            Typestring
            Is Modifierfalse
            XML FormatIn the XML format, this property is represented as an attribute.
            Summaryfalse
            58. EncounterInpatientLM.locations.extension
            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.

            ShortAdditional content defined by implementations
            Comments

            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.

            Control0..*
            TypeExtension
            Is Modifierfalse
            Summaryfalse
            Alternate Namesextensions, user content
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            SlicingThis element introduces a set of slices on EncounterInpatientLM.locations.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
            • value @ url
            • 60. EncounterInpatientLM.locations.modifierExtension
              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.

              Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

              ShortExtensions that cannot be ignored even if unrecognized
              Comments

              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.

              Control0..*
              TypeExtension
              Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
              Summarytrue
              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.

              Alternate Namesextensions, user content, modifiers
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
              62. EncounterInpatientLM.locations.location
              Definition

              Local associado ao episódio de urgência

              ShortLocal associado ao episódio de urgência
              Control0..1
              Typehttps://hl7.pt/fhir/patient-visit/StructureDefinition/LocationLM
              64. EncounterInpatientLM.locations.status
              Definition

              Estado do local durante o episódio (e.g.: available, occupied)

              ShortEstado do local durante o episódio (e.g.: available, occupied)
              Control0..1
              Typecode
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              66. EncounterInpatientLM.locations.type
              Definition

              Tipo físico do local (e.g.: bd (Cama), wa (Enfermaria), ro (quarto))

              ShortTipo físico do local (e.g.: bd (Cama), wa (Enfermaria), ro (quarto))
              Control0..1
              Typecode
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension