Skip to content

Commit

Permalink
add current binding
Browse files Browse the repository at this point in the history
  • Loading branch information
healthedata1 committed Mar 28, 2024
1 parent 9dfeb8c commit a7c4349
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 277 deletions.
2 changes: 0 additions & 2 deletions fsh-generated/includes/fsh-link-references.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[average-blood-pressure]: Observation-average-blood-pressure.html
[encounter-diagnosis-example1]: Condition-encounter-diagnosis-example1.html
[pack-years-example]: Observation-pack-years-example.html
[USCoreCommonSDOHAssessments]: ValueSet-uscore-common-sdoh-assessments.html
[USCoreConditionEncounterDiagnosisProfile]: StructureDefinition-us-core-condition-encounter-diagnosis.html
[USCorePatientProfile]: StructureDefinition-us-core-patient.html
Expand Down
17 changes: 2 additions & 15 deletions fsh-generated/resources/ImplementationGuide-uscdi4-sandbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@
],
"definition": {
"resource": [
{
"reference": {
"reference": "Observation/average-blood-pressure"
},
"name": "average-blood-pressure",
"exampleBoolean": true
},
{
"reference": {
"reference": "Condition/encounter-diagnosis-example1"
Expand All @@ -74,13 +67,6 @@
"name": "Encounter Diagnosis Example 1",
"exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis"
},
{
"reference": {
"reference": "Observation/pack-years-example"
},
"name": "pack-years-example",
"exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus"
},
{
"reference": {
"reference": "ValueSet/uscore-common-sdoh-assessments"
Expand Down Expand Up @@ -247,6 +233,7 @@
"code": "propagate-status",
"value": "true"
}
]
],
"extension": []
}
}
8 changes: 0 additions & 8 deletions input/data/ig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,12 @@ dependsOn:
id: hl7_fhir_uv_extensions_r4
definition:
resource:
- reference:
reference: Observation/average-blood-pressure
name: average-blood-pressure
exampleBoolean: true
- reference:
reference: Condition/encounter-diagnosis-example1
description: This example of a US Core Condition Encounter Diagnosis Profile illustrates
its use to capture information about a patient's encounter diagnosis.
name: Encounter Diagnosis Example 1
exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis
- reference:
reference: Observation/pack-years-example
name: pack-years-example
exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus
- reference:
reference: ValueSet/uscore-common-sdoh-assessments
description: "Common SDOH assessment concepts covering the following categories\
Expand Down
105 changes: 0 additions & 105 deletions input/examples/Observation-average-blood-pressure.json

This file was deleted.

128 changes: 59 additions & 69 deletions input/examples/condition-encounter-diagnosis-example1.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,63 @@
{
"resourceType": "Condition",
"id": "encounter-diagnosis-example1",
"meta": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/instance-name",
"valueString": "Encounter Diagnosis Example 1"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/instance-description",
"valueMarkdown": "This example of a US Core Condition Encounter Diagnosis Profile illustrates its use to capture information about a patient's encounter diagnosis."
}
],
"profile": [
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis"
]
},
"extension": [
"resourceType": "Condition",
"id": "encounter-diagnosis-example1",
"meta": {
"profile": [
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate",
"valueDateTime": "2015-10-31"
}
],
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "resolved"
}
]
},
"verificationStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
"code": "confirmed"
}
]
},
"category": [
{
"coding": [
{
"url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate",
"valueDateTime": "2015-10-31"
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis",
"display": "Encounter Diagnosis"
}
]
}
],
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "39065001",
"display": "Burn of ear",
"version": "http://snomed.info/sct/731000124108"
}
],
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "resolved"
}
]
},
"verificationStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
"code": "confirmed"
}
]
},
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis",
"display": "Encounter Diagnosis"
}
]
}
],
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "39065001",
"display": "Burn of ear",
"version": "http://snomed.info/sct/731000124108"
}
],
"text": "Burnt Ear"
},
"subject": {
"reference": "Patient/example",
"display": "Amy Shaw"
},
"encounter": {
"reference": "Encounter/example-1"
},
"onsetDateTime": "2015-10-31",
"abatementDateTime": "2015-12-01",
"recordedDate": "2015-11-01"
}
"text": "Burnt Ear"
},
"subject": {
"reference": "Patient/example",
"display": "Amy Shaw"
},
"encounter": {
"reference": "Encounter/example-1"
},
"onsetDateTime": "2015-10-31",
"abatementDateTime": "2015-12-01",
"recordedDate": "2015-11-01"
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

**Example Usage Scenarios:**

The following are example usage scenarios for this profile:

- Query for a Patient's current or historical encounter diagnosis
- [Record or update] a Patient's encounter diagnosis

### 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 Views] below provides the formal summary, definitions, and terminology requirements.

**Each Condition Must Have:**

<!-- 1. a status of the condition* -->
1. a category code of ‘encounter-diagnosis'
1. a code that identifies the condition*
1. a patient

**Each Condition Must Support:**

1. a clinical status of the condition (e.g., active or resolved)
1. a verification status
1. an encounter
1. a date of diagnosis*
1. abatement date (in other words, date of resolution or remission)
1. a date when recorded*

*see guidance below

**Profile Specific Implementation Guidance:**

* For Problems and Health Concerns use the [US Core Condition Problems and Health Concerns Profile].
* <span class="bg-success" markdown="1">\*The `Condition.code` has an *additional binding* of "current" and a base [preferred] binding.</span><!-- new-content -->
- <span class="bg-success" markdown="1">For the conformance rules on current binding for coded data, review [this section](general-requirements.html#current-binding-for-coded-elements) in the General Requirements page.</span><!-- new-content -->
- USCDI's applicable vocabulary standards for Encounter Diagnosis are SNOMED CT and ICD-10-CM.
- The [US Core Condition Codes] supports ICD-9-CM for historical purposes only. ICD-10-CM is available and **SHOULD** be used as the primary code for current encounter diagnoses.
* The encounter **SHOULD** always be referenced in `Condition.encounter`.
* To search for an encounter diagnosis, query for Conditions that reference the Encounter of interest and have a category of `encounter-diagnosis`. An example search is shown in the [Quick Start](#search) section below.
* \*There is no single element in Condition that represents the date of diagnosis. It may be the [assertedDate Extension], `Condition.onsetDateTime`, or `Condition.recordedDate`.
* Although all three are marked as Must Support, the server is not required to support all.
* A server **SHALL** support `Condition.recordedDate`.
* A server **SHALL** support at least one of [assertedDate Extension] and `Condition.onsetDateTime`. A server may support both, which means they support all 3 dates.
* The client application **SHALL** support all three elements.

{% include link-list.md %}
Loading

0 comments on commit a7c4349

Please sign in to comment.