Skip to content

Commit

Permalink
Add constraint ensuring portal URLS are populated in Organization.end…
Browse files Browse the repository at this point in the history
…point
  • Loading branch information
jmandel committed Feb 1, 2024
1 parent 8ee546d commit 574d7a3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion input/resources/StructureDefinition-patient-access-brand.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,16 @@
"id": "Organization",
"path": "Organization",
"short": "User Access Brand",
"definition": "A brand of a healthcare provider, such as a hospital, clinic, or practice"
"definition": "A brand of a healthcare provider, such as a hospital, clinic, or practice",
"constraint": [
{
"key" : "uab-1",
"severity" : "error",
"human" : "Portal endpoints must also appear at Organization.endpoint",
"expression" : "Organization.extension('http://hl7.org/fhir/StructureDefinition/organization-portal').extension('portalEndpoint').value.subsetOf(%resource.endpoint)",
"source" : "http://hl7.org/fhir/smart-app-launch/StructureDefinition/user-access-brand"
}
]
},
{
"id": "Organization.extension",
Expand Down

0 comments on commit 574d7a3

Please sign in to comment.