--- :name: us_core_condition_encounter_diagnosis :class_name: USCorev501ConditionEncounterDiagnosisSequence :version: v5.0.1 :reformatted_version: v501 :resource: Condition :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis :profile_name: US Core Condition Encounter Diagnosis Profile :profile_version: 5.0.1 :title: Condition Encounter Diagnosis :short_description: Verify support for the server capabilities required by the US Core Condition Encounter Diagnosis 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 - :expectation: SHOULD :names: - patient - abatement-date :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHOULD :names: - patient - asserted-date :names_not_must_support_or_mandatory: - asserted-date :must_support_or_mandatory: false - :expectation: SHOULD :names: - patient - code :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHOULD :names: - patient - category - encounter :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHOULD :names: - patient - category :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHOULD :names: - patient - recorded-date :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHOULD :names: - patient - onset-date :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true - :expectation: SHOULD :names: - patient - clinical-status :names_not_must_support_or_mandatory: [] :must_support_or_mandatory: true :search_definitions: :patient: :paths: - subject :full_paths: - Condition.subject :comparators: {} :values: [] :type: Reference :contains_multiple: false :multiple_or: MAY :abatement-date: :paths: - abatementDateTime - abatementPeriod :full_paths: - Condition.abatementDateTime - Condition.abatementPeriod :comparators: :eq: MAY :ne: MAY :gt: SHALL :ge: SHALL :lt: SHALL :le: SHALL :sa: MAY :eb: MAY :ap: MAY :values: [] :type: date :contains_multiple: false :multiple_or: MAY :asserted-date: :paths: - extension :full_paths: - Condition.extension :comparators: :eq: MAY :ne: MAY :gt: SHALL :ge: SHALL :lt: SHALL :le: SHALL :sa: MAY :eb: MAY :ap: MAY :values: [] :type: Extension :contains_multiple: true :multiple_or: MAY :code: :paths: - code :full_paths: - Condition.code :comparators: {} :values: - '160245001' :type: CodeableConcept :contains_multiple: false :multiple_or: MAY :category: :paths: - category :full_paths: - Condition.category :comparators: {} :values: - encounter-diagnosis :type: CodeableConcept :contains_multiple: true :multiple_or: MAY :encounter: :paths: - encounter :full_paths: - Condition.encounter :comparators: {} :values: [] :type: Reference :contains_multiple: false :multiple_or: MAY :recorded-date: :paths: - recordedDate :full_paths: - Condition.recordedDate :comparators: :eq: MAY :ne: MAY :gt: SHALL :ge: SHALL :lt: SHALL :le: SHALL :sa: MAY :eb: MAY :ap: MAY :values: [] :type: dateTime :contains_multiple: false :multiple_or: MAY :onset-date: :paths: - onsetDateTime - onsetPeriod :full_paths: - Condition.onsetDateTime - Condition.onsetPeriod :comparators: :eq: MAY :ne: MAY :gt: SHALL :ge: SHALL :lt: SHALL :le: SHALL :sa: MAY :eb: MAY :ap: MAY :values: [] :type: date :contains_multiple: false :multiple_or: MAY :clinical-status: :paths: - clinicalStatus :full_paths: - Condition.clinicalStatus :comparators: {} :values: - active - recurrence - relapse - inactive - remission - resolved :type: CodeableConcept :contains_multiple: false :multiple_or: MAY :include_params: [] :revincludes: - Provenance:target :required_concepts: - clinicalStatus - verificationStatus :must_supports: :extensions: - :id: Condition.extension:assertedDate :url: http://hl7.org/fhir/StructureDefinition/condition-assertedDate :slices: - :name: Condition.category:us-core :path: category :discriminator: :type: patternCodeableConcept :path: '' :code: encounter-diagnosis :system: http://terminology.hl7.org/CodeSystem/condition-category :elements: - :path: clinicalStatus - :path: verificationStatus - :path: category - :path: code - :path: subject :types: - Reference - :path: encounter :types: - Reference - :path: onsetDateTime :original_path: onset[x] - :path: abatementDateTime :original_path: abatement[x] - :path: recordedDate :choices: - :paths: - onsetDateTime :extension_ids: - Condition.extension:assertedDate :mandatory_elements: - Condition.category - Condition.code - Condition.subject :bindings: - :type: code :strength: preferred :system: http://hl7.org/fhir/ValueSet/languages :path: language - :type: CodeableConcept :strength: required :system: http://hl7.org/fhir/ValueSet/condition-clinical :path: clinicalStatus - :type: CodeableConcept :strength: required :system: http://hl7.org/fhir/ValueSet/condition-ver-status :path: verificationStatus - :type: CodeableConcept :strength: extensible :system: http://hl7.org/fhir/ValueSet/condition-category :path: category - :type: CodeableConcept :strength: extensible :system: http://hl7.org/fhir/ValueSet/condition-category :path: category - :type: CodeableConcept :strength: preferred :system: http://hl7.org/fhir/ValueSet/condition-severity :path: severity - :type: CodeableConcept :strength: extensible :system: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code :path: code - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/body-site :path: bodySite - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/condition-stage :path: stage.summary - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/condition-stage-type :path: stage.type - :type: CodeableConcept :strength: example :system: http://hl7.org/fhir/ValueSet/manifestation-or-symptom :path: evidence.code :references: - :path: Condition.subject :profiles: - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - :path: Condition.encounter :profiles: - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter - :path: Condition.recorder :profiles: - http://hl7.org/fhir/StructureDefinition/Practitioner - http://hl7.org/fhir/StructureDefinition/PractitionerRole - http://hl7.org/fhir/StructureDefinition/Patient - http://hl7.org/fhir/StructureDefinition/RelatedPerson - :path: Condition.asserter :profiles: - http://hl7.org/fhir/StructureDefinition/Practitioner - http://hl7.org/fhir/StructureDefinition/PractitionerRole - http://hl7.org/fhir/StructureDefinition/Patient - http://hl7.org/fhir/StructureDefinition/RelatedPerson - :path: Condition.stage.assessment :profiles: - http://hl7.org/fhir/StructureDefinition/ClinicalImpression - http://hl7.org/fhir/StructureDefinition/DiagnosticReport - http://hl7.org/fhir/StructureDefinition/Observation - :path: Condition.evidence.detail :profiles: - http://hl7.org/fhir/StructureDefinition/Resource :tests: - :id: us_core_v501_condition_encounter_diagnosis_patient_search_test :file_name: condition_encounter_diagnosis_patient_search_test.rb - :id: us_core_v501_condition_encounter_diagnosis_patient_abatement_date_search_test :file_name: condition_encounter_diagnosis_patient_abatement_date_search_test.rb - :id: us_core_v501_condition_encounter_diagnosis_patient_asserted_date_search_test :file_name: condition_encounter_diagnosis_patient_asserted_date_search_test.rb - :id: us_core_v501_condition_encounter_diagnosis_patient_code_search_test :file_name: condition_encounter_diagnosis_patient_code_search_test.rb - :id: us_core_v501_condition_encounter_diagnosis_patient_category_encounter_search_test :file_name: condition_encounter_diagnosis_patient_category_encounter_search_test.rb - :id: us_core_v501_condition_encounter_diagnosis_patient_category_search_test :file_name: condition_encounter_diagnosis_patient_category_search_test.rb - :id: us_core_v501_condition_encounter_diagnosis_patient_recorded_date_search_test :file_name: condition_encounter_diagnosis_patient_recorded_date_search_test.rb - :id: us_core_v501_condition_encounter_diagnosis_patient_onset_date_search_test :file_name: condition_encounter_diagnosis_patient_onset_date_search_test.rb - :id: us_core_v501_condition_encounter_diagnosis_patient_clinical_status_search_test :file_name: condition_encounter_diagnosis_patient_clinical_status_search_test.rb - :id: us_core_v501_condition_encounter_diagnosis_read_test :file_name: condition_encounter_diagnosis_read_test.rb - :id: us_core_v501_condition_encounter_diagnosis_provenance_revinclude_search_test :file_name: condition_encounter_diagnosis_provenance_revinclude_search_test.rb - :id: us_core_v501_condition_encounter_diagnosis_validation_test :file_name: condition_encounter_diagnosis_validation_test.rb - :id: us_core_v501_condition_encounter_diagnosis_must_support_test :file_name: condition_encounter_diagnosis_must_support_test.rb - :id: us_core_v501_condition_encounter_diagnosis_reference_resolution_test :file_name: condition_encounter_diagnosis_reference_resolution_test.rb :id: us_core_v501_condition_encounter_diagnosis :file_name: condition_encounter_diagnosis_group.rb :delayed_references: []