--- :name: us_core_encounter :class_name: USCorev311EncounterSequence :version: v3.1.1 :reformatted_version: v311 :resource: Encounter :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter :profile_name: US Core Encounter Profile :profile_version: 3.1.1 :title: Encounter :short_description: Verify support for the server capabilities required by the US Core Encounter Profile. :interactions: - :code: create :expectation: MAY - :code: search-type :expectation: SHALL - :code: read :expectation: SHALL - :code: vread :expectation: SHOULD - :code: update :expectation: MAY - :code: patch :expectation: MAY - :code: delete :expectation: MAY - :code: history-instance :expectation: SHOULD - :code: history-type :expectation: MAY :operations: [] :searches: - :names: - patient :expectation: SHALL :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :names: - _id :expectation: SHALL :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :names: - identifier :expectation: SHOULD :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHOULD :names: - class - patient :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHOULD :names: - patient - status :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHOULD :names: - patient - type :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHALL :names: - date - patient :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true :search_definitions: :_id: :paths: - id :full_paths: - Encounter.id :comparators: {} :values: [] :type: http://hl7.org/fhirpath/System.String :contains_multiple: false :multiple_or: MAY :identifier: :paths: - identifier :full_paths: - Encounter.identifier :comparators: {} :values: [] :type: Identifier :contains_multiple: true :multiple_or: MAY :patient: :paths: - subject :full_paths: - Encounter.subject :comparators: {} :values: [] :type: Reference :contains_multiple: false :multiple_or: MAY :class: :paths: - class :full_paths: - Encounter.class :comparators: {} :values: - AMB - EMER - FLD - HH - IMP - ACUTE - NONAC - OBSENC - PRENC - SS - VR :type: Coding :contains_multiple: false :multiple_or: MAY :status: :paths: - status :full_paths: - Encounter.status :comparators: {} :values: - planned - arrived - triaged - in-progress - onleave - finished - cancelled - entered-in-error - unknown :type: code :contains_multiple: false :multiple_or: MAY :type: :paths: - type :full_paths: - Encounter.type :comparators: {} :values: - ADMS - BD/BM-clin - CCS60 - OKI :type: CodeableConcept :contains_multiple: true :multiple_or: MAY :date: :paths: - period :full_paths: - Encounter.period :comparators: :eq: MAY :ne: MAY :gt: SHALL :ge: SHALL :lt: SHALL :le: SHALL :sa: MAY :eb: MAY :ap: MAY :values: [] :type: Period :contains_multiple: false :multiple_or: MAY :include_params: [] :revincludes: - Provenance:target :required_concepts: [] :must_supports: :extensions: [] :slices: [] :elements: - :path: identifier - :path: identifier.system - :path: identifier.value - :path: status - :path: class - :path: type - :path: subject :types: - Reference - :path: participant - :path: participant.type - :path: participant.period - :path: participant.individual :types: - Reference - :path: period - :path: reasonCode - :path: hospitalization - :path: hospitalization.dischargeDisposition - :path: location - :path: location.location :types: - Reference :mandatory_elements: - Encounter.identifier.system - Encounter.identifier.value - Encounter.status - Encounter.statusHistory.status - Encounter.statusHistory.period - Encounter.class - Encounter.classHistory.class - Encounter.classHistory.period - Encounter.type - Encounter.subject - Encounter.diagnosis.condition - Encounter.location.location :bindings: - :type: code :strength: preferred :system: http://hl7.org/fhir/ValueSet/languages :path: language - :type: code :strength: required :system: http://hl7.org/fhir/ValueSet/identifier-use :path: identifier.use - :type: CodeableConcept :strength: extensible :system: http://hl7.org/fhir/ValueSet/identifier-type :path: identifier.type - :type: code :strength: required :system: http://hl7.org/fhir/ValueSet/encounter-status :path: status - :type: code :strength: required :system: http://hl7.org/fhir/ValueSet/encounter-status :path: statusHistory.status - :type: Coding :strength: extensible :system: http://terminology.hl7.org/ValueSet/v3-ActEncounterCode :path: class - :type: Coding :strength: extensible :system: http://terminology.hl7.org/ValueSet/v3-ActEncounterCode :path: classHistory.class - :type: CodeableConcept :strength: extensible :system: http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type :path: type - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/service-type :path: serviceType - :type: CodeableConcept :strength: example :system: http://terminology.hl7.org/ValueSet/v3-ActPriority :path: priority - :type: CodeableConcept :strength: extensible :system: http://hl7.org/fhir/ValueSet/encounter-participant-type :path: participant.type - :type: CodeableConcept :strength: preferred :system: http://hl7.org/fhir/ValueSet/encounter-reason :path: reasonCode - :type: CodeableConcept :strength: preferred :system: http://hl7.org/fhir/ValueSet/diagnosis-role :path: diagnosis.use - :type: CodeableConcept :strength: preferred :system: http://hl7.org/fhir/ValueSet/encounter-admit-source :path: hospitalization.admitSource - :type: CodeableConcept :strength: example :system: http://terminology.hl7.org/ValueSet/v2-0092 :path: hospitalization.reAdmission - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/encounter-diet :path: hospitalization.dietPreference - :type: CodeableConcept :strength: preferred :system: http://hl7.org/fhir/ValueSet/encounter-special-courtesy :path: hospitalization.specialCourtesy - :type: CodeableConcept :strength: preferred :system: http://hl7.org/fhir/ValueSet/encounter-special-arrangements :path: hospitalization.specialArrangement - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/encounter-discharge-disposition :path: hospitalization.dischargeDisposition - :type: code :strength: required :system: http://hl7.org/fhir/ValueSet/encounter-location-status :path: location.status - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/location-physical-type :path: location.physicalType :references: - :path: Encounter.identifier.assigner :profiles: - http://hl7.org/fhir/StructureDefinition/Organization - :path: Encounter.subject :profiles: - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - :path: Encounter.episodeOfCare :profiles: - http://hl7.org/fhir/StructureDefinition/EpisodeOfCare - :path: Encounter.basedOn :profiles: - http://hl7.org/fhir/StructureDefinition/ServiceRequest - :path: Encounter.participant.individual :profiles: - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner - :path: Encounter.appointment :profiles: - http://hl7.org/fhir/StructureDefinition/Appointment - :path: Encounter.reasonReference :profiles: - http://hl7.org/fhir/StructureDefinition/Condition - http://hl7.org/fhir/StructureDefinition/Procedure - http://hl7.org/fhir/StructureDefinition/Observation - http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation - :path: Encounter.diagnosis.condition :profiles: - http://hl7.org/fhir/StructureDefinition/Condition - http://hl7.org/fhir/StructureDefinition/Procedure - :path: Encounter.account :profiles: - http://hl7.org/fhir/StructureDefinition/Account - :path: Encounter.hospitalization.origin :profiles: - http://hl7.org/fhir/StructureDefinition/Location - http://hl7.org/fhir/StructureDefinition/Organization - :path: Encounter.hospitalization.destination :profiles: - http://hl7.org/fhir/StructureDefinition/Location - http://hl7.org/fhir/StructureDefinition/Organization - :path: Encounter.location.location :profiles: - http://hl7.org/fhir/StructureDefinition/Location - :path: Encounter.serviceProvider :profiles: - http://hl7.org/fhir/StructureDefinition/Organization - :path: Encounter.partOf :profiles: - http://hl7.org/fhir/StructureDefinition/Encounter :tests: - :id: us_core_v311_encounter_read_test :file_name: encounter_read_test.rb - :id: us_core_v311_encounter_patient_search_test :file_name: encounter_patient_search_test.rb - :id: us_core_v311_encounter__id_search_test :file_name: encounter_id_search_test.rb - :id: us_core_v311_encounter_identifier_search_test :file_name: encounter_identifier_search_test.rb - :id: us_core_v311_encounter_class_patient_search_test :file_name: encounter_class_patient_search_test.rb - :id: us_core_v311_encounter_patient_status_search_test :file_name: encounter_patient_status_search_test.rb - :id: us_core_v311_encounter_patient_type_search_test :file_name: encounter_patient_type_search_test.rb - :id: us_core_v311_encounter_date_patient_search_test :file_name: encounter_date_patient_search_test.rb - :id: us_core_v311_encounter_provenance_revinclude_search_test :file_name: encounter_provenance_revinclude_search_test.rb - :id: us_core_v311_encounter_validation_test :file_name: encounter_validation_test.rb - :id: us_core_v311_encounter_must_support_test :file_name: encounter_must_support_test.rb - :id: us_core_v311_encounter_reference_resolution_test :file_name: encounter_reference_resolution_test.rb :id: us_core_v311_encounter :file_name: encounter_group.rb :delayed_references: - :path: participant.individual :resources: - Practitioner