Case Based Surveillance Implementation Guide
0.2.1 - ci-build

Case Based Surveillance Implementation Guide - Local Development build (v0.2.1). See the Directory of published versions

Resource Profile: US Case Based Surveillance Hospitalization Encounter Profile

Official URL: http://cbsig.chai.gatech.edu/StructureDefinition/us-cbs-hospitalization Version: 0.2.1
Active as of 2021-01-01 Computable Name: USCaseBasedSurveillanceHospitalization

This profile sets minimum expectations for the Encounter resource to represent data requested as part of the U.S. Public Health Case Based Surveillance messaging guides. It identifies which core elements, extensions, vocabularies and value sets SHALL be present in the resource when using this profile. This profile is built on top of the ECR US PH Encounter profile and US Core Encounter profile.

Example Usage Scenarios:

The following are example usage scenarios for the US CBS Hospitalization profile:

  • Capture an event of hospitalization related to a reportable condition of interest.

Relationship to ECR Public Health and US Core Encounter

The US CBS Hospitalization profile is based on the ECR (Electronic Case Reporting) IG US PH Encounter profile, which is derived from the US Core Encounter profile. The US PH Encounter profile captures general data related to any encounters relevant to public health. The US CBS Hospitalization profile captures explicitly a hospitalization event related to a condition of interest reported to case based surveillance programs.

Relationship to CDC Message Mapping Guides

The Center for Disease Control’s (CDC) Message Mapping Guides (MMGs) provide guidance on the transmission of records from jurisdictions to case based surveillance programs. MMG documents are publicly available through the CDC’s website. In addition to generic information captured by the Gen V2 guide, there are program specific guides tied to specific conditions or groups of condition.

The US CBS Hospitalization profile represents a hospitalization encounter related to the reported condition of interest, representing data elements requested as part of the Gen V2 message mapping guide.

Mandatory and Must Support Data Elements

The following data-elements must always be present (Mandatory definition]) or must be supported if the data is present in the sending system (Must Support definition). They are presented below in a simple human-readable explanation. Profile specific guidance and examples are provided as well. The Formal Profile Definition below provides the formal summary, definitions, and terminology requirements.

Each Encounter must have:

  1. a class code set to a value of IMP (inpatient)
  2. an encounter type set to a CPT4 code of 42628595 (Inpatient Hospital)
  3. an encounter status
  4. a subject reference
  5. a reason reference
  6. a location with a data absent reason extension

Each Encounter must support:

  1. an identifier
  2. a participant
  3. a period
  4. a length
  5. a reason code
  6. hospitalization details

Profile specific implementation guidance:

  • This profile is intended to capture data relating the instance of hospitalization reported as part of Gen V2 messaging guidance. Condition specific information that is related to the same instance of hospitalization may included as part of this resource. Additional encounters, including additional hospitalizations, should use the US PH Encounter or US Core Encounter profiles as needed.
  • Encounter.status may be set by the sending system capturing the state of the encounter in jurisdiction or local systems, or set to unknown for reporting to surveillance programs to mask information.
  • Encounter.reasonReference should provide a reference to the [US CBS Condition of Interest] profile instance which is included as part of the case report.
  • Many elements specified as must support are derived from the US Core Encounter profile. Some of these, such as Encounter.hospitalization, may include patient identifying information and should be omitted in all cases when sending a case report to case surveillance agencies.xs

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from USPublicHealthEncounter

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..*USPublicHealthEncounterUS Public Health Encounter
... class 1..1CodingClassification of patient encounter
Required Pattern: At least the following
.... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode
.... code1..1codeSymbol in syntax defined by the system
Fixed Value: IMP
.... display1..1stringRepresentation defined by the system
Fixed Value: inpatient encounter
... type 1..*CodeableConceptSpecific type of encounter
Required Pattern: At least the following
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://www.ama-assn.org/go/cpt
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: 42628595
..... display1..1stringRepresentation defined by the system
Fixed Value: Inpatient Hospital
... subject 1..1Reference(US Case Based Surveillance Patient Profile)The patient or group present at the encounter
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.

..... value[x] 1..1codeValue of extension
Required Pattern: masked
... length S0..1DurationQuantity of time the encounter lasted (less time absent)
... reasonReference 1..1Reference(US Case Based Surveillance Condition of Interest Profile)Reason the encounter takes place (reference)
... location
.... location
..... extension 1..*ExtensionExtension
..... data-absent-reason 1..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.

...... valueCode 1..1codeValue of extension
Required Pattern: masked

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..*USPublicHealthEncounterUS Public Health Encounter
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages: A human language.

... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier SΣ0..*IdentifierIdentifier(s) by which this encounter is known
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system SΣ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ1..1stringThe value that is unique
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... status ?!SΣ1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): Current state of the encounter.

... statusHistory 0..*BackboneElementList of past encounter statuses
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... status 1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): Current state of the encounter.

.... period 1..1PeriodThe time that the episode was in the specified status
... class SΣ1..1CodingClassification of patient encounter
Binding: ActEncounterCode (extensible): Classification of the encounter.


Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode
.... version0..1stringVersion of the system - if relevant
.... code1..1codeSymbol in syntax defined by the system
Fixed Value: IMP
.... display1..1stringRepresentation defined by the system
Fixed Value: inpatient encounter
.... userSelected0..1booleanIf this coding was chosen directly by the user
... classHistory 0..*BackboneElementList of past encounter classes
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... class 1..1Codinginpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): Classification of the encounter.

.... period 1..1PeriodThe time that the episode was in the specified class
... type SΣ1..*CodeableConceptSpecific type of encounter
Binding: US Core Encounter Type (extensible): Valueset to describe the Encounter Type



Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... system1..1uriIdentity of the terminology system
Fixed Value: http://www.ama-assn.org/go/cpt
..... version0..1stringVersion of the system - if relevant
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: 42628595
..... display1..1stringRepresentation defined by the system
Fixed Value: Inpatient Hospital
..... userSelected0..1booleanIf this coding was chosen directly by the user
.... text0..1stringPlain text representation of the concept
... serviceType Σ0..1CodeableConceptSpecific type of service
Binding: ServiceType (example): Broad categorization of the service that is to be provided.

... priority 0..1CodeableConceptIndicates the urgency of the encounter
Binding: ActPriority (example): Indicates the urgency of the encounter.

... subject SΣ1..1Reference(US Case Based Surveillance Patient Profile)The patient or group present at the encounter
... episodeOfCare Σ0..*Reference(EpisodeOfCare)Episode(s) of care that this encounter should be recorded against
... basedOn 0..*Reference(ServiceRequest)The ServiceRequest that initiated this encounter
... Slices for participant SΣ0..*BackboneElementList of participants involved in the encounter
Slice: Unordered, Open by type:type
.... participant:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type SΣ0..*CodeableConceptRole of participant in encounter
Binding: ParticipantType (extensible): Role of participant in encounter.


..... period S0..1PeriodPeriod of time during the encounter that the participant participated
..... individual SΣ0..1Reference(US Core Practitioner Profile S | US Core PractitionerRole Profile | RelatedPerson)Persons involved in the encounter other than the patient
.... participant:sliceResponsibleProvider SΣ0..1BackboneElementResponsible provider
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.


...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..0
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/data-absent-reason"
...... value[x] 1..1codeValue of extension
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.


Required Pattern: masked
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type SΣ1..*CodeableConceptResponsible provider
Binding: ParticipantType (extensible): Role of participant in encounter.



Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ParticipationType
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ATND
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... period S0..1PeriodPeriod of time during the encounter that the participant participated
..... individual SΣ0..1Reference(US Public Health PractitionerRole)Responsible Provider
... appointment Σ0..*Reference(Appointment)The appointment that scheduled this encounter
... period S0..1PeriodThe start and end time of the encounter
... length S0..1DurationQuantity of time the encounter lasted (less time absent)
... reasonCode SΣ0..*CodeableConceptCoded reason the encounter takes place
Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.


... reasonReference SΣ1..1Reference(US Case Based Surveillance Condition of Interest Profile)Reason the encounter takes place (reference)
... diagnosis SΣ0..*BackboneElementEncounter diagnosis
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... condition SΣ1..1Reference(US Public Health Condition)The diagnosis or procedure relevant to the encounter
.... use S0..1CodeableConceptRole that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.

.... rank 0..1positiveIntRanking of the diagnosis (for each role type)
... account 0..*Reference(Account)The set of accounts that may be used for billing for this Encounter
... hospitalization S0..1BackboneElementDetails about the admission to a healthcare service
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... preAdmissionIdentifier 0..1IdentifierPre-admission identifier
.... origin 0..1Reference(Location | Organization)The location/organization from which the patient came before admission
.... admitSource 0..1CodeableConceptFrom where patient was admitted (physician referral, transfer)
Binding: AdmitSource (preferred): From where the patient was admitted.

.... reAdmission 0..1CodeableConceptThe type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission
Binding: hl7VS-re-admissionIndicator (example): The reason for re-admission of this hospitalization encounter.

.... dietPreference 0..*CodeableConceptDiet preferences reported by the patient
Binding: Diet (example): Medical, cultural or ethical food preferences to help with catering requirements.


.... specialCourtesy 0..*CodeableConceptSpecial courtesies (VIP, board member)
Binding: SpecialCourtesy (preferred): Special courtesies.


.... specialArrangement 0..*CodeableConceptWheelchair, translator, stretcher, etc.
Binding: SpecialArrangements (preferred): Special arrangements.


.... destination 0..1Reference(Location | Organization)Location/organization to which the patient is discharged
.... dischargeDisposition S0..1CodeableConceptCategory or kind of location after discharge
Binding: DischargeDisposition (example): Discharge Disposition.

... location S1..*BackboneElementPublic health encounter location
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... location S1..1Reference(US Public Health Location)Location the encounter takes place
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
..... data-absent-reason 1..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.


...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..0
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/data-absent-reason"
...... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Closed by type:$this
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.

....... value[x]:valueCode 1..1codeValue of extension
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.


Required Pattern: masked
..... reference ΣI0..1stringLiteral reference, Relative, internal or absolute URL
..... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
..... display Σ0..1stringText alternative for the resource
.... status 0..1codeplanned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.

.... physicalType 0..1CodeableConceptThe physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.

.... period 0..1PeriodTime period during which the patient was present at the location
... serviceProvider S0..1Reference(US Public Health Organization)The organization (facility) responsible for this encounter
... partOf 0..1Reference(Encounter)Another Encounter this encounter is part of

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..*USPublicHealthEncounterUS Public Health Encounter
... identifier Σ0..*IdentifierIdentifier(s) by which this encounter is known
.... system Σ1..1uriThe namespace for the identifier value
.... value Σ1..1stringThe value that is unique
... status ?!Σ1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): Current state of the encounter.

... class Σ1..1CodingClassification of patient encounter
Binding: ActEncounterCode (extensible): Classification of the encounter.


Required Pattern: At least the following
.... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode
.... code1..1codeSymbol in syntax defined by the system
Fixed Value: IMP
.... display1..1stringRepresentation defined by the system
Fixed Value: inpatient encounter
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://www.ama-assn.org/go/cpt
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: 42628595
..... display1..1stringRepresentation defined by the system
Fixed Value: Inpatient Hospital
... subject Σ1..1Reference(US Case Based Surveillance Patient Profile)The patient or group present at the encounter
... Slices for participant Σ0..*BackboneElementList of participants involved in the encounter
Slice: Unordered, Open by type:type
.... participant:All Slices Content/Rules for all slices
..... type Σ0..*CodeableConceptRole of participant in encounter
Binding: ParticipantType (extensible): Role of participant in encounter.


..... period 0..1PeriodPeriod of time during the encounter that the participant participated
..... individual Σ0..1Reference(US Core Practitioner Profile)Persons involved in the encounter other than the patient
.... participant:sliceResponsibleProvider Σ0..1BackboneElementResponsible provider
..... data-absent-reason 0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.


..... type Σ1..*CodeableConceptResponsible provider
Binding: ParticipantType (extensible): Role of participant in encounter.



Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ParticipationType
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ATND
..... period 0..1PeriodPeriod of time during the encounter that the participant participated
..... individual Σ0..1Reference(US Public Health PractitionerRole)Responsible Provider
... period 0..1PeriodThe start and end time of the encounter
... length 0..1DurationQuantity of time the encounter lasted (less time absent)
... reasonCode Σ0..*CodeableConceptCoded reason the encounter takes place
Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.


... reasonReference Σ1..1Reference(US Case Based Surveillance Condition of Interest Profile)Reason the encounter takes place (reference)
... diagnosis Σ0..*BackboneElementEncounter diagnosis
.... condition Σ1..1Reference(US Public Health Condition)The diagnosis or procedure relevant to the encounter
.... use 0..1CodeableConceptRole that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.

... hospitalization 0..1BackboneElementDetails about the admission to a healthcare service
.... dischargeDisposition 0..1CodeableConceptCategory or kind of location after discharge
Binding: DischargeDisposition (example): Discharge Disposition.

... location 1..*BackboneElementPublic health encounter location
.... location 1..1Reference(US Public Health Location)Location the encounter takes place
... serviceProvider 0..1Reference(US Public Health Organization)The organization (facility) responsible for this encounter

doco Documentation for this format

Differential View

This structure is derived from USPublicHealthEncounter

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..*USPublicHealthEncounterUS Public Health Encounter
... class 1..1CodingClassification of patient encounter
Required Pattern: At least the following
.... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode
.... code1..1codeSymbol in syntax defined by the system
Fixed Value: IMP
.... display1..1stringRepresentation defined by the system
Fixed Value: inpatient encounter
... type 1..*CodeableConceptSpecific type of encounter
Required Pattern: At least the following
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://www.ama-assn.org/go/cpt
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: 42628595
..... display1..1stringRepresentation defined by the system
Fixed Value: Inpatient Hospital
... subject 1..1Reference(US Case Based Surveillance Patient Profile)The patient or group present at the encounter
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.

..... value[x] 1..1codeValue of extension
Required Pattern: masked
... length S0..1DurationQuantity of time the encounter lasted (less time absent)
... reasonReference 1..1Reference(US Case Based Surveillance Condition of Interest Profile)Reason the encounter takes place (reference)
... location
.... location
..... extension 1..*ExtensionExtension
..... data-absent-reason 1..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.

...... valueCode 1..1codeValue of extension
Required Pattern: masked

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..*USPublicHealthEncounterUS Public Health Encounter
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages: A human language.

... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier SΣ0..*IdentifierIdentifier(s) by which this encounter is known
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system SΣ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ1..1stringThe value that is unique
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... status ?!SΣ1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): Current state of the encounter.

... statusHistory 0..*BackboneElementList of past encounter statuses
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... status 1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): Current state of the encounter.

.... period 1..1PeriodThe time that the episode was in the specified status
... class SΣ1..1CodingClassification of patient encounter
Binding: ActEncounterCode (extensible): Classification of the encounter.


Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode
.... version0..1stringVersion of the system - if relevant
.... code1..1codeSymbol in syntax defined by the system
Fixed Value: IMP
.... display1..1stringRepresentation defined by the system
Fixed Value: inpatient encounter
.... userSelected0..1booleanIf this coding was chosen directly by the user
... classHistory 0..*BackboneElementList of past encounter classes
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... class 1..1Codinginpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): Classification of the encounter.

.... period 1..1PeriodThe time that the episode was in the specified class
... type SΣ1..*CodeableConceptSpecific type of encounter
Binding: US Core Encounter Type (extensible): Valueset to describe the Encounter Type



Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... system1..1uriIdentity of the terminology system
Fixed Value: http://www.ama-assn.org/go/cpt
..... version0..1stringVersion of the system - if relevant
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: 42628595
..... display1..1stringRepresentation defined by the system
Fixed Value: Inpatient Hospital
..... userSelected0..1booleanIf this coding was chosen directly by the user
.... text0..1stringPlain text representation of the concept
... serviceType Σ0..1CodeableConceptSpecific type of service
Binding: ServiceType (example): Broad categorization of the service that is to be provided.

... priority 0..1CodeableConceptIndicates the urgency of the encounter
Binding: ActPriority (example): Indicates the urgency of the encounter.

... subject SΣ1..1Reference(US Case Based Surveillance Patient Profile)The patient or group present at the encounter
... episodeOfCare Σ0..*Reference(EpisodeOfCare)Episode(s) of care that this encounter should be recorded against
... basedOn 0..*Reference(ServiceRequest)The ServiceRequest that initiated this encounter
... Slices for participant SΣ0..*BackboneElementList of participants involved in the encounter
Slice: Unordered, Open by type:type
.... participant:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type SΣ0..*CodeableConceptRole of participant in encounter
Binding: ParticipantType (extensible): Role of participant in encounter.


..... period S0..1PeriodPeriod of time during the encounter that the participant participated
..... individual SΣ0..1Reference(US Core Practitioner Profile S | US Core PractitionerRole Profile | RelatedPerson)Persons involved in the encounter other than the patient
.... participant:sliceResponsibleProvider SΣ0..1BackboneElementResponsible provider
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... data-absent-reason S0..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.


...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..0
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/data-absent-reason"
...... value[x] 1..1codeValue of extension
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.


Required Pattern: masked
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type SΣ1..*CodeableConceptResponsible provider
Binding: ParticipantType (extensible): Role of participant in encounter.



Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ParticipationType
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ATND
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... period S0..1PeriodPeriod of time during the encounter that the participant participated
..... individual SΣ0..1Reference(US Public Health PractitionerRole)Responsible Provider
... appointment Σ0..*Reference(Appointment)The appointment that scheduled this encounter
... period S0..1PeriodThe start and end time of the encounter
... length S0..1DurationQuantity of time the encounter lasted (less time absent)
... reasonCode SΣ0..*CodeableConceptCoded reason the encounter takes place
Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.


... reasonReference SΣ1..1Reference(US Case Based Surveillance Condition of Interest Profile)Reason the encounter takes place (reference)
... diagnosis SΣ0..*BackboneElementEncounter diagnosis
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... condition SΣ1..1Reference(US Public Health Condition)The diagnosis or procedure relevant to the encounter
.... use S0..1CodeableConceptRole that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.

.... rank 0..1positiveIntRanking of the diagnosis (for each role type)
... account 0..*Reference(Account)The set of accounts that may be used for billing for this Encounter
... hospitalization S0..1BackboneElementDetails about the admission to a healthcare service
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... preAdmissionIdentifier 0..1IdentifierPre-admission identifier
.... origin 0..1Reference(Location | Organization)The location/organization from which the patient came before admission
.... admitSource 0..1CodeableConceptFrom where patient was admitted (physician referral, transfer)
Binding: AdmitSource (preferred): From where the patient was admitted.

.... reAdmission 0..1CodeableConceptThe type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission
Binding: hl7VS-re-admissionIndicator (example): The reason for re-admission of this hospitalization encounter.

.... dietPreference 0..*CodeableConceptDiet preferences reported by the patient
Binding: Diet (example): Medical, cultural or ethical food preferences to help with catering requirements.


.... specialCourtesy 0..*CodeableConceptSpecial courtesies (VIP, board member)
Binding: SpecialCourtesy (preferred): Special courtesies.


.... specialArrangement 0..*CodeableConceptWheelchair, translator, stretcher, etc.
Binding: SpecialArrangements (preferred): Special arrangements.


.... destination 0..1Reference(Location | Organization)Location/organization to which the patient is discharged
.... dischargeDisposition S0..1CodeableConceptCategory or kind of location after discharge
Binding: DischargeDisposition (example): Discharge Disposition.

... location S1..*BackboneElementPublic health encounter location
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... location S1..1Reference(US Public Health Location)Location the encounter takes place
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
..... data-absent-reason 1..1codeunknown | asked | temp | notasked | masked | unsupported | astext | error
URL: http://hl7.org/fhir/StructureDefinition/data-absent-reason
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.


...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..0
...... url 1..1uri"http://hl7.org/fhir/StructureDefinition/data-absent-reason"
...... Slices for value[x] 1..1codeValue of extension
Slice: Unordered, Closed by type:$this
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.

....... value[x]:valueCode 1..1codeValue of extension
Binding: DataAbsentReason (required): Used to specify why the normally expected content of the data element is missing.


Required Pattern: masked
..... reference ΣI0..1stringLiteral reference, Relative, internal or absolute URL
..... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
..... display Σ0..1stringText alternative for the resource
.... status 0..1codeplanned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.

.... physicalType 0..1CodeableConceptThe physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.

.... period 0..1PeriodTime period during which the patient was present at the location
... serviceProvider S0..1Reference(US Public Health Organization)The organization (facility) responsible for this encounter
... partOf 0..1Reference(Encounter)Another Encounter this encounter is part of

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / Code
Encounter.languagepreferredCommonLanguages
Max Binding: AllLanguages
Encounter.identifier.userequiredIdentifierUse
Encounter.identifier.typeextensibleIdentifier Type Codes
Encounter.statusrequiredEncounterStatus
Encounter.statusHistory.statusrequiredEncounterStatus
Encounter.classextensiblePattern: IMP("inpatient encounter")
Encounter.classHistory.classextensibleActEncounterCode
Encounter.typeextensiblePattern: 42628595("Inpatient Hospital")
Encounter.serviceTypeexampleServiceType
Encounter.priorityexampleActPriority
Encounter.participant.typeextensibleParticipantType
Encounter.participant:sliceResponsibleProvider.extension:extensionDataAbsentReason.value[x]requiredPattern: masked
Encounter.participant:sliceResponsibleProvider.typeextensiblePattern: ATND
Encounter.reasonCodepreferredEncounterReasonCodes
Encounter.diagnosis.usepreferredDiagnosisRole
Encounter.hospitalization.admitSourcepreferredAdmitSource
Encounter.hospitalization.reAdmissionexampleHl7VSReAdmissionIndicator
Encounter.hospitalization.dietPreferenceexampleDiet
Encounter.hospitalization.specialCourtesypreferredSpecialCourtesy
Encounter.hospitalization.specialArrangementpreferredSpecialArrangements
Encounter.hospitalization.dischargeDispositionexampleDischargeDisposition
Encounter.location.location.extension:dataAbsentReason.value[x]requiredDataAbsentReason
Encounter.location.location.extension:dataAbsentReason.value[x]:valueCoderequiredPattern: masked
Encounter.location.location.typeextensibleResourceType
Encounter.location.statusrequiredEncounterLocationStatus
Encounter.location.physicalTypeexampleLocationType

Constraints

IdGradePathDetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorEncounterIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6Best PracticeEncounterA resource should have narrative for robust management
: text.`div`.exists()
ele-1errorEncounter.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.identifier.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.identifier.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.identifier.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.identifier.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.identifier.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.identifier.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.identifier.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.identifier.assignerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.statusHistoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.statusHistory.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.statusHistory.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.statusHistory.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.statusHistory.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.statusHistory.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.statusHistory.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.classAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.classHistoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.classHistory.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.classHistory.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.classHistory.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.classHistory.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.classHistory.classAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.classHistory.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.serviceTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.priorityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.subjectAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.episodeOfCareAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.basedOnAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.participantAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.participant.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.participant.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.participant.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.participant.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.participant.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.participant.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.participant.individualAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.participant:sliceResponsibleProviderAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.participant:sliceResponsibleProvider.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.participant:sliceResponsibleProvider.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.participant:sliceResponsibleProvider.extension:extensionDataAbsentReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.participant:sliceResponsibleProvider.extension:extensionDataAbsentReasonMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.participant:sliceResponsibleProvider.extension:extensionDataAbsentReason.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.participant:sliceResponsibleProvider.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.participant:sliceResponsibleProvider.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.participant:sliceResponsibleProvider.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.participant:sliceResponsibleProvider.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.participant:sliceResponsibleProvider.individualAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.appointmentAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.lengthAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.reasonCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.reasonReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.diagnosisAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.diagnosis.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.diagnosis.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.diagnosis.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.diagnosis.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.diagnosis.conditionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.diagnosis.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.diagnosis.rankAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.accountAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalizationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.hospitalization.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.hospitalization.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.hospitalization.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.hospitalization.preAdmissionIdentifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.originAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.admitSourceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.reAdmissionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.dietPreferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.specialCourtesyAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.specialArrangementAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.destinationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.hospitalization.dischargeDispositionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.locationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.location.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.location.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.location.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.location.locationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.location.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.location.location.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.location.location.extension:dataAbsentReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorEncounter.location.location.extension:dataAbsentReasonMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorEncounter.location.location.extension:dataAbsentReason.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.location.extension:dataAbsentReason.value[x]:valueCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.location.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.location.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.location.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.location.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.physicalTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.location.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.serviceProviderAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorEncounter.partOfAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())