You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our current validation will therefor result in the following warning:
{
"severity": "warning",
"code": "incomplete",
"expression": ["Patient.address[0].state"],
"details": {"text": "Membership check was not performed: value set 'http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state' is empty or could not be expanded"}
}
Describe the solution you'd like
An expanded version of this valueset available in the registry so that we can use it to validate
Describe alternatives you've considered
document how to use the remote term service provider for this codesystem
Acceptance Criteria
GIVEN our us-core jar is in userlib
AND a patient resource that claims conformance to us-core-patient and has an address with a state element that has a code from http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state'
WHEN you create/update (with Prefer: return=OperationOutcome) or $validate the resource
THEN there are no informational or warning issues about being unable to validate the code
GIVEN our us-core jar is in userlib
AND a patient resource that claims conformance to us-core-patient and has an address with a state element that has a value which is not from http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state'
WHEN you create/update (with Prefer: return=OperationOutcome) or $validate the resource
THEN there is an informational issue about being unable to validate the code
Additional context
The text was updated successfully, but these errors were encountered:
The ValueSet in US Core does not include the actual codes. Rather than
add a CodeSystem resource for the codes, we replace the packaged
ValueSet with a pre-expanded version that lists all the codes.
Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
Is your feature request related to a problem? Please describe.
In the US Core IG, they have a ValueSet for US Postal Service states: http://hl7.org/fhir/us/core/STU4/ValueSet-us-core-usps-state.json.html
Unfortunately, the codesystem they pull from isn't defined in FHIR:
Our current validation will therefor result in the following warning:
Describe the solution you'd like
An expanded version of this valueset available in the registry so that we can use it to validate
Describe alternatives you've considered
document how to use the remote term service provider for this codesystem
Acceptance Criteria
GIVEN our us-core jar is in userlib
AND a patient resource that claims conformance to us-core-patient and has an address with a state element that has a code from http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state'
WHEN you create/update (with
Prefer: return=OperationOutcome
) or $validate the resourceTHEN there are no informational or warning issues about being unable to validate the code
GIVEN our us-core jar is in userlib
AND a patient resource that claims conformance to us-core-patient and has an address with a state element that has a value which is not from http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state'
WHEN you create/update (with
Prefer: return=OperationOutcome
) or $validate the resourceTHEN there is an informational issue about being unable to validate the code
Additional context
The text was updated successfully, but these errors were encountered: