This page is part of the FHIR Specification v4.3.0-snapshot1: R4B Snapshot to support the Jan 2022 Connectathon. About the R4B version of FHIR. The current officially released version is 4.3.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
Vocabulary Work Group | Maturity Level: 0 | Standards Status: Trial Use |
For example, we have a Condition.code and the applicable profile binds the code to the value set http://hl7.org/fhir/ValueSet/condition-code with an Extensible binding:
{ "path": "Condition.code", "definition" : "Identification of the condition, problem or diagnosis." "binding": { "strength": "extensible", "valueSetCanonical": "http://hl7.org/fhir/ValueSet/condition-code" } }
This value set includes all SNOMED CT concepts that are clinical findings.
{ "resourceType": "Condition", "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "39065001", "display": "Burn of ear" } ], "text": "Burnt Ear" }, "subject": { "reference": "Patient/example" } }
This concept (code = 39065001) is included in the value set so the instance is valid.
{ "resourceType": "Condition", "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "312824007", "display": "Family history of cancer of colon" } ] }, "subject": { "reference": "Patient/example" } }
This SNOMED CT concept is not a clinical finding. So is it valid? With the extensible binding 2 questions must be answered:
So this example is most likely valid (based on human review).
{ "resourceType": "Condition", "code": { "coding": [ { "system": "http://my-local-organization.com", "code": "XYZ123", "display": "Severe pneumococcal pneumonia" } ] }, "subject": { "reference": "Patient/example" } }
This Condition instance contains a local code. Is it a valid instance? With the extensible binding, the same questions as before have to be answered:
What if we would like to send our local code for ‘Severe pneumococcal pneumonia’ in the instance along with the SNOMED CT code 233607000 for ‘Pneumococcal pneumonia’? Because the data type for Condition.code is CodeableConcept, we can do that using an additional Coding (as a translation):
{ "resourceType": "Condition", "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "233607000", "display": "Pneumococcal pneumonia" }, { "system": "http://my-local-organization.com", "code": "XYZ123", "display": "Severe pneumococcal pneumonia" } ] }, "subject": { "reference": "Patient/example" } }
So this is a valid Condition instance which contains both the applicable SNOMED CT code from the extensibly bound condition-code value set for ‘Pneumococcal pneumonia’ as well as my organization's local code for ‘Severe pneumococcal pneumonia’.
The choice of code with a Preferred binding is considerably simpler than for an Extensional binding, because the Preferred binding is a suggestion from the developers of the resource or profile about which codes they believe would be best to use to represent this data. However, in a particular instance you are free to choose to follow that suggestion or not, depending on your particular desires and needs, and there are no specific conformance expectations regarding that choice.
So in this case we have a Condition.code and the applicable profile binds the code to the value set http://hl7.org/fhir/ValueSet/condition-code with a Preferred binding:
{ "path": "Condition.code", "definition" : "Identification of the condition, problem or diagnosis." "binding": { "strength": "preferred", "valueSetCanonical": "http://hl7.org/fhir/ValueSet/condition-code" } }
With the Preferred binding all of the following instances (and many other possibilities) are valid instances of the Condition resource:
{ "resourceType": "Condition", "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "39065001", "display": "Burn of ear" } ], "text": "Burnt Ear" }, "subject": { "reference": "Patient/example" } }
{ "resourceType": "Condition", "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "312824007", "display": "Family history of cancer of colon" } ] }, "subject": { "reference": "Patient/example" } }
{ "resourceType": "Condition", "code": { "coding": [ { "system": "http://my-local-organization.com", "code": "XYZ123", "display": "Severe pneumococcal pneumonia" } ] }, "subject": { "reference": "Patient/example" } }
{ "resourceType": "Condition", "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "233607000", "display": "Pneumococcal pneumonia" }, { "system": "http://my-local-organization.com", "code": "XYZ123", "display": "Severe pneumococcal pneumonia" } ] }, "subject": { "reference": "Patient/example" } }