diff --git a/fshcustom/GofrRole.fsh b/fshcustom/GofrRole.fsh deleted file mode 100644 index b5e675869..000000000 --- a/fshcustom/GofrRole.fsh +++ /dev/null @@ -1,848 +0,0 @@ -Profile: GofrRole -Parent: Basic -Id: gofr-role -Title: "GOFR Role" -Description: "GOFR Profile of the Basic resource to manage roles." -* code = GofrResourceCodeSystem#role -* extension contains - GofrBasicName named name 1..1 MS and - GofrRolePrimary named primary 1..1 and - GofrAssignRole named role 0..* and - task 0..* -* extension[name].valueString 1..1 MS -* extension[task].value[x] only Reference(Basic) -* extension[task].valueReference 1..1 MS -* extension[task].valueReference ^label = "Task" - -Profile: GofrTask -Parent: Basic -Id: gofr-task -Title: "GOFR Task" -Description: "GOFR Profile of the Basic resource to manage tasks." -* code = GofrResourceCodeSystem#task -* extension contains - GofrBasicName named name 1..1 MS and - TaskAttributes named attributes 0..1 and - compositeTask 0..* -* extension[name].valueString 1..1 MS -* extension[compositeTask].value[x] only Reference(Basic) -* extension[compositeTask].valueReference 1..1 MS -* extension[compositeTask].valueReference ^label = "Composite Task" - -Invariant: gofr-task-instance-constraint -Description: "Only one of extension[instance].valueCode or extension[constraint].valueReference SHALL be present." -Expression: "extension(url = instance).exists() xor extension(url = constraint).exists()" -Severity: #error -XPath: "exists(f:extension(url = instance)) != exists(f:extension(url = constraint))" - -Extension: GofrBasicName -Id: gofr-basic-name -Title: "GOFR Basic Name" -Description: "GOFR name field for basic resources." -* ^context[0].type = #element -* ^context[0].expression = "Basic" -* value[x] only string -* valueString 1..1 MS -* valueString ^label = "Name" - -Extension: GofrRolePrimary -Id: gofr-role-primary -Title: "GOFR Role Primary" -Description: "GOFR flag for roles to indicate a primary role for assignment to users." -* ^context[1].type = #element -* ^context[1].expression = "GofrRole" -* value[x] only boolean -* valueBoolean 1..1 - -Extension: GofrAssignRole -Id: gofr-assign-role -Title: "GOFR Assign Role" -Description: "GOFR Assign Role to a user or other role." -* ^context[0].type = #element -* ^context[0].expression = "Person" -* ^context[1].type = #element -* ^context[1].expression = "GofrRole" -* value[x] only Reference -* valueReference 1..1 MS -* valueReference ^label = "Role" -* valueReference only Reference(GofrRole) -* valueReference.reference ^label = "Role" - -Extension: TaskAttributes -Id: task-attributes -Title: "Task Attributes" -Description: "Task attributes." -* ^context.type = #element -* ^context.expression = "GofrTask" -* obeys gofr-task-instance-constraint -* extension contains - permission 1..1 MS and - resource 0..1 MS and - instance 0..1 MS and - field 0..1 MS and - constraint 0..1 MS -* extension[permission].value[x] only code -* extension[permission].valueCode from GofrTaskPermissionValueSet (required) -* extension[resource].value[x] only code -* extension[resource].valueCode from GofrTaskResourceValueSet (extensible) -* extension[instance].value[x] only id -* extension[field].value[x] only string -* extension[constraint].value[x] only string - -CodeSystem: GofrTaskPermissionCodeSystem -Id: gofr-task-permission -Title: "Code system for task permissions." -* ^date = "2021-03-26T09:25:04.362Z" -* ^version = "0.3.0" -* #* "All" "Can do any task." -* #read "Read" "Can read the given resource." -* #write "Write" "Can write the given resource." -* #delete "Delete" "Can delete the given resource." -* #filter "Filter" "Search filter constraints." -* #special "Special" "Special non-resource permissions." - -ValueSet: GofrTaskPermissionValueSet -Id: gofr-task-permission -Title: "Code system for task permissions." -* ^date = "2021-03-26T09:25:04.362Z" -* ^version = "0.3.0" -* codes from system GofrTaskPermissionCodeSystem - -CodeSystem: GofrTaskResourceCodeSystem -Id: gofr-task-resource -Title: "Code system for task permissions." -* ^date = "2021-03-26T09:25:04.362Z" -* ^version = "0.3.0" -* #* "All" -* #Practitioner "Practitioner" -* #StructureDefinition "StructureDefinition" -* #ValueSet "ValueSet" -* #CodeSystem "CodeSystem" -* #Basic "Basic" -* #DocumentReference "DocumentReference" -* #Questionnaire "Questionnaire" -* #QuestionnaireResponse "QuestionnaireResponse" -* #PractitionerRole "PractitionerRole" -* #Location "Location" -* #Organization "Organization" -* #HealthcareService "HealthcareService" -* #Person "Person" -* #Custom "Custom" -* #Navigation "Navigation" - -ValueSet: GofrTaskResourceValueSet -Id: gofr-task-resource -Title: "Code system for task permissions." -* ^date = "2021-03-26T09:25:04.362Z" -* ^version = "0.3.0" -* codes from system GofrTaskResourceCodeSystem - -Instance: gofr-role-open -InstanceOf: GofrRole -Title: "GOFR Open Role" -Usage: #example -* code = GofrResourceCodeSystem#role -* extension[name].valueString = "Open Role" -* extension[primary].valueBoolean = true -* extension[task][0].valueReference = Reference(Basic/gofr-task-read-structure-definition) -* extension[task][1].valueReference = Reference(Basic/gofr-task-read-code-system) -* extension[task][2].valueReference = Reference(Basic/gofr-task-read-value-set) -* extension[task][3].valueReference = Reference(Basic/gofr-task-read-document-reference) - -Instance: gofr-role-admin -InstanceOf: GofrRole -Title: "GOFR Admin Role" -Usage: #example -* code = GofrResourceCodeSystem#role -* extension[name].valueString = "Admin" -* extension[primary].valueBoolean = true -* extension[task][0].valueReference = Reference(Basic/gofr-task-all-permissions-to-everything) -* extension[role][0].valueReference = Reference(Basic/gofr-role-open) - -Instance: gofr-task-all-permissions-to-everything -InstanceOf: GofrTask -Title: "GOFR Task With All Permissions To Everything" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "all-permissions-to-everything" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#* -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#* - -Instance: gofr-task-read-structure-definition -InstanceOf: GofrTask -Title: "GOFR Task To Read StructureDefinition Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-structure-definition" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#StructureDefinition - -Instance: gofr-task-read-code-system -InstanceOf: GofrTask -Title: "GOFR Task To Read CodeSystem resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-code-system" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#CodeSystem - -Instance: gofr-task-read-value-set -InstanceOf: GofrTask -Title: "GOFR Task To Read Valueset Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-value-set" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#ValueSet - -Instance: gofr-task-read-document-reference -InstanceOf: GofrTask -Title: "GOFR Task To Read DocumentReference" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-document-reference" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#DocumentReference -* extension[attributes][0].extension[constraint].valueString = "category.exists(coding.exists(code = 'open'))" - -Instance: gofr-task-read-location-resource -InstanceOf: GofrTask -Title: "GOFR Task To Read Location Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-location-resource" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Location - -Instance: gofr-task-read-healthcareservice-resource -InstanceOf: GofrTask -Title: "GOFR Task To Read HealthcareService Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-healthcareservice-resource" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#HealthcareService - -Instance: gofr-task-read-organization-resource -InstanceOf: GofrTask -Title: "GOFR Task To Read Organization Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-organization-resource" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Organization - -Instance: gofr-task-read-gofr-page-service -InstanceOf: GofrTask -Title: "GOFR Task To Read Service Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-service" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-service" - -Instance: gofr-task-read-gofr-page-organization -InstanceOf: GofrTask -Title: "GOFR Task To Read Organization Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-organization" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-mcsd-organization" - -Instance: gofr-task-read-gofr-page-jurisdiction -InstanceOf: GofrTask -Title: "GOFR Task To Read Jurisdiction Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-jurisdiction" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-jurisdiction" - -Instance: gofr-task-read-gofr-page-facility -InstanceOf: GofrTask -Title: "GOFR Task To Read Facility Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-facility" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-facility" - -Instance: gofr-task-read-gofr-page-facility-add-request -InstanceOf: GofrTask -Title: "GOFR Task To Read Facility Add Request Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-facility-add-request" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-facility-add-request" - -Instance: gofr-task-read-gofr-page-facility-update-request -InstanceOf: GofrTask -Title: "GOFR Task To Read Facility Update Request Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-facility-update-request" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-facility-update-request" - -Instance: gofr-task-read-gofr-page-search -InstanceOf: GofrTask -Title: "GOFR Task To Read Search Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-search" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-search" - -Instance: gofr-task-read-questionnaire-resource -InstanceOf: GofrTask -Title: "GOFR Task To Read Questionnaire Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-questionnaire-resource" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Questionnaire - -Instance: gofr-task-write-questionnaireresponse-resource -InstanceOf: GofrTask -Title: "GOFR Task To Write QuestionnaireResponse Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "write-questionnaireresponse-resource" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#write -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#QuestionnaireResponse - -Instance: gofr-task-view-search-organization-page -InstanceOf: GofrTask -Title: "GOFR Task To View Search Organization Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-search-organization-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-search-organization-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) - -Instance: gofr-task-view-search-service-page -InstanceOf: GofrTask -Title: "GOFR Task To View Search Service Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-search-service-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-search-service-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) - -Instance: gofr-task-view-search-jurisdiction-page -InstanceOf: GofrTask -Title: "GOFR Task To View Search Jurisdiction Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-search-jurisdiction-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-search-jurisdiction-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) - -Instance: gofr-task-view-search-facility-page -InstanceOf: GofrTask -Title: "GOFR Task To View Search Facility Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-search-facility-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-search-facility-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) - -Instance: gofr-task-view-config-page -InstanceOf: GofrTask -Title: "GOFR Task To View Configure Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-config-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-config-page" - -Instance: gofr-task-view-home-page -InstanceOf: GofrTask -Title: "GOFR Task To View Home Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-home-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-home-page" - -Instance: gofr-task-view-add-organization-page -InstanceOf: GofrTask -Title: "GOFR Task To View Add Organization Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-add-organization-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-add-organization-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-organization) - -Instance: gofr-task-view-add-facility-page -InstanceOf: GofrTask -Title: "GOFR Task To View Add Facility Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-add-facility-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-add-facility-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-facility) - -Instance: gofr-task-view-add-jurisdiction-page -InstanceOf: GofrTask -Title: "GOFR Task To View Add Jurisdiction Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-add-jurisdiction-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-add-jurisdiction-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-jurisdiction) - -Instance: gofr-task-view-add-healthcare-service-page -InstanceOf: GofrTask -Title: "GOFR Task To View Add Healthcare Service Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-add-healthcare-service-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-add-healthcare-service-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-service) - -Instance: gofr-task-process-add-facility-request -InstanceOf: GofrTask -Title: "GOFR Task To Approve/Reject Add Facilities Requests" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "process-add-facility-request" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "process-add-facility-request" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) - -Instance: gofr-task-process-update-facility-request -InstanceOf: GofrTask -Title: "GOFR Task To Approve/Reject Update Facilities Requests" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "process-update-facility-request" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "process-update-facility-request" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) - -Instance: gofr-task-search-records -InstanceOf: GofrTask -Title: "GOFR Task Search Records" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "search-records" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#navigation -* extension[attributes][0].extension[instance].valueId = "search-records" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-search) - -Instance: gofr-task-make-facilityregistry-requests -InstanceOf: GofrTask -Title: "GOFR Task To View Parent Menu For Requesting Changes/Add Of Facilities" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "make-facilityregistry-requests" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "make-facilityregistry-requests" - -Instance: gofr-task-view-request-add-facility-page -InstanceOf: GofrTask -Title: "GOFR Task To View Page For Requesting Adding New Facilities" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-request-add-facility-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-request-add-facility-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-make-facilityregistry-requests) - -Instance: gofr-task-view-request-update-facility-page -InstanceOf: GofrTask -Title: "GOFR Task To View Page For Requesting Update Facility Details" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-request-update-facility-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-request-update-facility-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-make-facilityregistry-requests) - -Instance: gofr-task-view-update-facility-requests -InstanceOf: GofrTask -Title: "GOFR Task To View Requests For Facilities Update" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-update-facility-requests" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-update-facility-requests" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-facility-update-request) - -Instance: gofr-task-view-add-facility-requests -InstanceOf: GofrTask -Title: "GOFR Task To View Requests For Facilities Addition" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-add-facility-requests" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-add-facility-requests" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-facility-add-request) - -Instance: gofr-task-manage-account -InstanceOf: GofrTask -Title: "GOFR Task To Manage Account" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "manage-account" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "manage-account" - -Instance: gofr-task-add-user -InstanceOf: GofrTask -Title: "GOFR Task To Add Users" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "add-user" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "add-user" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-account) - -Instance: gofr-task-view-user -InstanceOf: GofrTask -Title: "GOFR Task To View Users" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-user" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-user" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-account) - -Instance: gofr-task-change-password -InstanceOf: GofrTask -Title: "GOFR Task To Change Password" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "change-password" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "change-password" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-account) - -Instance: gofr-task-change-admin-config -InstanceOf: GofrTask -Title: "GOFR Task To Change Admin Config" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "change-admin-config" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "change-admin-config" - -Instance: gofr-task-access-facility-reconciliation-mod -InstanceOf: GofrTask -Title: "GOFR Task To Access Facility Reconciliation Module" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "access-facility-reconciliation-mod" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "access-facility-reconciliation-mod" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-home-page) - -Instance: gofr-task-access-facility-registry-mod -InstanceOf: GofrTask -Title: "GOFR Task To Access Facility Registry Module" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "access-facility-registry-mod" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "access-facility-registry-mod" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-home-page) - -Instance: gofr-task-manage-data-source -InstanceOf: GofrTask -Title: "GOFR Task To Manage Data Source" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "manage-data-source" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "manage-data-source" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-reconciliation-mod) - -Instance: gofr-task-manage-reconciliations -InstanceOf: GofrTask -Title: "GOFR Task To Manage Reconciliations" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "manage-reconciliations" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "manage-reconciliations" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-reconciliation-mod) - -Instance: gofr-task-add-data-source -InstanceOf: GofrTask -Title: "GOFR Task To Add Data Source" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "add-data-source" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "add-data-source" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-data-source) - -Instance: gofr-task-view-data-source -InstanceOf: GofrTask -Title: "GOFR Task To View Data Source" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-data-source" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-data-source" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-data-source) - -Instance: gofr-task-share-data-source -InstanceOf: GofrTask -Title: "GOFR Task To Share Data Source" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "share-data-source" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "share-data-source" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-data-source) - -Instance: gofr-task-create-source-pair -InstanceOf: GofrTask -Title: "GOFR Task To Create Data Source Pairs" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "create-source-pair" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "create-source-pair" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) - -Instance: gofr-task-share-source-pair -InstanceOf: GofrTask -Title: "GOFR Task To Share Data Source Pairs" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "share-source-pair" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "share-source-pair" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) - -Instance: gofr-task-activate-source-pair -InstanceOf: GofrTask -Title: "GOFR Task To Activate Data Source Pair" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "activate-source-pair" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "activate-source-pair" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) - -Instance: gofr-task-deactivate-source-pair -InstanceOf: GofrTask -Title: "GOFR Task To Deactivate Data Source Pair" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "deactivate-source-pair" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "deactivate-source-pair" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) - -Instance: gofr-task-view-source-pair -InstanceOf: GofrTask -Title: "GOFR Task To View Data Source Pair" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-source-pair" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-source-pair" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-reconciliations) - -Instance: gofr-task-delete-data-source -InstanceOf: GofrTask -Title: "GOFR Task To Delete Data Source" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "delete-data-source" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "delete-data-source" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-data-source) - -Instance: gofr-task-delete-source-pair -InstanceOf: GofrTask -Title: "GOFR Task To Delete Data Source Pair" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "delete-source-pair" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "delete-source-pair" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) - -Instance: gofr-task-view-matching-status -InstanceOf: GofrTask -Title: "GOFR Task To View Matching Status" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-matching-status" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-matching-status" - -Instance: gofr-task-data-source-reconciliation -InstanceOf: GofrTask -Title: "GOFR Task To Perform Data Source Reconciliation" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "data-source-reconciliation" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "data-source-reconciliation" - -Instance: gofr-task-match-location -InstanceOf: GofrTask -Title: "GOFR Task To Match Location" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "match-location" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "match-location" - -Instance: gofr-task-accept-flagged-location -InstanceOf: GofrTask -Title: "GOFR Task To Accept Flagged Location" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "accept-flagged-location" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "accept-flagged-location" - -Instance: gofr-task-break-matched-location -InstanceOf: GofrTask -Title: "GOFR Task To Break Matched Location" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "break-matched-location" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "break-matched-location" - -Instance: gofr-task-open-matching -InstanceOf: GofrTask -Title: "GOFR Task To Open Matching Process" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "open-matching" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "open-matching" - -Instance: gofr-task-close-matching -InstanceOf: GofrTask -Title: "GOFR Task To Close Matching Process" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "close-matching" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "close-matching" - -Instance: gofr-role-data-manager -InstanceOf: GofrRole -Title: "GOFR Data Manager Role" -Usage: #example -* code = GofrResourceCodeSystem#role -* extension[name].valueString = "Data Manager" -* extension[primary].valueBoolean = false -* extension[task][0].valueReference = Reference(Basic/gofr-task-view-search-organization-page) -* extension[task][1].valueReference = Reference(Basic/gofr-task-break-matched-location) -* extension[task][2].valueReference = Reference(Basic/gofr-task-accept-flagged-location) -* extension[task][3].valueReference = Reference(Basic/gofr-task-match-location) -* extension[task][4].valueReference = Reference(Basic/gofr-task-data-source-reconciliation) -* extension[task][5].valueReference = Reference(Basic/gofr-task-view-matching-status) -* extension[task][6].valueReference = Reference(Basic/gofr-task-delete-source-pair) -* extension[task][7].valueReference = Reference(Basic/gofr-task-delete-data-source) -* extension[task][8].valueReference = Reference(Basic/gofr-task-view-source-pair) -* extension[task][9].valueReference = Reference(Basic/gofr-task-deactivate-source-pair) -* extension[task][10].valueReference = Reference(Basic/gofr-task-activate-source-pair) -* extension[task][11].valueReference = Reference(Basic/gofr-task-share-source-pair) -* extension[task][12].valueReference = Reference(Basic/gofr-task-create-source-pair) -* extension[task][13].valueReference = Reference(Basic/gofr-task-share-data-source) -* extension[task][14].valueReference = Reference(Basic/gofr-task-view-data-source) -* extension[task][15].valueReference = Reference(Basic/gofr-task-add-data-source) -* extension[task][16].valueReference = Reference(Basic/gofr-task-view-add-facility-requests) -* extension[task][17].valueReference = Reference(Basic/gofr-task-view-update-facility-requests) -* extension[task][18].valueReference = Reference(Basic/gofr-task-process-update-facility-request) -* extension[task][19].valueReference = Reference(Basic/gofr-task-process-add-facility-request) -* extension[task][20].valueReference = Reference(Basic/gofr-task-view-add-healthcare-service-page) -* extension[task][21].valueReference = Reference(Basic/gofr-task-view-add-jurisdiction-page) -* extension[task][22].valueReference = Reference(Basic/gofr-task-view-add-facility-page) -* extension[task][23].valueReference = Reference(Basic/gofr-task-view-add-organization-page) -* extension[task][24].valueReference = Reference(Basic/gofr-task-view-config-page) -* extension[task][25].valueReference = Reference(Basic/gofr-task-view-search-facility-page) -* extension[task][26].valueReference = Reference(Basic/gofr-task-view-search-jurisdiction-page) -* extension[task][27].valueReference = Reference(Basic/gofr-task-view-search-service-page) -* extension[task][28].valueReference = Reference(Basic/gofr-task-view-search-organization-page) -* extension[task][29].valueReference = Reference(Basic/gofr-task-write-questionnaireresponse-resource) -* extension[task][30].valueReference = Reference(Basic/gofr-task-read-questionnaire-resource) -* extension[task][31].valueReference = Reference(Basic/gofr-task-read-location-resource) -* extension[task][32].valueReference = Reference(Basic/gofr-task-read-organization-resource) -* extension[task][33].valueReference = Reference(Basic/gofr-task-read-healthcareservice-resource) -* extension[task][34].valueReference = Reference(Basic/gofr-task-read-document-reference) -* extension[task][35].valueReference = Reference(Basic/gofr-task-read-value-set) -* extension[task][36].valueReference = Reference(Basic/gofr-task-read-code-system) -* extension[task][37].valueReference = Reference(Basic/gofr-task-read-structure-definition) -* extension[task][38].valueReference = Reference(Basic/gofr-task-close-matching) -* extension[task][39].valueReference = Reference(Basic/gofr-task-open-matching) \ No newline at end of file diff --git a/fshcustom/GofrTasks.fsh b/fshcustom/GofrTasks.fsh deleted file mode 100644 index 66aa75097..000000000 --- a/fshcustom/GofrTasks.fsh +++ /dev/null @@ -1,45 +0,0 @@ -CodeSystem: GofrTaskPermissionCodeSystem -Id: gofr-task-permission-codesystem -Title: "Code system for task permissions." -* ^date = "2021-07-27T12:11:04.362Z" -* ^version = "0.0.1" -* #* "All" "Can do any task." -* #facility_registry_can_add_facility "Can add new facility registry facility" -* #facility_registry_can_add_service "Can add new service" -* #facility_registry_can_add_jurisdiction "Can add new facility registry jurisdiction" -* #facility_registry_can_add_organization "Can add new facility registry organization" -* #facility_registry_can_add_terminologies "Can add facility registry terminologies" -* #facility_registry_can_view_facility "Can view new facility registry facility" -* #facility_registry_can_view_service "Can view new service" -* #facility_registry_can_view_jurisdiction "Can view new facility registry jurisdiction" -* #facility_registry_can_view_organization "Can view facility registry organizations" -* #facility_registry_can_view_terminologies "Can view facility registry terminologies" -* #facility_registry_can_view_update_facility_details_requests_report "Can view facility registry requests to update facility details" -* #facility_registry_can_view_new_facility_requests_report "Can view facility registry requests to create new facility" -* #facility_registry_can_edit_facility "Can edit facility registry facility" -* #facility_registry_can_edit_update_facility_details_request "Can edit facility registry request to update facility details" -* #facility_registry_can_edit_new_facility_request "Can edit facility registry request to create new facility" -* #facility_registry_can_edit_jurisdiction "Can edit facility registry jurisdiction" -* #facility_registry_can_edit_organization "Can edit facility registry organization" -* #facility_registry_can_edit_service "Can edit facility registry service" -* #facility_registry_can_edit_terminologies "Can edit facility registry terminologies" -* #facility_registry_can_delete_facility "Can delete new facility registry facility" -* #facility_registry_can_delete_service "Can delete new service" -* #facility_registry_can_delete_jurisdiction "Can delete new facility registry jurisdiction" -* #facility_registry_can_delete_organization "Can delete facility registry organization" -* #facility_registry_can_delete_terminologies "Can delete facility registry terminologies" -* #facility_registry_can_delete_new_facility_request "Can delete facility registry request to create new facility" -* #facility_registry_can_delete_update_facility_details_request "Can delete facility registry request to update facility details" -* #facility_registry_can_request_new_facility "Can request addition of new facility" -* #facility_registry_can_request_update_of_facility_details "Can request update of facility details" -* #facility_registry_can_approve_update_facility_details_requests "Can approve facility registry requests to update facility details" -* #facility_registry_can_approve_new_facility_request "Can approve facility registry requests to add new facility" -* #facility_registry_can_reject_update_facility_details_requests "Can reject facility registry requests to update facility details" -* #facility_registry_can_reject_new_facility_request "Can reject facility registry requests to add new facility" - -ValueSet: GofrTaskPermissionValueSet -Id: gofr-task-permission -Title: "Code system for task permissions." -* ^date = "2021-07-27T12:11:04.362Z" -* ^version = "0.0.1" -* codes from system GofrTaskPermissionCodeSystem \ No newline at end of file diff --git a/fshcustom/build/input/examples/Basic-gofr-role-admin.json b/fshcustom/build/input/examples/Basic-gofr-role-admin.json deleted file mode 100644 index d1f62fd1d..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-role-admin.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-role-admin", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-role" - ] - }, - "code": { - "coding": [ - { - "code": "role", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "Admin" - }, - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-role-primary", - "valueBoolean": true - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-all-permissions-to-everything" - } - }, - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-assign-role", - "valueReference": { - "reference": "Basic/gofr-role-open" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-role-data-manager.json b/fshcustom/build/input/examples/Basic-gofr-role-data-manager.json deleted file mode 100644 index 1c1510a57..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-role-data-manager.json +++ /dev/null @@ -1,267 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-role-data-manager", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-role" - ] - }, - "code": { - "coding": [ - { - "code": "role", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "Data Manager" - }, - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-role-primary", - "valueBoolean": false - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-search-organization-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-break-matched-location" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-accept-flagged-location" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-match-location" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-data-source-reconciliation" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-matching-status" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-delete-source-pair" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-delete-data-source" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-source-pair" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-deactivate-source-pair" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-activate-source-pair" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-share-source-pair" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-create-source-pair" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-share-data-source" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-data-source" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-add-data-source" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-add-facility-requests" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-update-facility-requests" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-process-update-facility-request" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-process-add-facility-request" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-add-healthcare-service-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-add-jurisdiction-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-add-facility-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-add-organization-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-config-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-search-facility-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-search-jurisdiction-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-search-service-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-search-organization-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-write-questionnaireresponse-resource" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-questionnaire-resource" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-location-resource" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-organization-resource" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-healthcareservice-resource" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-document-reference" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-value-set" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-code-system" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-structure-definition" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-close-matching" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-open-matching" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-role-open.json b/fshcustom/build/input/examples/Basic-gofr-role-open.json deleted file mode 100644 index 20b6cce0b..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-role-open.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-role-open", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-role" - ] - }, - "code": { - "coding": [ - { - "code": "role", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "Open Role" - }, - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-role-primary", - "valueBoolean": true - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-structure-definition" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-code-system" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-value-set" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-document-reference" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-accept-flagged-location.json b/fshcustom/build/input/examples/Basic-gofr-task-accept-flagged-location.json deleted file mode 100644 index 2e7577dcc..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-accept-flagged-location.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-accept-flagged-location", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "accept-flagged-location" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "accept-flagged-location" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-access-facility-reconciliation-mod.json b/fshcustom/build/input/examples/Basic-gofr-task-access-facility-reconciliation-mod.json deleted file mode 100644 index a4a447d96..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-access-facility-reconciliation-mod.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-access-facility-reconciliation-mod", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "access-facility-reconciliation-mod" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "access-facility-reconciliation-mod" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-access-facility-registry-mod.json b/fshcustom/build/input/examples/Basic-gofr-task-access-facility-registry-mod.json deleted file mode 100644 index 6598b9045..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-access-facility-registry-mod.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-access-facility-registry-mod", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "access-facility-registry-mod" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "access-facility-registry-mod" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-activate-source-pair.json b/fshcustom/build/input/examples/Basic-gofr-task-activate-source-pair.json deleted file mode 100644 index 0ea295789..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-activate-source-pair.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-activate-source-pair", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "activate-source-pair" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "activate-source-pair" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-source-pair" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-add-data-source.json b/fshcustom/build/input/examples/Basic-gofr-task-add-data-source.json deleted file mode 100644 index c481dedc5..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-add-data-source.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-add-data-source", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "add-data-source" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "add-data-source" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-manage-data-source" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-add-user.json b/fshcustom/build/input/examples/Basic-gofr-task-add-user.json deleted file mode 100644 index eec8350cd..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-add-user.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-add-user", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "add-user" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "add-user" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-manage-account" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-all-permissions-to-everything.json b/fshcustom/build/input/examples/Basic-gofr-task-all-permissions-to-everything.json deleted file mode 100644 index b4a82e139..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-all-permissions-to-everything.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-all-permissions-to-everything", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "all-permissions-to-everything" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "*" - }, - { - "url": "resource", - "valueCode": "*" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-break-matched-location.json b/fshcustom/build/input/examples/Basic-gofr-task-break-matched-location.json deleted file mode 100644 index eb038a72c..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-break-matched-location.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-break-matched-location", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "break-matched-location" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "break-matched-location" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-change-admin-config.json b/fshcustom/build/input/examples/Basic-gofr-task-change-admin-config.json deleted file mode 100644 index f6b1e3e20..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-change-admin-config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-change-admin-config", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "change-admin-config" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "change-admin-config" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-change-password.json b/fshcustom/build/input/examples/Basic-gofr-task-change-password.json deleted file mode 100644 index df06af670..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-change-password.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-change-password", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "change-password" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "change-password" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-manage-account" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-close-matching.json b/fshcustom/build/input/examples/Basic-gofr-task-close-matching.json deleted file mode 100644 index 0d465e562..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-close-matching.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-close-matching", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "close-matching" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "close-matching" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-create-source-pair.json b/fshcustom/build/input/examples/Basic-gofr-task-create-source-pair.json deleted file mode 100644 index d6798bff2..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-create-source-pair.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-create-source-pair", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "create-source-pair" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "create-source-pair" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-source-pair" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-data-source-reconciliation.json b/fshcustom/build/input/examples/Basic-gofr-task-data-source-reconciliation.json deleted file mode 100644 index 20f990e82..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-data-source-reconciliation.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-data-source-reconciliation", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "data-source-reconciliation" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "data-source-reconciliation" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-deactivate-source-pair.json b/fshcustom/build/input/examples/Basic-gofr-task-deactivate-source-pair.json deleted file mode 100644 index 7dc395cc8..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-deactivate-source-pair.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-deactivate-source-pair", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "deactivate-source-pair" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "deactivate-source-pair" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-source-pair" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-delete-data-source.json b/fshcustom/build/input/examples/Basic-gofr-task-delete-data-source.json deleted file mode 100644 index 326766598..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-delete-data-source.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-delete-data-source", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "delete-data-source" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "delete-data-source" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-data-source" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-delete-source-pair.json b/fshcustom/build/input/examples/Basic-gofr-task-delete-source-pair.json deleted file mode 100644 index eef2eb6a1..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-delete-source-pair.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-delete-source-pair", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "delete-source-pair" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "delete-source-pair" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-source-pair" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-make-facilityregistry-requests.json b/fshcustom/build/input/examples/Basic-gofr-task-make-facilityregistry-requests.json deleted file mode 100644 index ad468a397..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-make-facilityregistry-requests.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-make-facilityregistry-requests", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "make-facilityregistry-requests" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "make-facilityregistry-requests" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-manage-account.json b/fshcustom/build/input/examples/Basic-gofr-task-manage-account.json deleted file mode 100644 index 939d87992..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-manage-account.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-manage-account", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "manage-account" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "manage-account" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-manage-data-source.json b/fshcustom/build/input/examples/Basic-gofr-task-manage-data-source.json deleted file mode 100644 index f225719f0..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-manage-data-source.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-manage-data-source", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "manage-data-source" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "manage-data-source" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-reconciliation-mod" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-manage-reconciliations.json b/fshcustom/build/input/examples/Basic-gofr-task-manage-reconciliations.json deleted file mode 100644 index 97093c5a5..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-manage-reconciliations.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-manage-reconciliations", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "manage-reconciliations" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "manage-reconciliations" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-reconciliation-mod" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-match-location.json b/fshcustom/build/input/examples/Basic-gofr-task-match-location.json deleted file mode 100644 index c032c63ef..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-match-location.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-match-location", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "match-location" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "match-location" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-open-matching.json b/fshcustom/build/input/examples/Basic-gofr-task-open-matching.json deleted file mode 100644 index a550ad1bb..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-open-matching.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-open-matching", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "open-matching" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "open-matching" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-process-add-facility-request.json b/fshcustom/build/input/examples/Basic-gofr-task-process-add-facility-request.json deleted file mode 100644 index 38cffbf09..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-process-add-facility-request.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-process-add-facility-request", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "process-add-facility-request" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "process-add-facility-request" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-process-update-facility-request.json b/fshcustom/build/input/examples/Basic-gofr-task-process-update-facility-request.json deleted file mode 100644 index 18a0c903c..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-process-update-facility-request.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-process-update-facility-request", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "process-update-facility-request" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "process-update-facility-request" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-code-system.json b/fshcustom/build/input/examples/Basic-gofr-task-read-code-system.json deleted file mode 100644 index 45f232e4e..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-code-system.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-code-system", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-code-system" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "CodeSystem" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-document-reference.json b/fshcustom/build/input/examples/Basic-gofr-task-read-document-reference.json deleted file mode 100644 index 018275297..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-document-reference.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-document-reference", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-document-reference" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "DocumentReference" - }, - { - "url": "constraint", - "valueString": "category.exists(coding.exists(code = 'open'))" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-facility-add-request.json b/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-facility-add-request.json deleted file mode 100644 index c94d80211..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-facility-add-request.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-facility-add-request", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-facility-add-request" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-facility-add-request" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-facility-update-request.json b/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-facility-update-request.json deleted file mode 100644 index ac977abd6..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-facility-update-request.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-facility-update-request", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-facility-update-request" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-facility-update-request" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-facility.json b/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-facility.json deleted file mode 100644 index b84016ed2..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-facility.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-facility", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-facility" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-facility" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-jurisdiction.json b/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-jurisdiction.json deleted file mode 100644 index a3bde9432..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-jurisdiction.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-jurisdiction", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-jurisdiction" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-jurisdiction" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-organization.json b/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-organization.json deleted file mode 100644 index b10e4a52a..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-organization.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-organization", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-organization" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-mcsd-organization" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-search.json b/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-search.json deleted file mode 100644 index 6d3125e56..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-search.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-search", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-search" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-search" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-service.json b/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-service.json deleted file mode 100644 index 8ab0d51d0..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-gofr-page-service.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-service", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-service" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-service" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-healthcareservice-resource.json b/fshcustom/build/input/examples/Basic-gofr-task-read-healthcareservice-resource.json deleted file mode 100644 index a4bc8f2ce..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-healthcareservice-resource.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-healthcareservice-resource", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-healthcareservice-resource" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "HealthcareService" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-location-resource.json b/fshcustom/build/input/examples/Basic-gofr-task-read-location-resource.json deleted file mode 100644 index fe040e3b2..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-location-resource.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-location-resource", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-location-resource" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Location" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-organization-resource.json b/fshcustom/build/input/examples/Basic-gofr-task-read-organization-resource.json deleted file mode 100644 index 828278b94..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-organization-resource.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-organization-resource", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-organization-resource" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Organization" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-questionnaire-resource.json b/fshcustom/build/input/examples/Basic-gofr-task-read-questionnaire-resource.json deleted file mode 100644 index 95874946b..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-questionnaire-resource.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-questionnaire-resource", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-questionnaire-resource" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Questionnaire" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-structure-definition.json b/fshcustom/build/input/examples/Basic-gofr-task-read-structure-definition.json deleted file mode 100644 index 202362d53..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-structure-definition.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-structure-definition", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-structure-definition" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "StructureDefinition" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-read-value-set.json b/fshcustom/build/input/examples/Basic-gofr-task-read-value-set.json deleted file mode 100644 index 012debd7d..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-read-value-set.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-value-set", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-value-set" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "ValueSet" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-search-records.json b/fshcustom/build/input/examples/Basic-gofr-task-search-records.json deleted file mode 100644 index 519ecdd4a..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-search-records.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-search-records", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "search-records" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "navigation" - }, - { - "url": "instance", - "valueId": "search-records" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-search" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-share-data-source.json b/fshcustom/build/input/examples/Basic-gofr-task-share-data-source.json deleted file mode 100644 index 0aaf13246..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-share-data-source.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-share-data-source", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "share-data-source" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "share-data-source" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-data-source" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-share-source-pair.json b/fshcustom/build/input/examples/Basic-gofr-task-share-source-pair.json deleted file mode 100644 index ab74ca926..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-share-source-pair.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-share-source-pair", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "share-source-pair" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "share-source-pair" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-source-pair" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-add-facility-page.json b/fshcustom/build/input/examples/Basic-gofr-task-view-add-facility-page.json deleted file mode 100644 index d19f65b54..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-add-facility-page.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-add-facility-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-add-facility-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-add-facility-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-facility" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-add-facility-requests.json b/fshcustom/build/input/examples/Basic-gofr-task-view-add-facility-requests.json deleted file mode 100644 index bde403f36..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-add-facility-requests.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-add-facility-requests", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-add-facility-requests" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-add-facility-requests" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-facility-add-request" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-add-healthcare-service-page.json b/fshcustom/build/input/examples/Basic-gofr-task-view-add-healthcare-service-page.json deleted file mode 100644 index 869a86f56..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-add-healthcare-service-page.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-add-healthcare-service-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-add-healthcare-service-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-add-healthcare-service-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-service" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-add-jurisdiction-page.json b/fshcustom/build/input/examples/Basic-gofr-task-view-add-jurisdiction-page.json deleted file mode 100644 index a8a4dcc2d..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-add-jurisdiction-page.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-add-jurisdiction-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-add-jurisdiction-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-add-jurisdiction-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-jurisdiction" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-add-organization-page.json b/fshcustom/build/input/examples/Basic-gofr-task-view-add-organization-page.json deleted file mode 100644 index 93f47b168..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-add-organization-page.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-add-organization-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-add-organization-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-add-organization-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-organization" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-config-page.json b/fshcustom/build/input/examples/Basic-gofr-task-view-config-page.json deleted file mode 100644 index a32852eb4..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-config-page.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-config-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-config-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-config-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-data-source.json b/fshcustom/build/input/examples/Basic-gofr-task-view-data-source.json deleted file mode 100644 index 4f58a748b..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-data-source.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-data-source", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-data-source" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-data-source" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-manage-data-source" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-matching-status.json b/fshcustom/build/input/examples/Basic-gofr-task-view-matching-status.json deleted file mode 100644 index 7c80f460a..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-matching-status.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-matching-status", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-matching-status" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-matching-status" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-request-add-facility-page.json b/fshcustom/build/input/examples/Basic-gofr-task-view-request-add-facility-page.json deleted file mode 100644 index 8688aa747..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-request-add-facility-page.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-request-add-facility-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-request-add-facility-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-request-add-facility-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-make-facilityregistry-requests" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-request-update-facility-page.json b/fshcustom/build/input/examples/Basic-gofr-task-view-request-update-facility-page.json deleted file mode 100644 index e2c640bd1..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-request-update-facility-page.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-request-update-facility-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-request-update-facility-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-request-update-facility-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-make-facilityregistry-requests" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-search-facility-page.json b/fshcustom/build/input/examples/Basic-gofr-task-view-search-facility-page.json deleted file mode 100644 index 31e54a39a..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-search-facility-page.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-search-facility-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-search-facility-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-search-facility-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-search-records" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-search-jurisdiction-page.json b/fshcustom/build/input/examples/Basic-gofr-task-view-search-jurisdiction-page.json deleted file mode 100644 index e1679a416..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-search-jurisdiction-page.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-search-jurisdiction-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-search-jurisdiction-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-search-jurisdiction-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-search-records" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-search-organization-page.json b/fshcustom/build/input/examples/Basic-gofr-task-view-search-organization-page.json deleted file mode 100644 index e3b48db35..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-search-organization-page.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-search-organization-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-search-organization-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-search-organization-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-search-records" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-search-service-page.json b/fshcustom/build/input/examples/Basic-gofr-task-view-search-service-page.json deleted file mode 100644 index b85398a22..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-search-service-page.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-search-service-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-search-service-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-search-service-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-search-records" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-source-pair.json b/fshcustom/build/input/examples/Basic-gofr-task-view-source-pair.json deleted file mode 100644 index 611c1318d..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-source-pair.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-source-pair", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-source-pair" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-source-pair" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-manage-reconciliations" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-update-facility-requests.json b/fshcustom/build/input/examples/Basic-gofr-task-view-update-facility-requests.json deleted file mode 100644 index dbfc4ee6e..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-update-facility-requests.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-update-facility-requests", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-update-facility-requests" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-update-facility-requests" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-search-records" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-facility-update-request" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-view-user.json b/fshcustom/build/input/examples/Basic-gofr-task-view-user.json deleted file mode 100644 index af160d521..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-view-user.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-user", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-user" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-user" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-manage-account" - } - } - ] -} diff --git a/fshcustom/build/input/examples/Basic-gofr-task-write-questionnaireresponse-resource.json b/fshcustom/build/input/examples/Basic-gofr-task-write-questionnaireresponse-resource.json deleted file mode 100644 index 9b9b17c1d..000000000 --- a/fshcustom/build/input/examples/Basic-gofr-task-write-questionnaireresponse-resource.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-write-questionnaireresponse-resource", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "write-questionnaireresponse-resource" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "write" - }, - { - "url": "resource", - "valueCode": "QuestionnaireResponse" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshcustom/build/input/examples/Person-gofr-user-admin.json b/fshcustom/build/input/examples/Person-gofr-user-admin.json deleted file mode 100644 index 418f5e347..000000000 --- a/fshcustom/build/input/examples/Person-gofr-user-admin.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Person", - "id": "gofr-user-admin", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-person-user" - ] - }, - "extension": [ - { - "url": "organization", - "valueReference": { - "reference": "Organization/54cdcbe3-87e0-421f-b657-8313fce5f418" - } - }, - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-password", - "extension": [ - { - "url": "hash", - "valueString": "727c00bcb3d604db9b807155240b97347951e5e89e4c69b823279287694501fcaa683d883f5854a05c2c50c5b31413c6bb4a5949876a42b5c5bd74247e5777fc" - }, - { - "url": "salt", - "valueString": "be664906fbbe50918d8cadb5ebd22093" - } - ] - }, - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-assign-role", - "valueReference": { - "reference": "Basic/gofr-role-admin" - } - } - ], - "name": [ - { - "text": "GOFR Admin" - } - ], - "telecom": [ - { - "system": "email", - "value": "root@gofr.org" - }, - { - "system": "phone", - "value": "" - } - ], - "active": true -} diff --git a/fshcustom/build/input/examples/Basic-gofr-page-facility-add-request.json b/fshcustom/fsh-generated/resources/Basic-gofr-page-facility-add-request.json similarity index 100% rename from fshcustom/build/input/examples/Basic-gofr-page-facility-add-request.json rename to fshcustom/fsh-generated/resources/Basic-gofr-page-facility-add-request.json diff --git a/fshcustom/build/input/examples/Basic-gofr-page-facility-update-request.json b/fshcustom/fsh-generated/resources/Basic-gofr-page-facility-update-request.json similarity index 100% rename from fshcustom/build/input/examples/Basic-gofr-page-facility-update-request.json rename to fshcustom/fsh-generated/resources/Basic-gofr-page-facility-update-request.json diff --git a/fshcustom/build/input/examples/Basic-gofr-page-facility.json b/fshcustom/fsh-generated/resources/Basic-gofr-page-facility.json similarity index 100% rename from fshcustom/build/input/examples/Basic-gofr-page-facility.json rename to fshcustom/fsh-generated/resources/Basic-gofr-page-facility.json diff --git a/fshcustom/build/input/examples/Basic-gofr-page-facilityorganization.json b/fshcustom/fsh-generated/resources/Basic-gofr-page-facilityorganization.json similarity index 100% rename from fshcustom/build/input/examples/Basic-gofr-page-facilityorganization.json rename to fshcustom/fsh-generated/resources/Basic-gofr-page-facilityorganization.json diff --git a/fshcustom/build/input/examples/Basic-gofr-page-instance-organization.json b/fshcustom/fsh-generated/resources/Basic-gofr-page-instance-organization.json similarity index 100% rename from fshcustom/build/input/examples/Basic-gofr-page-instance-organization.json rename to fshcustom/fsh-generated/resources/Basic-gofr-page-instance-organization.json diff --git a/fshcustom/build/input/examples/Basic-gofr-page-jurisdiction.json b/fshcustom/fsh-generated/resources/Basic-gofr-page-jurisdiction.json similarity index 100% rename from fshcustom/build/input/examples/Basic-gofr-page-jurisdiction.json rename to fshcustom/fsh-generated/resources/Basic-gofr-page-jurisdiction.json diff --git a/fshcustom/build/input/examples/Basic-gofr-page-mcsd-organization.json b/fshcustom/fsh-generated/resources/Basic-gofr-page-mcsd-organization.json similarity index 100% rename from fshcustom/build/input/examples/Basic-gofr-page-mcsd-organization.json rename to fshcustom/fsh-generated/resources/Basic-gofr-page-mcsd-organization.json diff --git a/fshcustom/build/input/examples/Basic-gofr-page-service.json b/fshcustom/fsh-generated/resources/Basic-gofr-page-service.json similarity index 100% rename from fshcustom/build/input/examples/Basic-gofr-page-service.json rename to fshcustom/fsh-generated/resources/Basic-gofr-page-service.json diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-role-admin.json b/fshcustom/fsh-generated/resources/Basic-gofr-role-admin.json new file mode 100644 index 000000000..0a6232e6a --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-role-admin.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Basic", + "id": "gofr-role-admin", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-role" + ] + }, + "code": { + "coding": [ + { + "code": "role", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "Admin" + }, + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-role-primary", + "valueBoolean": true + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-all-permissions-to-everything" + } + }, + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-assign-role", + "valueReference": { + "reference": "Basic/gofr-role-open" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-role-data-manager.json b/fshcustom/fsh-generated/resources/Basic-gofr-role-data-manager.json new file mode 100644 index 000000000..e76369fdc --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-role-data-manager.json @@ -0,0 +1,272 @@ +{ + "resourceType": "Basic", + "id": "gofr-role-data-manager", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-role" + ] + }, + "code": { + "coding": [ + { + "code": "role", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "Data Manager" + }, + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-role-primary", + "valueBoolean": false + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-search-organization-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-break-matched-location" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-accept-flagged-location" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-match-location" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-data-source-reconciliation" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-matching-status" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-delete-source-pair" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-delete-data-source" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-source-pair" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-deactivate-source-pair" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-activate-source-pair" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-share-source-pair" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-create-source-pair" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-share-data-source" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-data-source" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-add-data-source" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-add-facility-requests" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-update-facility-requests" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-process-update-facility-request" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-process-add-facility-request" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-add-healthcare-service-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-add-jurisdiction-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-add-facility-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-add-organization-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-config-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-search-facility-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-search-jurisdiction-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-search-service-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-search-organization-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-write-questionnaireresponse-resource" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-questionnaire-resource" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-location-resource" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-organization-resource" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-healthcareservice-resource" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-document-reference" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-value-set" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-code-system" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-structure-definition" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-close-matching" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-open-matching" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-role-open.json b/fshcustom/fsh-generated/resources/Basic-gofr-role-open.json new file mode 100644 index 000000000..97de6744b --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-role-open.json @@ -0,0 +1,56 @@ +{ + "resourceType": "Basic", + "id": "gofr-role-open", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-role" + ] + }, + "code": { + "coding": [ + { + "code": "role", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "Open Role" + }, + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-role-primary", + "valueBoolean": true + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-structure-definition" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-code-system" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-value-set" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-document-reference" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-accept-flagged-location.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-accept-flagged-location.json new file mode 100644 index 000000000..da5dc54b7 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-accept-flagged-location.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-accept-flagged-location", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "accept-flagged-location" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "accept-flagged-location" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-access-facility-reconciliation-mod.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-access-facility-reconciliation-mod.json new file mode 100644 index 000000000..32b6b0101 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-access-facility-reconciliation-mod.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-access-facility-reconciliation-mod", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "access-facility-reconciliation-mod" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "access-facility-reconciliation-mod" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-home-page" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-access-facility-registry-mod.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-access-facility-registry-mod.json new file mode 100644 index 000000000..a54f66bd7 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-access-facility-registry-mod.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-access-facility-registry-mod", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "access-facility-registry-mod" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "access-facility-registry-mod" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-home-page" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-activate-source-pair.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-activate-source-pair.json new file mode 100644 index 000000000..75b324c36 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-activate-source-pair.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-activate-source-pair", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "activate-source-pair" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "activate-source-pair" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-source-pair" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-add-data-source.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-add-data-source.json new file mode 100644 index 000000000..ee004b788 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-add-data-source.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-add-data-source", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "add-data-source" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "add-data-source" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-manage-data-source" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-add-user.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-add-user.json new file mode 100644 index 000000000..69665c752 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-add-user.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-add-user", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "add-user" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "add-user" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-manage-account" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-all-permissions-to-everything.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-all-permissions-to-everything.json new file mode 100644 index 000000000..1d33b3180 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-all-permissions-to-everything.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-all-permissions-to-everything", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "all-permissions-to-everything" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "*" + }, + { + "url": "resource", + "valueCode": "*" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-break-matched-location.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-break-matched-location.json new file mode 100644 index 000000000..7629f5e98 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-break-matched-location.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-break-matched-location", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "break-matched-location" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "break-matched-location" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-change-admin-config.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-change-admin-config.json new file mode 100644 index 000000000..71821a665 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-change-admin-config.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-change-admin-config", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "change-admin-config" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "change-admin-config" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-change-password.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-change-password.json new file mode 100644 index 000000000..8dc592e4a --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-change-password.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-change-password", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "change-password" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "change-password" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-manage-account" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-close-matching.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-close-matching.json new file mode 100644 index 000000000..165b7931e --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-close-matching.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-close-matching", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "close-matching" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "close-matching" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-create-source-pair.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-create-source-pair.json new file mode 100644 index 000000000..d3d5525c4 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-create-source-pair.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-create-source-pair", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "create-source-pair" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "create-source-pair" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-source-pair" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-data-source-reconciliation.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-data-source-reconciliation.json new file mode 100644 index 000000000..b53e1ecdb --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-data-source-reconciliation.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-data-source-reconciliation", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "data-source-reconciliation" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "data-source-reconciliation" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-deactivate-source-pair.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-deactivate-source-pair.json new file mode 100644 index 000000000..00be3d8b1 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-deactivate-source-pair.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-deactivate-source-pair", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "deactivate-source-pair" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "deactivate-source-pair" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-source-pair" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-delete-data-source.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-delete-data-source.json new file mode 100644 index 000000000..f0a79f322 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-delete-data-source.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-delete-data-source", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "delete-data-source" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "delete-data-source" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-data-source" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-delete-source-pair.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-delete-source-pair.json new file mode 100644 index 000000000..39e75781a --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-delete-source-pair.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-delete-source-pair", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "delete-source-pair" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "delete-source-pair" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-source-pair" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-make-facilityregistry-requests.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-make-facilityregistry-requests.json new file mode 100644 index 000000000..f76168045 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-make-facilityregistry-requests.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-make-facilityregistry-requests", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "make-facilityregistry-requests" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "make-facilityregistry-requests" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-manage-account.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-manage-account.json new file mode 100644 index 000000000..26de139d0 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-manage-account.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-manage-account", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "manage-account" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "manage-account" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-manage-data-source.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-manage-data-source.json new file mode 100644 index 000000000..f79aaddd7 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-manage-data-source.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-manage-data-source", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "manage-data-source" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "manage-data-source" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-reconciliation-mod" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-manage-reconciliations.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-manage-reconciliations.json new file mode 100644 index 000000000..067560e8c --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-manage-reconciliations.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-manage-reconciliations", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "manage-reconciliations" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "manage-reconciliations" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-reconciliation-mod" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-match-location.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-match-location.json new file mode 100644 index 000000000..969cb4079 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-match-location.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-match-location", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "match-location" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "match-location" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-open-matching.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-open-matching.json new file mode 100644 index 000000000..3faf5bb99 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-open-matching.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-open-matching", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "open-matching" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "open-matching" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-process-add-facility-request.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-process-add-facility-request.json new file mode 100644 index 000000000..cee54c3ab --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-process-add-facility-request.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-process-add-facility-request", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "process-add-facility-request" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "process-add-facility-request" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-process-update-facility-request.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-process-update-facility-request.json new file mode 100644 index 000000000..fa8451ada --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-process-update-facility-request.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-process-update-facility-request", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "process-update-facility-request" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "process-update-facility-request" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-code-system.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-code-system.json new file mode 100644 index 000000000..6a79b96d2 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-code-system.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-code-system", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-code-system" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "CodeSystem" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-document-reference.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-document-reference.json new file mode 100644 index 000000000..a6c3b26ca --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-document-reference.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-document-reference", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-document-reference" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "DocumentReference" + }, + { + "url": "constraint", + "valueString": "category.exists(coding.exists(code = 'open'))" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility-add-request.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility-add-request.json new file mode 100644 index 000000000..9bd39632c --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility-add-request.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-facility-add-request", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-facility-add-request" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-facility-add-request" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility-update-request.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility-update-request.json new file mode 100644 index 000000000..5cc35cb80 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility-update-request.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-facility-update-request", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-facility-update-request" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-facility-update-request" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility.json new file mode 100644 index 000000000..234d5cbfe --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-facility", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-facility" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-facility" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-jurisdiction.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-jurisdiction.json new file mode 100644 index 000000000..bf4329b36 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-jurisdiction.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-jurisdiction", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-jurisdiction" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-jurisdiction" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-organization.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-organization.json new file mode 100644 index 000000000..f42c142ad --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-organization.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-organization", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-organization" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-mcsd-organization" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-search.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-search.json new file mode 100644 index 000000000..23069a17a --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-search.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-search", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-search" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-search" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-service.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-service.json new file mode 100644 index 000000000..83fb5f6c0 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-gofr-page-service.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-service", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-service" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-service" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-healthcareservice-resource.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-healthcareservice-resource.json new file mode 100644 index 000000000..9386f9166 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-healthcareservice-resource.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-healthcareservice-resource", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-healthcareservice-resource" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "HealthcareService" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-location-resource.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-location-resource.json new file mode 100644 index 000000000..e22da8ade --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-location-resource.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-location-resource", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-location-resource" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Location" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-organization-resource.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-organization-resource.json new file mode 100644 index 000000000..cd727e6b6 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-organization-resource.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-organization-resource", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-organization-resource" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Organization" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-questionnaire-resource.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-questionnaire-resource.json new file mode 100644 index 000000000..84526dcbd --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-questionnaire-resource.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-questionnaire-resource", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-questionnaire-resource" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Questionnaire" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-structure-definition.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-structure-definition.json new file mode 100644 index 000000000..89a542fe7 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-structure-definition.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-structure-definition", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-structure-definition" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "StructureDefinition" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-read-value-set.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-value-set.json new file mode 100644 index 000000000..eac12051c --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-read-value-set.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-value-set", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-value-set" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "ValueSet" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-search-records.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-search-records.json new file mode 100644 index 000000000..524c502fb --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-search-records.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-search-records", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "search-records" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "navigation" + }, + { + "url": "instance", + "valueId": "search-records" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-search" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-share-data-source.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-share-data-source.json new file mode 100644 index 000000000..2bf8a6171 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-share-data-source.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-share-data-source", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "share-data-source" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "share-data-source" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-data-source" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-share-source-pair.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-share-source-pair.json new file mode 100644 index 000000000..1a15ea7f7 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-share-source-pair.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-share-source-pair", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "share-source-pair" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "share-source-pair" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-source-pair" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-facility-page.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-facility-page.json new file mode 100644 index 000000000..0899dc86a --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-facility-page.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-add-facility-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-add-facility-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-add-facility-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-facility" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-facility-requests.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-facility-requests.json new file mode 100644 index 000000000..9a7f2a4bd --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-facility-requests.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-add-facility-requests", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-add-facility-requests" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-add-facility-requests" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-facility-add-request" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-healthcare-service-page.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-healthcare-service-page.json new file mode 100644 index 000000000..cd1e24246 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-healthcare-service-page.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-add-healthcare-service-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-add-healthcare-service-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-add-healthcare-service-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-service" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-jurisdiction-page.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-jurisdiction-page.json new file mode 100644 index 000000000..b2916dbde --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-jurisdiction-page.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-add-jurisdiction-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-add-jurisdiction-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-add-jurisdiction-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-jurisdiction" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-organization-page.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-organization-page.json new file mode 100644 index 000000000..7a3aecc73 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-add-organization-page.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-add-organization-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-add-organization-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-add-organization-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-organization" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-config-page.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-config-page.json new file mode 100644 index 000000000..f1ad3c9f3 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-config-page.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-config-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-config-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-config-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-data-source.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-data-source.json new file mode 100644 index 000000000..d9acfac9a --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-data-source.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-data-source", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-data-source" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-data-source" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-manage-data-source" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-home-page.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-home-page.json new file mode 100644 index 000000000..d5314030a --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-home-page.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-home-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-home-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-home-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-matching-status.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-matching-status.json new file mode 100644 index 000000000..4e455eb78 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-matching-status.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-matching-status", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-matching-status" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-matching-status" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-request-add-facility-page.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-request-add-facility-page.json new file mode 100644 index 000000000..fecaabff9 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-request-add-facility-page.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-request-add-facility-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-request-add-facility-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-request-add-facility-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-make-facilityregistry-requests" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-request-update-facility-page.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-request-update-facility-page.json new file mode 100644 index 000000000..a30bdd09a --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-request-update-facility-page.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-request-update-facility-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-request-update-facility-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-request-update-facility-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-make-facilityregistry-requests" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-search-facility-page.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-search-facility-page.json new file mode 100644 index 000000000..f75ff7db5 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-search-facility-page.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-search-facility-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-search-facility-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-search-facility-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-search-records" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-search-jurisdiction-page.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-search-jurisdiction-page.json new file mode 100644 index 000000000..cbba69b94 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-search-jurisdiction-page.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-search-jurisdiction-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-search-jurisdiction-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-search-jurisdiction-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-search-records" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-search-organization-page.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-search-organization-page.json new file mode 100644 index 000000000..61ee1d0ae --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-search-organization-page.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-search-organization-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-search-organization-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-search-organization-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-search-records" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-search-service-page.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-search-service-page.json new file mode 100644 index 000000000..feed87877 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-search-service-page.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-search-service-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-search-service-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-search-service-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-search-records" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-source-pair.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-source-pair.json new file mode 100644 index 000000000..c02bca5fd --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-source-pair.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-source-pair", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-source-pair" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-source-pair" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-manage-reconciliations" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-update-facility-requests.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-update-facility-requests.json new file mode 100644 index 000000000..d30450817 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-update-facility-requests.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-update-facility-requests", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-update-facility-requests" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-update-facility-requests" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-search-records" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-facility-update-request" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-view-user.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-user.json new file mode 100644 index 000000000..a43823cd9 --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-view-user.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-user", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-user" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-user" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-manage-account" + } + } + ] + } + ] +} diff --git a/fshcustom/fsh-generated/resources/Basic-gofr-task-write-questionnaireresponse-resource.json b/fshcustom/fsh-generated/resources/Basic-gofr-task-write-questionnaireresponse-resource.json new file mode 100644 index 000000000..20e4ea53b --- /dev/null +++ b/fshcustom/fsh-generated/resources/Basic-gofr-task-write-questionnaireresponse-resource.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-write-questionnaireresponse-resource", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "write-questionnaireresponse-resource" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "write" + }, + { + "url": "resource", + "valueCode": "QuestionnaireResponse" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshcustom/build/input/vocabulary/CodeSystem-gofr-jurisdiction-type.json b/fshcustom/fsh-generated/resources/CodeSystem-gofr-jurisdiction-type.json similarity index 100% rename from fshcustom/build/input/vocabulary/CodeSystem-gofr-jurisdiction-type.json rename to fshcustom/fsh-generated/resources/CodeSystem-gofr-jurisdiction-type.json index 6d16858aa..a2576dbd7 100644 --- a/fshcustom/build/input/vocabulary/CodeSystem-gofr-jurisdiction-type.json +++ b/fshcustom/fsh-generated/resources/CodeSystem-gofr-jurisdiction-type.json @@ -7,7 +7,6 @@ "title": "Jurisdiction Type(Country/Region/District/County)", "version": "0.3.0", "url": "http://gofr.org/fhir/CodeSystem/gofr-jurisdiction-type", - "date": "2020-11-12T08:41:04.362Z", "concept": [ { "code": "country", @@ -30,5 +29,6 @@ "definition": "County" } ], + "date": "2020-11-12T08:41:04.362Z", "count": 4 } diff --git a/fshmcsd/build/input/vocabulary/CodeSystem-gofr-organization-hiearchy-type-codesystem.json b/fshcustom/fsh-generated/resources/CodeSystem-gofr-organization-hiearchy-type-codesystem.json similarity index 100% rename from fshmcsd/build/input/vocabulary/CodeSystem-gofr-organization-hiearchy-type-codesystem.json rename to fshcustom/fsh-generated/resources/CodeSystem-gofr-organization-hiearchy-type-codesystem.json index df02cb953..531cd8644 100644 --- a/fshmcsd/build/input/vocabulary/CodeSystem-gofr-organization-hiearchy-type-codesystem.json +++ b/fshcustom/fsh-generated/resources/CodeSystem-gofr-organization-hiearchy-type-codesystem.json @@ -7,7 +7,6 @@ "title": "Organization Hierarchy Type", "version": "0.1.0", "url": "http://gofr.org/fhir/CodeSystem/gofr-organization-hiearchy-type-codesystem", - "date": "2021-07-17T08:32:04.362Z", "concept": [ { "code": "funder", @@ -18,5 +17,6 @@ "display": "Operational" } ], + "date": "2021-07-17T08:32:04.362Z", "count": 2 } diff --git a/fshcustom/build/input/vocabulary/CodeSystem-gofr-resource-codesystem.json b/fshcustom/fsh-generated/resources/CodeSystem-gofr-resource-codesystem.json similarity index 100% rename from fshcustom/build/input/vocabulary/CodeSystem-gofr-resource-codesystem.json rename to fshcustom/fsh-generated/resources/CodeSystem-gofr-resource-codesystem.json diff --git a/fshcustom/build/input/vocabulary/CodeSystem-gofr-task-permission.json b/fshcustom/fsh-generated/resources/CodeSystem-gofr-task-permission.json similarity index 100% rename from fshcustom/build/input/vocabulary/CodeSystem-gofr-task-permission.json rename to fshcustom/fsh-generated/resources/CodeSystem-gofr-task-permission.json index 8985db0ca..8fc99898c 100644 --- a/fshcustom/build/input/vocabulary/CodeSystem-gofr-task-permission.json +++ b/fshcustom/fsh-generated/resources/CodeSystem-gofr-task-permission.json @@ -7,7 +7,6 @@ "title": "Code system for task permissions.", "version": "0.3.0", "url": "http://gofr.org/fhir/CodeSystem/gofr-task-permission", - "date": "2021-03-26T09:25:04.362Z", "concept": [ { "code": "*", @@ -40,5 +39,6 @@ "definition": "Special non-resource permissions." } ], + "date": "2021-03-26T09:25:04.362Z", "count": 6 } diff --git a/fshcustom/build/input/vocabulary/CodeSystem-gofr-task-resource.json b/fshcustom/fsh-generated/resources/CodeSystem-gofr-task-resource.json similarity index 100% rename from fshcustom/build/input/vocabulary/CodeSystem-gofr-task-resource.json rename to fshcustom/fsh-generated/resources/CodeSystem-gofr-task-resource.json index d594e2259..752788f3e 100644 --- a/fshcustom/build/input/vocabulary/CodeSystem-gofr-task-resource.json +++ b/fshcustom/fsh-generated/resources/CodeSystem-gofr-task-resource.json @@ -7,7 +7,6 @@ "title": "Code system for task permissions.", "version": "0.3.0", "url": "http://gofr.org/fhir/CodeSystem/gofr-task-resource", - "date": "2021-03-26T09:25:04.362Z", "concept": [ { "code": "*", @@ -74,5 +73,6 @@ "display": "Navigation" } ], + "date": "2021-03-26T09:25:04.362Z", "count": 16 } diff --git a/fshcustom/build/input/vocabulary/CodeSystem-ihris-resource-codesystem.json b/fshcustom/fsh-generated/resources/CodeSystem-ihris-resource-codesystem.json similarity index 100% rename from fshcustom/build/input/vocabulary/CodeSystem-ihris-resource-codesystem.json rename to fshcustom/fsh-generated/resources/CodeSystem-ihris-resource-codesystem.json diff --git a/fshcustom/build/input/vocabulary/CodeSystem-request-status-codesystem.json b/fshcustom/fsh-generated/resources/CodeSystem-request-status-codesystem.json similarity index 100% rename from fshcustom/build/input/vocabulary/CodeSystem-request-status-codesystem.json rename to fshcustom/fsh-generated/resources/CodeSystem-request-status-codesystem.json index c339c02bb..45d3ac88c 100644 --- a/fshcustom/build/input/vocabulary/CodeSystem-request-status-codesystem.json +++ b/fshcustom/fsh-generated/resources/CodeSystem-request-status-codesystem.json @@ -7,7 +7,6 @@ "title": "Request Status", "version": "0.1.0", "url": "http://gofr.org/fhir/CodeSystem/request-status-codesystem", - "date": "2021-05-24T11:16:04.362Z", "concept": [ { "code": "approved", @@ -22,5 +21,6 @@ "display": "Pending" } ], + "date": "2021-05-24T11:16:04.362Z", "count": 3 } diff --git a/fshcustom/build/input/examples/Organization-54cdcbe3-87e0-421f-b657-8313fce5f418.json b/fshcustom/fsh-generated/resources/Organization-54cdcbe3-87e0-421f-b657-8313fce5f418.json similarity index 100% rename from fshcustom/build/input/examples/Organization-54cdcbe3-87e0-421f-b657-8313fce5f418.json rename to fshcustom/fsh-generated/resources/Organization-54cdcbe3-87e0-421f-b657-8313fce5f418.json diff --git a/fshcustom/build/input/examples/Person-e9b41c35-7c85-46df-aeea-a4e8dbf0364e.json b/fshcustom/fsh-generated/resources/Person-e9b41c35-7c85-46df-aeea-a4e8dbf0364e.json similarity index 93% rename from fshcustom/build/input/examples/Person-e9b41c35-7c85-46df-aeea-a4e8dbf0364e.json rename to fshcustom/fsh-generated/resources/Person-e9b41c35-7c85-46df-aeea-a4e8dbf0364e.json index b111ea505..cb0030f47 100644 --- a/fshcustom/build/input/examples/Person-e9b41c35-7c85-46df-aeea-a4e8dbf0364e.json +++ b/fshcustom/fsh-generated/resources/Person-e9b41c35-7c85-46df-aeea-a4e8dbf0364e.json @@ -8,7 +8,7 @@ }, "extension": [ { - "url": "organization", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization", "valueReference": { "reference": "Organization/54cdcbe3-87e0-421f-b657-8313fce5f418" } diff --git a/fshmcsd/build/input/resources/Questionnaire-gofr-facility-add-request-questionnaire.json b/fshcustom/fsh-generated/resources/Questionnaire-gofr-facility-add-request-questionnaire.json similarity index 99% rename from fshmcsd/build/input/resources/Questionnaire-gofr-facility-add-request-questionnaire.json rename to fshcustom/fsh-generated/resources/Questionnaire-gofr-facility-add-request-questionnaire.json index 2e245ce7d..c41302d73 100644 --- a/fshmcsd/build/input/resources/Questionnaire-gofr-facility-add-request-questionnaire.json +++ b/fshcustom/fsh-generated/resources/Questionnaire-gofr-facility-add-request-questionnaire.json @@ -6,9 +6,9 @@ "http://gofr.org/fhir/StructureDefinition/ihris-questionnaire" ] }, + "url": "http://gofr.org/fhir/Questionnaire/gofr-facility-add-request-questionnaire", "title": "GOFR Facility Add Request Questionnaire", "description": "GOFR Questionnaire For Request To Add Facility.", - "url": "http://gofr.org/fhir/Questionnaire/gofr-facility-add-request-questionnaire", "name": "gofr-facility-add-request-questionnaire", "status": "active", "date": "2021-04-24", @@ -74,7 +74,7 @@ { "valueCoding": { "code": "bu", - "system": "http://hl7.org/fhir/ValueSet/location-physical-type", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", "display": "Building" }, "initialSelected": true diff --git a/fshcustom/build/input/resources/Questionnaire-gofr-facility-questionnaire.json b/fshcustom/fsh-generated/resources/Questionnaire-gofr-facility-questionnaire.json similarity index 99% rename from fshcustom/build/input/resources/Questionnaire-gofr-facility-questionnaire.json rename to fshcustom/fsh-generated/resources/Questionnaire-gofr-facility-questionnaire.json index 59b06d5e5..3adaef3ff 100644 --- a/fshcustom/build/input/resources/Questionnaire-gofr-facility-questionnaire.json +++ b/fshcustom/fsh-generated/resources/Questionnaire-gofr-facility-questionnaire.json @@ -6,9 +6,9 @@ "http://gofr.org/fhir/StructureDefinition/ihris-questionnaire" ] }, + "url": "http://gofr.org/fhir/Questionnaire/gofr-facility-questionnaire", "title": "GOFR Facility Questionnaire", "description": "iHRIS Facility initial data entry questionnaire.", - "url": "http://gofr.org/fhir/Questionnaire/gofr-facility-questionnaire", "name": "gofr-facility-questionnaire", "status": "active", "date": "2021-04-24", @@ -92,7 +92,7 @@ { "valueCoding": { "code": "bu", - "system": "http://hl7.org/fhir/ValueSet/location-physical-type" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" }, "initialSelected": true } diff --git a/fshcustom/build/input/resources/Questionnaire-gofr-organization-questionnaire.json b/fshcustom/fsh-generated/resources/Questionnaire-gofr-organization-questionnaire.json similarity index 100% rename from fshcustom/build/input/resources/Questionnaire-gofr-organization-questionnaire.json rename to fshcustom/fsh-generated/resources/Questionnaire-gofr-organization-questionnaire.json index 169aa884d..588dcae78 100644 --- a/fshcustom/build/input/resources/Questionnaire-gofr-organization-questionnaire.json +++ b/fshcustom/fsh-generated/resources/Questionnaire-gofr-organization-questionnaire.json @@ -6,9 +6,9 @@ "http://gofr.org/fhir/StructureDefinition/ihris-questionnaire" ] }, + "url": "http://gofr.org/fhir/Questionnaire/gofr-organization-questionnaire", "title": "GOFR Organization Questionnaire", "description": "iHRIS Organization initial data entry questionnaire.", - "url": "http://gofr.org/fhir/Questionnaire/gofr-organization-questionnaire", "name": "gofr-organization-questionnaire", "status": "active", "date": "2021-07-19", diff --git a/fshcustom/build/input/examples/SearchParameter-IHE.mCSD.Organization.HierarchyPartOf.json b/fshcustom/fsh-generated/resources/SearchParameter-IHE.mCSD.Organization.HierarchyPartOf.json similarity index 100% rename from fshcustom/build/input/examples/SearchParameter-IHE.mCSD.Organization.HierarchyPartOf.json rename to fshcustom/fsh-generated/resources/SearchParameter-IHE.mCSD.Organization.HierarchyPartOf.json diff --git a/fshcustom/build/input/examples/SearchParameter-IHE.mCSD.Organization.HierarchyType.json b/fshcustom/fsh-generated/resources/SearchParameter-IHE.mCSD.Organization.HierarchyType.json similarity index 100% rename from fshcustom/build/input/examples/SearchParameter-IHE.mCSD.Organization.HierarchyType.json rename to fshcustom/fsh-generated/resources/SearchParameter-IHE.mCSD.Organization.HierarchyType.json diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-request-status.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-request-status.json similarity index 100% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-request-status.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-request-status.json diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-pair-source1.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-pair-source1.json similarity index 100% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-search-pair-source1.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-search-pair-source1.json diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-pair-source2.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-pair-source2.json similarity index 100% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-search-pair-source2.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-search-pair-source2.json diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-pair-status.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-pair-status.json similarity index 100% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-search-pair-status.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-search-pair-status.json diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-pairpartition.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-pairpartition.json similarity index 73% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-search-pairpartition.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-search-pairpartition.json index 80da3baf9..8ac44e17a 100644 --- a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-pairpartition.json +++ b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-pairpartition.json @@ -11,8 +11,8 @@ "Basic" ], "type": "reference", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']", + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasourcepair').extension('http://gofr.org/fhir/StructureDefinition/partition')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasourcepair']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']", "target": [ "Basic" ] diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-partition-dhis2orgid.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partition-dhis2orgid.json similarity index 100% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-search-partition-dhis2orgid.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partition-dhis2orgid.json diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-partition-share-all.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partition-share-all.json similarity index 100% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-search-partition-share-all.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partition-share-all.json diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-partition-share-same-orgid.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partition-share-same-orgid.json similarity index 100% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-search-partition-share-same-orgid.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partition-share-same-orgid.json diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-partition-shared-activated.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partition-shared-activated.json similarity index 100% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-search-partition-shared-activated.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partition-shared-activated.json diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-partition-shared-user.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partition-shared-user.json similarity index 100% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-search-partition-shared-user.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partition-shared-user.json diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-partitionid.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partitionid.json similarity index 100% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-search-partitionid.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partitionid.json diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-partitionowner.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partitionowner.json similarity index 100% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-search-partitionowner.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-search-partitionowner.json diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-sourceType.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-sourceType.json similarity index 100% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-search-sourceType.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-search-sourceType.json diff --git a/fshcustom/build/input/capabilities/SearchParameter-gofr-search-sourcepartition.json b/fshcustom/fsh-generated/resources/SearchParameter-gofr-search-sourcepartition.json similarity index 100% rename from fshcustom/build/input/capabilities/SearchParameter-gofr-search-sourcepartition.json rename to fshcustom/fsh-generated/resources/SearchParameter-gofr-search-sourcepartition.json diff --git a/fshcustom/build/input/profiles/StructureDefinition-GOFR.IHE.mCSD.FacilityOrganization.json b/fshcustom/fsh-generated/resources/StructureDefinition-GOFR.IHE.mCSD.FacilityOrganization.json similarity index 99% rename from fshcustom/build/input/profiles/StructureDefinition-GOFR.IHE.mCSD.FacilityOrganization.json rename to fshcustom/fsh-generated/resources/StructureDefinition-GOFR.IHE.mCSD.FacilityOrganization.json index 2f7b3f9cd..2dfd6ba62 100644 --- a/fshcustom/build/input/profiles/StructureDefinition-GOFR.IHE.mCSD.FacilityOrganization.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-GOFR.IHE.mCSD.FacilityOrganization.json @@ -2290,7 +2290,6 @@ "source": "http://hl7.org/fhir/StructureDefinition/Element" } ], - "mustSupport": true, "isModifier": false, "isSummary": true, "binding": { @@ -4188,8 +4187,7 @@ { "id": "Organization.type:Facility", "path": "Organization.type", - "sliceName": "Facility", - "mustSupport": true + "sliceName": "Facility" }, { "id": "Organization.type:Facility.coding", diff --git a/fshcustom/build/input/extensions/StructureDefinition-GOFR.IHE.mCSD.OrganizationHierarchy.json b/fshcustom/fsh-generated/resources/StructureDefinition-GOFR.IHE.mCSD.OrganizationHierarchy.json similarity index 99% rename from fshcustom/build/input/extensions/StructureDefinition-GOFR.IHE.mCSD.OrganizationHierarchy.json rename to fshcustom/fsh-generated/resources/StructureDefinition-GOFR.IHE.mCSD.OrganizationHierarchy.json index 38ece7974..96ce2572f 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-GOFR.IHE.mCSD.OrganizationHierarchy.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-GOFR.IHE.mCSD.OrganizationHierarchy.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "mCSD Additional Hierarchies extension for mCSD Organization.", + "definition": "If there are additional hierarchies (such as funding source),then use this extension.", "min": 0, "max": "*", "base": { diff --git a/fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.FacilityLocation.json b/fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.FacilityLocation.json similarity index 100% rename from fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.FacilityLocation.json rename to fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.FacilityLocation.json diff --git a/fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.FacilityOrganization.json b/fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.FacilityOrganization.json similarity index 100% rename from fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.FacilityOrganization.json rename to fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.FacilityOrganization.json diff --git a/fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.JurisdictionLocation.json b/fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.JurisdictionLocation.json similarity index 76% rename from fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.JurisdictionLocation.json rename to fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.JurisdictionLocation.json index fadb7e395..5ea00934f 100644 --- a/fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.JurisdictionLocation.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.JurisdictionLocation.json @@ -387,6 +387,733 @@ } ] }, + { + "id": "Location.extension:boundary", + "path": "Location.extension", + "sliceName": "boundary", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.extension:boundary.id", + "path": "Location.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.extension:boundary.extension", + "path": "Location.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Location.extension:boundary.url", + "path": "Location.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.extension:boundary.value[x]", + "path": "Location.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.extension:boundary.value[x]:valueAttachment", + "path": "Location.extension.value[x]", + "sliceName": "valueAttachment", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.extension:boundary.value[x]:valueAttachment.id", + "path": "Location.extension.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.extension:boundary.value[x]:valueAttachment.extension", + "path": "Location.extension.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.extension:boundary.value[x]:valueAttachment.contentType", + "path": "Location.extension.value[x].contentType", + "short": "Mime type of the content, with charset etc.", + "definition": "Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.", + "requirements": "Processors of the data need to be able to know how to interpret the data.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.contentType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "patternCode": "application/geo+json", + "example": [ + { + "label": "General", + "valueCode": "text/plain; charset=UTF-8, image/png" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MimeType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "required", + "description": "The mime type of an attachment. Any valid mime type is allowed.", + "valueSet": "http://hl7.org/fhir/ValueSet/mimetypes|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used" + }, + { + "identity": "rim", + "map": "./mediaType, ./charset" + } + ] + }, + { + "id": "Location.extension:boundary.value[x]:valueAttachment.language", + "path": "Location.extension.value[x].language", + "short": "Human language of the content (BCP-47)", + "definition": "The human language of the content. The value can be any valid value according to BCP 47.", + "requirements": "Users need to be able to choose between the languages in a set of attachments.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "en-AU" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + }, + "mapping": [ + { + "identity": "rim", + "map": "./language" + } + ] + }, + { + "id": "Location.extension:boundary.value[x]:valueAttachment.data", + "path": "Location.extension.value[x].data", + "short": "Data inline, base64ed", + "definition": "The actual data of the attachment - a sequence of bytes, base64 encoded.", + "comment": "The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON.", + "requirements": "The data needs to able to be transmitted inline.", + "min": 1, + "max": "1", + "base": { + "path": "Attachment.data", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ED.5" + }, + { + "identity": "rim", + "map": "./data" + } + ] + }, + { + "id": "Location.extension:boundary.value[x]:valueAttachment.url", + "path": "Location.extension.value[x].url", + "short": "Uri where the data can be found", + "definition": "A location where the data can be accessed.", + "comment": "If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.", + "requirements": "The data needs to be transmitted by reference.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.url", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "url" + } + ], + "example": [ + { + "label": "General", + "valueUrl": "http://www.acme.com/logo-small.png" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RP.1+RP.2 - if they refer to a URL (see v2.6)" + }, + { + "identity": "rim", + "map": "./reference/literal" + } + ] + }, + { + "id": "Location.extension:boundary.value[x]:valueAttachment.size", + "path": "Location.extension.value[x].size", + "short": "Number of bytes of content (if url provided)", + "definition": "The number of bytes of data that make up this attachment (before base64 encoding, if that is done).", + "comment": "The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference.", + "requirements": "Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.size", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "unsignedInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A (needs data type R3 proposal)" + } + ] + }, + { + "id": "Location.extension:boundary.value[x]:valueAttachment.hash", + "path": "Location.extension.value[x].hash", + "short": "Hash of the data (sha-1, base64ed)", + "definition": "The calculated hash of the data using SHA-1. Represented using base64.", + "comment": "The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature.", + "requirements": "Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version).", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.hash", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".integrityCheck[parent::ED/integrityCheckAlgorithm=\"SHA-1\"]" + } + ] + }, + { + "id": "Location.extension:boundary.value[x]:valueAttachment.title", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Location.extension.value[x].title", + "short": "Label to display in place of the data", + "definition": "A label or set of text to display in place of the data.", + "requirements": "Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.title", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Official Corporate Logo" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./title/data" + } + ] + }, + { + "id": "Location.extension:boundary.value[x]:valueAttachment.creation", + "path": "Location.extension.value[x].creation", + "short": "Date attachment was first created", + "definition": "The date that the attachment was first created.", + "requirements": "This is often tracked as an integrity issue for use of the attachment.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.creation", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A (needs data type R3 proposal)" + } + ] + }, { "id": "Location.modifierExtension", "path": "Location.modifierExtension", @@ -2297,6 +3024,37 @@ "rules": "open" } }, + { + "id": "Location.extension:boundary", + "path": "Location.extension", + "sliceName": "boundary", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson" + ] + } + ] + }, + { + "id": "Location.extension:boundary.valueAttachment", + "path": "Location.extension.valueAttachment", + "min": 1, + "max": "1" + }, + { + "id": "Location.extension:boundary.valueAttachment.contentType", + "path": "Location.extension.valueAttachment.contentType", + "patternCode": "application/geo+json" + }, + { + "id": "Location.extension:boundary.valueAttachment.data", + "path": "Location.extension.valueAttachment.data", + "min": 1 + }, { "id": "Location.type", "path": "Location.type", diff --git a/fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.JurisdictionOrganization.json b/fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.JurisdictionOrganization.json similarity index 100% rename from fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.JurisdictionOrganization.json rename to fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.JurisdictionOrganization.json diff --git a/fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.Location.json b/fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.Location.json similarity index 100% rename from fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.Location.json rename to fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.Location.json diff --git a/fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.LocationDistance.json b/fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.LocationDistance.json similarity index 100% rename from fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.LocationDistance.json rename to fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.LocationDistance.json diff --git a/fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.Organization.json b/fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.Organization.json similarity index 100% rename from fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.Organization.json rename to fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.Organization.json diff --git a/fshcustom/build/input/extensions/StructureDefinition-IHE.mCSD.hierarchy.extension.json b/fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.hierarchy.extension.json similarity index 98% rename from fshcustom/build/input/extensions/StructureDefinition-IHE.mCSD.hierarchy.extension.json rename to fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.hierarchy.extension.json index f3e2bac8f..0f30d827c 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-IHE.mCSD.hierarchy.extension.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-IHE.mCSD.hierarchy.extension.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "mCSD Additional Hierarchies extension for mCSD Organization.", + "definition": "If there are additional hierarchies (such as funding source),then use this extension.", "min": 0, "max": "*", "base": { @@ -938,6 +938,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "mCSD Additional Hierarchies extension for mCSD Organization.", + "definition": "If there are additional hierarchies (such as funding source),then use this extension." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshmcsd/build/input/extensions/StructureDefinition-gofr-assign-role.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-assign-role.json similarity index 98% rename from fshmcsd/build/input/extensions/StructureDefinition-gofr-assign-role.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-assign-role.json index 2efc10884..7831d59aa 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-gofr-assign-role.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-assign-role.json @@ -45,8 +45,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Assign Role", + "definition": "GOFR Assign Role to a user or other role.", "min": 0, "max": "*", "base": { @@ -572,6 +572,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Assign Role", + "definition": "GOFR Assign Role to a user or other role." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshmcsd/build/input/extensions/StructureDefinition-gofr-basic-name.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-basic-name.json similarity index 97% rename from fshmcsd/build/input/extensions/StructureDefinition-gofr-basic-name.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-basic-name.json index 00ed21e92..3ccf7801d 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-gofr-basic-name.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-basic-name.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Basic Name", + "definition": "GOFR name field for basic resources.", "min": 0, "max": "*", "base": { @@ -302,6 +302,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Basic Name", + "definition": "GOFR name field for basic resources." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshmcsd/build/input/profiles/StructureDefinition-gofr-datasource-pair.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-datasource-pair.json similarity index 83% rename from fshmcsd/build/input/profiles/StructureDefinition-gofr-datasource-pair.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-datasource-pair.json index f8b99f8a5..cb3c98197 100644 --- a/fshmcsd/build/input/profiles/StructureDefinition-gofr-datasource-pair.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-datasource-pair.json @@ -353,7 +353,7 @@ "extensions", "user content" ], - "min": 6, + "min": 1, "max": "*", "base": { "path": "DomainResource.extension", @@ -393,9 +393,9 @@ ] }, { - "id": "Basic.extension:partition", + "id": "Basic.extension:datasourcepair", "path": "Basic.extension", - "sliceName": "partition", + "sliceName": "datasourcepair", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", @@ -412,7 +412,10 @@ }, "type": [ { - "code": "Extension" + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource-pair" + ] } ], "constraint": [ @@ -444,7 +447,7 @@ ] }, { - "id": "Basic.extension:partition.id", + "id": "Basic.extension:datasourcepair.id", "path": "Basic.extension.id", "representation": [ "xmlAttr" @@ -479,8 +482,153 @@ ] }, { - "id": "Basic.extension:partition.extension", + "id": "Basic.extension:datasourcepair.extension", + "path": "Basic.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 6, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:datasourcepair.extension:partition", "path": "Basic.extension.extension", + "sliceName": "partition", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:datasourcepair.extension:partition.id", + "path": "Basic.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:datasourcepair.extension:partition.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -538,8 +686,8 @@ ] }, { - "id": "Basic.extension:partition.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasourcepair.extension:partition.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -575,8 +723,8 @@ ] }, { - "id": "Basic.extension:partition.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:partition.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -624,8 +772,8 @@ ] }, { - "id": "Basic.extension:partition.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:partition.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", "label": "partition ID", "short": "Value of extension", @@ -666,11 +814,11 @@ ] }, { - "id": "Basic.extension:name", - "path": "Basic.extension", + "id": "Basic.extension:datasourcepair.extension:name", + "path": "Basic.extension.extension", "sliceName": "name", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -679,7 +827,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -712,13 +860,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:name.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasourcepair.extension:name.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -752,8 +900,8 @@ ] }, { - "id": "Basic.extension:name.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasourcepair.extension:name.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -811,8 +959,8 @@ ] }, { - "id": "Basic.extension:name.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasourcepair.extension:name.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -848,8 +996,8 @@ ] }, { - "id": "Basic.extension:name.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:name.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -894,8 +1042,8 @@ ] }, { - "id": "Basic.extension:name.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:name.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Name", "short": "Value of extension", @@ -933,11 +1081,11 @@ ] }, { - "id": "Basic.extension:source1", - "path": "Basic.extension", + "id": "Basic.extension:datasourcepair.extension:source1", + "path": "Basic.extension.extension", "sliceName": "source1", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -946,7 +1094,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -979,13 +1127,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:source1.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasourcepair.extension:source1.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1019,8 +1167,8 @@ ] }, { - "id": "Basic.extension:source1.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasourcepair.extension:source1.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1078,8 +1226,8 @@ ] }, { - "id": "Basic.extension:source1.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasourcepair.extension:source1.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1115,8 +1263,8 @@ ] }, { - "id": "Basic.extension:source1.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:source1.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1161,8 +1309,8 @@ ] }, { - "id": "Basic.extension:source1.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:source1.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", "label": "Source1", "short": "Value of extension", @@ -1203,11 +1351,11 @@ ] }, { - "id": "Basic.extension:source2", - "path": "Basic.extension", + "id": "Basic.extension:datasourcepair.extension:source2", + "path": "Basic.extension.extension", "sliceName": "source2", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1216,7 +1364,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1249,13 +1397,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:source2.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasourcepair.extension:source2.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1289,8 +1437,8 @@ ] }, { - "id": "Basic.extension:source2.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasourcepair.extension:source2.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1348,8 +1496,8 @@ ] }, { - "id": "Basic.extension:source2.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasourcepair.extension:source2.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1385,8 +1533,8 @@ ] }, { - "id": "Basic.extension:source2.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:source2.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1431,8 +1579,8 @@ ] }, { - "id": "Basic.extension:source2.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:source2.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", "label": "Source2", "short": "Value of extension", @@ -1473,11 +1621,11 @@ ] }, { - "id": "Basic.extension:status", - "path": "Basic.extension", + "id": "Basic.extension:datasourcepair.extension:status", + "path": "Basic.extension.extension", "sliceName": "status", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1486,7 +1634,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1519,13 +1667,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:status.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasourcepair.extension:status.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1559,8 +1707,8 @@ ] }, { - "id": "Basic.extension:status.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasourcepair.extension:status.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1618,8 +1766,8 @@ ] }, { - "id": "Basic.extension:status.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasourcepair.extension:status.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1655,8 +1803,8 @@ ] }, { - "id": "Basic.extension:status.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:status.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1701,8 +1849,8 @@ ] }, { - "id": "Basic.extension:status.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:status.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Status", "short": "Value of extension", @@ -1740,11 +1888,11 @@ ] }, { - "id": "Basic.extension:recoStatus", - "path": "Basic.extension", + "id": "Basic.extension:datasourcepair.extension:recoStatus", + "path": "Basic.extension.extension", "sliceName": "recoStatus", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1753,7 +1901,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1786,13 +1934,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:recoStatus.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasourcepair.extension:recoStatus.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1826,8 +1974,8 @@ ] }, { - "id": "Basic.extension:recoStatus.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasourcepair.extension:recoStatus.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1885,8 +2033,8 @@ ] }, { - "id": "Basic.extension:recoStatus.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasourcepair.extension:recoStatus.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1922,8 +2070,8 @@ ] }, { - "id": "Basic.extension:recoStatus.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:recoStatus.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1968,8 +2116,8 @@ ] }, { - "id": "Basic.extension:recoStatus.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:recoStatus.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Reconciliation Status", "short": "Value of extension", @@ -2007,36 +2155,256 @@ ] }, { - "id": "Basic.modifierExtension", - "path": "Basic.modifierExtension", - "short": "Extensions that cannot be ignored", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content" + "id": "Basic.extension:datasourcepair.url", + "path": "Basic.extension.url", + "representation": [ + "xmlAttr" ], - "min": 0, - "max": "*", + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", "base": { - "path": "DomainResource.modifierExtension", - "min": 0, - "max": "*" + "path": "Extension.url", + "min": 1, + "max": "1" }, "type": [ { - "code": "Extension" + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] } ], - "constraint": [ + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource-pair", + "isModifier": false, + "isSummary": false, + "mapping": [ { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.extension:datasourcepair.value[x]", + "path": "Basic.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.modifierExtension", + "path": "Basic.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" }, { "key": "ext-1", @@ -2314,301 +2682,24 @@ "ordered": false, "rules": "open" }, - "min": 6 - }, - { - "id": "Basic.extension:partition", - "path": "Basic.extension", - "sliceName": "partition", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:partition.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:partition.url", - "path": "Basic.extension.url", - "fixedUri": "partition" - }, - { - "id": "Basic.extension:partition.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Basic" - ] - } - ] - }, - { - "id": "Basic.extension:partition.valueReference", - "path": "Basic.extension.valueReference", - "label": "partition ID", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:name", - "path": "Basic.extension", - "sliceName": "name", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:name.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:name.url", - "path": "Basic.extension.url", - "fixedUri": "name" - }, - { - "id": "Basic.extension:name.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "string" - } - ] + "min": 1 }, { - "id": "Basic.extension:name.valueString", - "path": "Basic.extension.valueString", - "label": "Name", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:source1", + "id": "Basic.extension:datasourcepair", "path": "Basic.extension", - "sliceName": "source1", + "sliceName": "datasourcepair", "min": 1, "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:source1.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:source1.url", - "path": "Basic.extension.url", - "fixedUri": "source1" - }, - { - "id": "Basic.extension:source1.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, "type": [ { - "code": "Reference" - } - ] - }, - { - "id": "Basic.extension:source1.valueReference", - "path": "Basic.extension.valueReference", - "label": "Source1", - "min": 1, - "max": "1", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-datasource" + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource-pair" ] } ], "mustSupport": true }, - { - "id": "Basic.extension:source2", - "path": "Basic.extension", - "sliceName": "source2", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:source2.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:source2.url", - "path": "Basic.extension.url", - "fixedUri": "source2" - }, - { - "id": "Basic.extension:source2.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "Reference" - } - ] - }, - { - "id": "Basic.extension:source2.valueReference", - "path": "Basic.extension.valueReference", - "label": "Source2", - "min": 1, - "max": "1", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-datasource" - ] - } - ], - "mustSupport": true - }, - { - "id": "Basic.extension:status", - "path": "Basic.extension", - "sliceName": "status", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:status.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:status.url", - "path": "Basic.extension.url", - "fixedUri": "status" - }, - { - "id": "Basic.extension:status.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:status.valueString", - "path": "Basic.extension.valueString", - "label": "Status", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:recoStatus", - "path": "Basic.extension", - "sliceName": "recoStatus", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:recoStatus.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:recoStatus.url", - "path": "Basic.extension.url", - "fixedUri": "recoStatus" - }, - { - "id": "Basic.extension:recoStatus.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:recoStatus.valueString", - "path": "Basic.extension.valueString", - "label": "Reconciliation Status", - "min": 0, - "max": "1", - "mustSupport": true - }, { "id": "Basic.code", "path": "Basic.code", diff --git a/fshmcsd/build/input/profiles/StructureDefinition-gofr-datasource.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-datasource.json similarity index 84% rename from fshmcsd/build/input/profiles/StructureDefinition-gofr-datasource.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-datasource.json index f5b86bc54..7506e09d7 100644 --- a/fshmcsd/build/input/profiles/StructureDefinition-gofr-datasource.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-datasource.json @@ -353,7 +353,7 @@ "extensions", "user content" ], - "min": 3, + "min": 1, "max": "*", "base": { "path": "DomainResource.extension", @@ -393,9 +393,9 @@ ] }, { - "id": "Basic.extension:partition", + "id": "Basic.extension:datasource", "path": "Basic.extension", - "sliceName": "partition", + "sliceName": "datasource", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", @@ -412,7 +412,10 @@ }, "type": [ { - "code": "Extension" + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource" + ] } ], "constraint": [ @@ -444,7 +447,7 @@ ] }, { - "id": "Basic.extension:partition.id", + "id": "Basic.extension:datasource.id", "path": "Basic.extension.id", "representation": [ "xmlAttr" @@ -479,8 +482,153 @@ ] }, { - "id": "Basic.extension:partition.extension", + "id": "Basic.extension:datasource.extension", + "path": "Basic.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 3, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:datasource.extension:partition", "path": "Basic.extension.extension", + "sliceName": "partition", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:datasource.extension:partition.id", + "path": "Basic.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:datasource.extension:partition.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -538,8 +686,8 @@ ] }, { - "id": "Basic.extension:partition.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:partition.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -575,8 +723,8 @@ ] }, { - "id": "Basic.extension:partition.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:partition.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -624,8 +772,8 @@ ] }, { - "id": "Basic.extension:partition.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:partition.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", "label": "partition ID", "short": "Value of extension", @@ -666,11 +814,11 @@ ] }, { - "id": "Basic.extension:display", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:display", + "path": "Basic.extension.extension", "sliceName": "display", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -679,7 +827,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -712,13 +860,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:display.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:display.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -752,8 +900,8 @@ ] }, { - "id": "Basic.extension:display.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:display.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -811,8 +959,8 @@ ] }, { - "id": "Basic.extension:display.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:display.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -848,8 +996,8 @@ ] }, { - "id": "Basic.extension:display.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:display.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -894,8 +1042,8 @@ ] }, { - "id": "Basic.extension:display.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:display.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Display", "short": "Value of extension", @@ -933,11 +1081,11 @@ ] }, { - "id": "Basic.extension:host", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:host", + "path": "Basic.extension.extension", "sliceName": "host", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -946,7 +1094,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -979,13 +1127,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:host.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:host.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1019,8 +1167,8 @@ ] }, { - "id": "Basic.extension:host.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:host.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1078,8 +1226,8 @@ ] }, { - "id": "Basic.extension:host.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:host.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1115,8 +1263,8 @@ ] }, { - "id": "Basic.extension:host.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:host.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1161,8 +1309,8 @@ ] }, { - "id": "Basic.extension:host.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:host.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Host", "short": "Value of extension", @@ -1200,11 +1348,11 @@ ] }, { - "id": "Basic.extension:sourceType", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:sourceType", + "path": "Basic.extension.extension", "sliceName": "sourceType", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1213,7 +1361,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1246,13 +1394,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:sourceType.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:sourceType.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1286,8 +1434,8 @@ ] }, { - "id": "Basic.extension:sourceType.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:sourceType.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1345,8 +1493,8 @@ ] }, { - "id": "Basic.extension:sourceType.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:sourceType.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1382,8 +1530,8 @@ ] }, { - "id": "Basic.extension:sourceType.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:sourceType.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1428,8 +1576,8 @@ ] }, { - "id": "Basic.extension:sourceType.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:sourceType.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Source Type", "short": "Value of extension", @@ -1467,11 +1615,11 @@ ] }, { - "id": "Basic.extension:source", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:source", + "path": "Basic.extension.extension", "sliceName": "source", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1480,7 +1628,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1513,13 +1661,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:source.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:source.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1553,8 +1701,8 @@ ] }, { - "id": "Basic.extension:source.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:source.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1612,8 +1760,8 @@ ] }, { - "id": "Basic.extension:source.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:source.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1649,8 +1797,8 @@ ] }, { - "id": "Basic.extension:source.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:source.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1695,8 +1843,8 @@ ] }, { - "id": "Basic.extension:source.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:source.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Source", "short": "Value of extension", @@ -1734,11 +1882,11 @@ ] }, { - "id": "Basic.extension:username", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:username", + "path": "Basic.extension.extension", "sliceName": "username", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1747,7 +1895,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1780,13 +1928,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:username.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:username.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1820,8 +1968,8 @@ ] }, { - "id": "Basic.extension:username.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:username.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1879,8 +2027,8 @@ ] }, { - "id": "Basic.extension:username.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:username.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1916,8 +2064,8 @@ ] }, { - "id": "Basic.extension:username.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:username.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1962,8 +2110,8 @@ ] }, { - "id": "Basic.extension:username.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:username.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Username", "short": "Value of extension", @@ -2001,11 +2149,11 @@ ] }, { - "id": "Basic.extension:password", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:password", + "path": "Basic.extension.extension", "sliceName": "password", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -2014,7 +2162,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -2047,13 +2195,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:password.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:password.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2087,8 +2235,8 @@ ] }, { - "id": "Basic.extension:password.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:password.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2146,8 +2294,8 @@ ] }, { - "id": "Basic.extension:password.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:password.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -2183,8 +2331,8 @@ ] }, { - "id": "Basic.extension:password.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:password.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -2229,8 +2377,8 @@ ] }, { - "id": "Basic.extension:password.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:password.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Password", "short": "Value of extension", @@ -2268,11 +2416,11 @@ ] }, { - "id": "Basic.extension:levelMapping", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:levelMapping", + "path": "Basic.extension.extension", "sliceName": "levelMapping", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -2281,7 +2429,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -2314,13 +2462,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:levelMapping.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:levelMapping.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2354,8 +2502,8 @@ ] }, { - "id": "Basic.extension:levelMapping.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:levelMapping.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2413,8 +2561,8 @@ ] }, { - "id": "Basic.extension:levelMapping.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:levelMapping.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -2450,8 +2598,8 @@ ] }, { - "id": "Basic.extension:levelMapping.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:levelMapping.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -2496,8 +2644,8 @@ ] }, { - "id": "Basic.extension:levelMapping.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:levelMapping.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Level Mapping", "short": "Value of extension", @@ -2535,11 +2683,11 @@ ] }, { - "id": "Basic.extension:lastUpdated", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:lastUpdated", + "path": "Basic.extension.extension", "sliceName": "lastUpdated", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -2548,7 +2696,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -2581,13 +2729,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:lastUpdated.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:lastUpdated.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2621,8 +2769,8 @@ ] }, { - "id": "Basic.extension:lastUpdated.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:lastUpdated.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2680,8 +2828,8 @@ ] }, { - "id": "Basic.extension:lastUpdated.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:lastUpdated.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -2717,8 +2865,8 @@ ] }, { - "id": "Basic.extension:lastUpdated.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:lastUpdated.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -2763,8 +2911,8 @@ ] }, { - "id": "Basic.extension:lastUpdated.value[x]:valueDateTime", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:lastUpdated.value[x]:valueDateTime", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueDateTime", "label": "Last Updated", "short": "Value of extension", @@ -2802,11 +2950,11 @@ ] }, { - "id": "Basic.extension:autoSync", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:autoSync", + "path": "Basic.extension.extension", "sliceName": "autoSync", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -2815,7 +2963,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -2848,13 +2996,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:autoSync.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:autoSync.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2888,8 +3036,8 @@ ] }, { - "id": "Basic.extension:autoSync.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:autoSync.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2947,8 +3095,8 @@ ] }, { - "id": "Basic.extension:autoSync.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:autoSync.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -2984,8 +3132,8 @@ ] }, { - "id": "Basic.extension:autoSync.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:autoSync.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -3030,8 +3178,8 @@ ] }, { - "id": "Basic.extension:autoSync.value[x]:valueBoolean", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:autoSync.value[x]:valueBoolean", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueBoolean", "label": "Auto Sync", "short": "Value of extension", @@ -3068,6 +3216,226 @@ } ] }, + { + "id": "Basic.extension:datasource.url", + "path": "Basic.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.extension:datasource.value[x]", + "path": "Basic.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, { "id": "Basic.modifierExtension", "path": "Basic.modifierExtension", @@ -3376,461 +3744,22 @@ "ordered": false, "rules": "open" }, - "min": 3 + "min": 1 }, { - "id": "Basic.extension:partition", + "id": "Basic.extension:datasource", "path": "Basic.extension", - "sliceName": "partition", + "sliceName": "datasource", "min": 1, "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:partition.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:partition.url", - "path": "Basic.extension.url", - "fixedUri": "partition" - }, - { - "id": "Basic.extension:partition.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, "type": [ { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Basic" + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource" ] } - ] - }, - { - "id": "Basic.extension:partition.valueReference", - "path": "Basic.extension.valueReference", - "label": "partition ID", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:display", - "path": "Basic.extension", - "sliceName": "display", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:display.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:display.url", - "path": "Basic.extension.url", - "fixedUri": "display" - }, - { - "id": "Basic.extension:display.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:display.valueString", - "path": "Basic.extension.valueString", - "label": "Display", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:host", - "path": "Basic.extension", - "sliceName": "host", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:host.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:host.url", - "path": "Basic.extension.url", - "fixedUri": "host" - }, - { - "id": "Basic.extension:host.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:host.valueString", - "path": "Basic.extension.valueString", - "label": "Host", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:sourceType", - "path": "Basic.extension", - "sliceName": "sourceType", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:sourceType.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:sourceType.url", - "path": "Basic.extension.url", - "fixedUri": "sourceType" - }, - { - "id": "Basic.extension:sourceType.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:sourceType.valueString", - "path": "Basic.extension.valueString", - "label": "Source Type", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:source", - "path": "Basic.extension", - "sliceName": "source", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:source.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:source.url", - "path": "Basic.extension.url", - "fixedUri": "source" - }, - { - "id": "Basic.extension:source.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:source.valueString", - "path": "Basic.extension.valueString", - "label": "Source", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:username", - "path": "Basic.extension", - "sliceName": "username", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:username.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:username.url", - "path": "Basic.extension.url", - "fixedUri": "username" - }, - { - "id": "Basic.extension:username.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:username.valueString", - "path": "Basic.extension.valueString", - "label": "Username", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:password", - "path": "Basic.extension", - "sliceName": "password", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:password.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:password.url", - "path": "Basic.extension.url", - "fixedUri": "password" - }, - { - "id": "Basic.extension:password.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:password.valueString", - "path": "Basic.extension.valueString", - "label": "Password", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:levelMapping", - "path": "Basic.extension", - "sliceName": "levelMapping", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:levelMapping.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:levelMapping.url", - "path": "Basic.extension.url", - "fixedUri": "levelMapping" - }, - { - "id": "Basic.extension:levelMapping.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:levelMapping.valueString", - "path": "Basic.extension.valueString", - "label": "Level Mapping", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:lastUpdated", - "path": "Basic.extension", - "sliceName": "lastUpdated", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:lastUpdated.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:lastUpdated.url", - "path": "Basic.extension.url", - "fixedUri": "lastUpdated" - }, - { - "id": "Basic.extension:lastUpdated.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "dateTime" - } - ] - }, - { - "id": "Basic.extension:lastUpdated.valueDateTime", - "path": "Basic.extension.valueDateTime", - "label": "Last Updated", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:autoSync", - "path": "Basic.extension", - "sliceName": "autoSync", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:autoSync.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:autoSync.url", - "path": "Basic.extension.url", - "fixedUri": "autoSync" - }, - { - "id": "Basic.extension:autoSync.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "boolean" - } - ] - }, - { - "id": "Basic.extension:autoSync.valueBoolean", - "path": "Basic.extension.valueBoolean", - "label": "Auto Sync", - "min": 0, - "max": "1", + ], "mustSupport": true }, { diff --git a/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-dataSource-pair.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-dataSource-pair.json new file mode 100644 index 000000000..bd5a2ef58 --- /dev/null +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-dataSource-pair.json @@ -0,0 +1,2331 @@ +{ + "resourceType": "StructureDefinition", + "id": "gofr-ext-dataSource-pair", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource-pair", + "version": "0.1.0", + "name": "GofrExtDataSourcePair", + "title": "Data source pair extension", + "status": "active", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Element" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "path": "Extension", + "short": "Data source pair extension", + "definition": "Optional Extension Element - found in all resources.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 6, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition", + "path": "Extension.extension", + "sliceName": "partition", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "partition", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:partition.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:partition.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "partition ID", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "name", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Name", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source1", + "path": "Extension.extension", + "sliceName": "source1", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source1.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source1.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source1.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "source1", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source1.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source1.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Source1", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-datasource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source2", + "path": "Extension.extension", + "sliceName": "source2", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source2.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source2.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source2.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "source2", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source2.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source2.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Source2", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-datasource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:status", + "path": "Extension.extension", + "sliceName": "status", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:status.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:status.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:status.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "status", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:status.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:status.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Status", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:recoStatus", + "path": "Extension.extension", + "sliceName": "recoStatus", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:recoStatus.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:recoStatus.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:recoStatus.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "recoStatus", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:recoStatus.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:recoStatus.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Reconciliation Status", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource-pair", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Data source pair extension" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "min": 6 + }, + { + "id": "Extension.extension:partition", + "path": "Extension.extension", + "sliceName": "partition", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:partition.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:partition.url", + "path": "Extension.extension.url", + "fixedUri": "partition" + }, + { + "id": "Extension.extension:partition.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ] + }, + { + "id": "Extension.extension:partition.valueReference", + "path": "Extension.extension.valueReference", + "label": "partition ID", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:name.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:name.url", + "path": "Extension.extension.url", + "fixedUri": "name" + }, + { + "id": "Extension.extension:name.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:name.valueString", + "path": "Extension.extension.valueString", + "label": "Name", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:source1", + "path": "Extension.extension", + "sliceName": "source1", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:source1.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:source1.url", + "path": "Extension.extension.url", + "fixedUri": "source1" + }, + { + "id": "Extension.extension:source1.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference" + } + ] + }, + { + "id": "Extension.extension:source1.valueReference", + "path": "Extension.extension.valueReference", + "label": "Source1", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-datasource" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:source2", + "path": "Extension.extension", + "sliceName": "source2", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:source2.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:source2.url", + "path": "Extension.extension.url", + "fixedUri": "source2" + }, + { + "id": "Extension.extension:source2.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference" + } + ] + }, + { + "id": "Extension.extension:source2.valueReference", + "path": "Extension.extension.valueReference", + "label": "Source2", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-datasource" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:status", + "path": "Extension.extension", + "sliceName": "status", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:status.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:status.url", + "path": "Extension.extension.url", + "fixedUri": "status" + }, + { + "id": "Extension.extension:status.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:status.valueString", + "path": "Extension.extension.valueString", + "label": "Status", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:recoStatus", + "path": "Extension.extension", + "sliceName": "recoStatus", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:recoStatus.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:recoStatus.url", + "path": "Extension.extension.url", + "fixedUri": "recoStatus" + }, + { + "id": "Extension.extension:recoStatus.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:recoStatus.valueString", + "path": "Extension.extension.valueString", + "label": "Reconciliation Status", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource-pair" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "max": "0" + } + ] + } +} diff --git a/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-dataSource.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-dataSource.json new file mode 100644 index 000000000..e39a7c93f --- /dev/null +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-dataSource.json @@ -0,0 +1,3555 @@ +{ + "resourceType": "StructureDefinition", + "id": "gofr-ext-dataSource", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource", + "version": "0.1.0", + "name": "GofrExtDataSource", + "title": "Data source extension", + "status": "active", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Element" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "path": "Extension", + "short": "Data source extension", + "definition": "Optional Extension Element - found in all resources.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 3, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition", + "path": "Extension.extension", + "sliceName": "partition", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "partition", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:partition.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:partition.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "partition ID", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:display", + "path": "Extension.extension", + "sliceName": "display", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:display.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:display.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:display.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "display", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:display.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:display.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Display", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:host", + "path": "Extension.extension", + "sliceName": "host", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:host.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:host.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:host.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "host", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:host.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:host.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Host", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:sourceType", + "path": "Extension.extension", + "sliceName": "sourceType", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:sourceType.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:sourceType.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:sourceType.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "sourceType", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:sourceType.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:sourceType.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Source Type", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source", + "path": "Extension.extension", + "sliceName": "source", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "source", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Source", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:username", + "path": "Extension.extension", + "sliceName": "username", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:username.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:username.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:username.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "username", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:username.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:username.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Username", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:password", + "path": "Extension.extension", + "sliceName": "password", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:password.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:password.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:password.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "password", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:password.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:password.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Password", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:levelMapping", + "path": "Extension.extension", + "sliceName": "levelMapping", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:levelMapping.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:levelMapping.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:levelMapping.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "levelMapping", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:levelMapping.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:levelMapping.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Level Mapping", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:lastUpdated", + "path": "Extension.extension", + "sliceName": "lastUpdated", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:lastUpdated.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:lastUpdated.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:lastUpdated.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "lastUpdated", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:lastUpdated.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:lastUpdated.value[x]:valueDateTime", + "path": "Extension.extension.value[x]", + "sliceName": "valueDateTime", + "label": "Last Updated", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:autoSync", + "path": "Extension.extension", + "sliceName": "autoSync", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:autoSync.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:autoSync.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:autoSync.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "autoSync", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:autoSync.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:autoSync.value[x]:valueBoolean", + "path": "Extension.extension.value[x]", + "sliceName": "valueBoolean", + "label": "Auto Sync", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Data source extension" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "min": 3 + }, + { + "id": "Extension.extension:partition", + "path": "Extension.extension", + "sliceName": "partition", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:partition.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:partition.url", + "path": "Extension.extension.url", + "fixedUri": "partition" + }, + { + "id": "Extension.extension:partition.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ] + }, + { + "id": "Extension.extension:partition.valueReference", + "path": "Extension.extension.valueReference", + "label": "partition ID", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:display", + "path": "Extension.extension", + "sliceName": "display", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:display.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:display.url", + "path": "Extension.extension.url", + "fixedUri": "display" + }, + { + "id": "Extension.extension:display.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:display.valueString", + "path": "Extension.extension.valueString", + "label": "Display", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:host", + "path": "Extension.extension", + "sliceName": "host", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:host.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:host.url", + "path": "Extension.extension.url", + "fixedUri": "host" + }, + { + "id": "Extension.extension:host.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:host.valueString", + "path": "Extension.extension.valueString", + "label": "Host", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:sourceType", + "path": "Extension.extension", + "sliceName": "sourceType", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:sourceType.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:sourceType.url", + "path": "Extension.extension.url", + "fixedUri": "sourceType" + }, + { + "id": "Extension.extension:sourceType.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:sourceType.valueString", + "path": "Extension.extension.valueString", + "label": "Source Type", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:source", + "path": "Extension.extension", + "sliceName": "source", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:source.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:source.url", + "path": "Extension.extension.url", + "fixedUri": "source" + }, + { + "id": "Extension.extension:source.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:source.valueString", + "path": "Extension.extension.valueString", + "label": "Source", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:username", + "path": "Extension.extension", + "sliceName": "username", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:username.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:username.url", + "path": "Extension.extension.url", + "fixedUri": "username" + }, + { + "id": "Extension.extension:username.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:username.valueString", + "path": "Extension.extension.valueString", + "label": "Username", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:password", + "path": "Extension.extension", + "sliceName": "password", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:password.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:password.url", + "path": "Extension.extension.url", + "fixedUri": "password" + }, + { + "id": "Extension.extension:password.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:password.valueString", + "path": "Extension.extension.valueString", + "label": "Password", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:levelMapping", + "path": "Extension.extension", + "sliceName": "levelMapping", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:levelMapping.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:levelMapping.url", + "path": "Extension.extension.url", + "fixedUri": "levelMapping" + }, + { + "id": "Extension.extension:levelMapping.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:levelMapping.valueString", + "path": "Extension.extension.valueString", + "label": "Level Mapping", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:lastUpdated", + "path": "Extension.extension", + "sliceName": "lastUpdated", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:lastUpdated.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:lastUpdated.url", + "path": "Extension.extension.url", + "fixedUri": "lastUpdated" + }, + { + "id": "Extension.extension:lastUpdated.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "dateTime" + } + ] + }, + { + "id": "Extension.extension:lastUpdated.valueDateTime", + "path": "Extension.extension.valueDateTime", + "label": "Last Updated", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:autoSync", + "path": "Extension.extension", + "sliceName": "autoSync", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:autoSync.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:autoSync.url", + "path": "Extension.extension.url", + "fixedUri": "autoSync" + }, + { + "id": "Extension.extension:autoSync.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "boolean" + } + ] + }, + { + "id": "Extension.extension:autoSync.valueBoolean", + "path": "Extension.extension.valueBoolean", + "label": "Auto Sync", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "max": "0" + } + ] + } +} diff --git a/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-partition.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-partition.json new file mode 100644 index 000000000..f396f48f6 --- /dev/null +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-partition.json @@ -0,0 +1,6182 @@ +{ + "resourceType": "StructureDefinition", + "id": "gofr-ext-partition", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-partition", + "version": "0.1.0", + "name": "GofrExtPartition", + "title": "GOFR partition extension", + "status": "active", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Element" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "path": "Extension", + "short": "GOFR partition extension", + "definition": "Optional Extension Element - found in all resources.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 5, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partitionID", + "path": "Extension.extension", + "sliceName": "partitionID", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partitionID.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partitionID.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partitionID.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "partitionID", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:partitionID.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "integer" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:partitionID.value[x]:valueInteger", + "path": "Extension.extension.value[x]", + "sliceName": "valueInteger", + "label": "partition ID", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "integer" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "name", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Name", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:organization", + "path": "Extension.extension", + "sliceName": "organization", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:organization.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:organization.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:organization.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "organization", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:organization.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:organization.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Owning Organization", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:createdTime", + "path": "Extension.extension", + "sliceName": "createdTime", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:createdTime.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:createdTime.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:createdTime.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "createdTime", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:createdTime.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:createdTime.value[x]:valueDateTime", + "path": "Extension.extension.value[x]", + "sliceName": "valueDateTime", + "label": "Created Time", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner", + "path": "Extension.extension", + "sliceName": "owner", + "label": "Owner Details", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/partition-owner" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID", + "path": "Extension.extension.extension", + "sliceName": "userID", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "userID", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]", + "path": "Extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference", + "path": "Extension.extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Owner", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Person" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference.id", + "path": "Extension.extension.extension.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference.extension", + "path": "Extension.extension.extension.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference.reference", + "path": "Extension.extension.extension.value[x].reference", + "short": "Literal reference, Relative, internal or absolute URL", + "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", + "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "ref-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference.type", + "path": "Extension.extension.extension.value[x].type", + "short": "Type the reference refers to (e.g. \"Patient\")", + "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", + "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRResourceTypeExt" + } + ], + "strength": "extensible", + "description": "Aa resource (or, for logical models, the URI of the logical model).", + "valueSet": "http://hl7.org/fhir/ValueSet/resource-types" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference.identifier", + "path": "Extension.extension.extension.value[x].identifier", + "short": "Logical reference, when literal reference is not known", + "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", + "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", + "min": 0, + "max": "1", + "base": { + "path": "Reference.identifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".identifier" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Extension.extension.extension.value[x].display", + "short": "Text alternative for the resource", + "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", + "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:dhis2OrgId", + "path": "Extension.extension.extension", + "sliceName": "dhis2OrgId", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:dhis2OrgId.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:dhis2OrgId.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:dhis2OrgId.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "dhis2OrgId", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:dhis2OrgId.value[x]", + "path": "Extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:dhis2OrgId.value[x]:valueString", + "path": "Extension.extension.extension.value[x]", + "sliceName": "valueString", + "label": "DHIS2 Org ID", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/partition-owner", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared", + "path": "Extension.extension", + "sliceName": "shared", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/partition-sharing" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser", + "path": "Extension.extension.extension", + "sliceName": "shareduser", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/shared-user" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user", + "path": "Extension.extension.extension.extension", + "sliceName": "user", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.id", + "path": "Extension.extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.extension", + "path": "Extension.extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.url", + "path": "Extension.extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "user", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]", + "path": "Extension.extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference", + "path": "Extension.extension.extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Shared User", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Person" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.id", + "path": "Extension.extension.extension.extension.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.extension", + "path": "Extension.extension.extension.extension.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.reference", + "path": "Extension.extension.extension.extension.value[x].reference", + "short": "Literal reference, Relative, internal or absolute URL", + "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", + "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "ref-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.type", + "path": "Extension.extension.extension.extension.value[x].type", + "short": "Type the reference refers to (e.g. \"Patient\")", + "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", + "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRResourceTypeExt" + } + ], + "strength": "extensible", + "description": "Aa resource (or, for logical models, the URI of the logical model).", + "valueSet": "http://hl7.org/fhir/ValueSet/resource-types" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.identifier", + "path": "Extension.extension.extension.extension.value[x].identifier", + "short": "Logical reference, when literal reference is not known", + "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", + "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", + "min": 0, + "max": "1", + "base": { + "path": "Reference.identifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".identifier" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Extension.extension.extension.extension.value[x].display", + "short": "Text alternative for the resource", + "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", + "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit", + "path": "Extension.extension.extension.extension", + "sliceName": "locationLimit", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.id", + "path": "Extension.extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.extension", + "path": "Extension.extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.url", + "path": "Extension.extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "locationLimit", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]", + "path": "Extension.extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference", + "path": "Extension.extension.extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Limit Location", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.id", + "path": "Extension.extension.extension.extension.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.extension", + "path": "Extension.extension.extension.extension.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.reference", + "path": "Extension.extension.extension.extension.value[x].reference", + "short": "Literal reference, Relative, internal or absolute URL", + "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", + "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "ref-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.type", + "path": "Extension.extension.extension.extension.value[x].type", + "short": "Type the reference refers to (e.g. \"Patient\")", + "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", + "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRResourceTypeExt" + } + ], + "strength": "extensible", + "description": "Aa resource (or, for logical models, the URI of the logical model).", + "valueSet": "http://hl7.org/fhir/ValueSet/resource-types" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.identifier", + "path": "Extension.extension.extension.extension.value[x].identifier", + "short": "Logical reference, when literal reference is not known", + "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", + "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", + "min": 0, + "max": "1", + "base": { + "path": "Reference.identifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".identifier" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Extension.extension.extension.extension.value[x].display", + "short": "Text alternative for the resource", + "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", + "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/shared-user", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:activeUsers", + "path": "Extension.extension.extension", + "sliceName": "activeUsers", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:activeUsers.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:activeUsers.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:activeUsers.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "activeUsers", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:activeUsers.value[x]", + "path": "Extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:activeUsers.value[x]:valueReference", + "path": "Extension.extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Active Users", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Person" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToSameOrgid", + "path": "Extension.extension.extension", + "sliceName": "shareToSameOrgid", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToSameOrgid.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToSameOrgid.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToSameOrgid.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "shareToSameOrgid", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToSameOrgid.value[x]", + "path": "Extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToSameOrgid.value[x]:valueBoolean", + "path": "Extension.extension.extension.value[x]", + "sliceName": "valueBoolean", + "label": "Share to same orgid (DHIS2)", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll", + "path": "Extension.extension.extension", + "sliceName": "shareToAll", + "label": "Share to all", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/shared-toall" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:activated", + "path": "Extension.extension.extension.extension", + "sliceName": "activated", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:activated.id", + "path": "Extension.extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:activated.extension", + "path": "Extension.extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:activated.url", + "path": "Extension.extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "activated", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:activated.value[x]", + "path": "Extension.extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:activated.value[x]:valueBoolean", + "path": "Extension.extension.extension.extension.value[x]", + "sliceName": "valueBoolean", + "label": "Activated", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:limitByUserLocation", + "path": "Extension.extension.extension.extension", + "sliceName": "limitByUserLocation", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:limitByUserLocation.id", + "path": "Extension.extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:limitByUserLocation.extension", + "path": "Extension.extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:limitByUserLocation.url", + "path": "Extension.extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "limitByUserLocation", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:limitByUserLocation.value[x]", + "path": "Extension.extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:limitByUserLocation.value[x]:valueBoolean", + "path": "Extension.extension.extension.extension.value[x]", + "sliceName": "valueBoolean", + "label": "Limit by user location", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/shared-toall", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/partition-sharing", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-partition", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR partition extension" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "min": 5 + }, + { + "id": "Extension.extension:partitionID", + "path": "Extension.extension", + "sliceName": "partitionID", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:partitionID.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:partitionID.url", + "path": "Extension.extension.url", + "fixedUri": "partitionID" + }, + { + "id": "Extension.extension:partitionID.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "integer" + } + ] + }, + { + "id": "Extension.extension:partitionID.valueInteger", + "path": "Extension.extension.valueInteger", + "label": "partition ID", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:name.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:name.url", + "path": "Extension.extension.url", + "fixedUri": "name" + }, + { + "id": "Extension.extension:name.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:name.valueString", + "path": "Extension.extension.valueString", + "label": "Name", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:organization", + "path": "Extension.extension", + "sliceName": "organization", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:organization.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:organization.url", + "path": "Extension.extension.url", + "fixedUri": "organization" + }, + { + "id": "Extension.extension:organization.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ] + }, + { + "id": "Extension.extension:organization.valueReference", + "path": "Extension.extension.valueReference", + "label": "Owning Organization", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:createdTime", + "path": "Extension.extension", + "sliceName": "createdTime", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:createdTime.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:createdTime.url", + "path": "Extension.extension.url", + "fixedUri": "createdTime" + }, + { + "id": "Extension.extension:createdTime.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "dateTime" + } + ] + }, + { + "id": "Extension.extension:createdTime.valueDateTime", + "path": "Extension.extension.valueDateTime", + "label": "Created Time", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:owner", + "path": "Extension.extension", + "sliceName": "owner", + "label": "Owner Details", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/partition-owner" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:owner.extension:userID", + "path": "Extension.extension.extension", + "sliceName": "userID" + }, + { + "id": "Extension.extension:owner.extension:userID.valueReference", + "path": "Extension.extension.extension.valueReference" + }, + { + "id": "Extension.extension:owner.extension:userID.valueReference.reference", + "path": "Extension.extension.extension.valueReference.reference", + "mustSupport": true + }, + { + "id": "Extension.extension:shared", + "path": "Extension.extension", + "sliceName": "shared", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/partition-sharing" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:shared.extension:shareduser", + "path": "Extension.extension.extension", + "sliceName": "shareduser" + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user", + "path": "Extension.extension.extension.extension", + "sliceName": "user" + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.valueReference", + "path": "Extension.extension.extension.extension.valueReference" + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.valueReference.reference", + "path": "Extension.extension.extension.extension.valueReference.reference", + "mustSupport": true + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit", + "path": "Extension.extension.extension.extension", + "sliceName": "locationLimit" + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.valueReference", + "path": "Extension.extension.extension.extension.valueReference" + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.valueReference.reference", + "path": "Extension.extension.extension.extension.valueReference.reference", + "mustSupport": true + }, + { + "id": "Extension.extension:shared.extension:shareToAll", + "path": "Extension.extension.extension", + "sliceName": "shareToAll", + "label": "Share to all" + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-partition" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "max": "0" + } + ] + } +} diff --git a/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-role.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-role.json new file mode 100644 index 000000000..b4d7a50d6 --- /dev/null +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-role.json @@ -0,0 +1,1166 @@ +{ + "resourceType": "StructureDefinition", + "id": "gofr-ext-role", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role", + "version": "0.1.0", + "name": "GofrExtRole", + "title": "GOFR role extension", + "status": "active", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Element" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "path": "Extension", + "short": "GOFR role extension", + "definition": "Optional Extension Element - found in all resources.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 2, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Name", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:primary", + "path": "Extension.extension", + "sliceName": "primary", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-role-primary" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:role", + "path": "Extension.extension", + "sliceName": "role", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-assign-role" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:task", + "path": "Extension.extension", + "sliceName": "task", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:task.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:task.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:task.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "task", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:task.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:task.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Task", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR role extension" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "min": 2 + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:primary", + "path": "Extension.extension", + "sliceName": "primary", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-role-primary" + ] + } + ] + }, + { + "id": "Extension.extension:role", + "path": "Extension.extension", + "sliceName": "role", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-assign-role" + ] + } + ] + }, + { + "id": "Extension.extension:task", + "path": "Extension.extension", + "sliceName": "task", + "min": 0, + "max": "*" + }, + { + "id": "Extension.extension:task.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:task.url", + "path": "Extension.extension.url", + "fixedUri": "task" + }, + { + "id": "Extension.extension:task.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ] + }, + { + "id": "Extension.extension:task.valueReference", + "path": "Extension.extension.valueReference", + "label": "Task", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "max": "0" + } + ] + } +} diff --git a/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-task.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-task.json new file mode 100644 index 000000000..6fb3d3e08 --- /dev/null +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-ext-task.json @@ -0,0 +1,1098 @@ +{ + "resourceType": "StructureDefinition", + "id": "gofr-ext-task", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "version": "0.1.0", + "name": "GofrExtTask", + "title": "GOFR task extension", + "status": "active", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Element" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "path": "Extension", + "short": "GOFR task extension", + "definition": "Optional Extension Element - found in all resources.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Name", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:attributes", + "path": "Extension.extension", + "sliceName": "attributes", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/task-attributes" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:compositeTask", + "path": "Extension.extension", + "sliceName": "compositeTask", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:compositeTask.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:compositeTask.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:compositeTask.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "compositeTask", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:compositeTask.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:compositeTask.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Composite Task", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR task extension" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "min": 1 + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:attributes", + "path": "Extension.extension", + "sliceName": "attributes", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/task-attributes" + ] + } + ] + }, + { + "id": "Extension.extension:compositeTask", + "path": "Extension.extension", + "sliceName": "compositeTask", + "min": 0, + "max": "*" + }, + { + "id": "Extension.extension:compositeTask.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:compositeTask.url", + "path": "Extension.extension.url", + "fixedUri": "compositeTask" + }, + { + "id": "Extension.extension:compositeTask.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ] + }, + { + "id": "Extension.extension:compositeTask.valueReference", + "path": "Extension.extension.valueReference", + "label": "Composite Task", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "max": "0" + } + ] + } +} diff --git a/fshcustom/build/input/profiles/StructureDefinition-gofr-facility-add-request.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-facility-add-request.json similarity index 99% rename from fshcustom/build/input/profiles/StructureDefinition-gofr-facility-add-request.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-facility-add-request.json index ca7215990..729ffb0e6 100644 --- a/fshcustom/build/input/profiles/StructureDefinition-gofr-facility-add-request.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-facility-add-request.json @@ -2457,7 +2457,6 @@ "source": "http://hl7.org/fhir/StructureDefinition/Element" } ], - "mustSupport": true, "isModifier": false, "isSummary": true, "binding": { diff --git a/fshcustom/build/input/profiles/StructureDefinition-gofr-facility-service.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-facility-service.json similarity index 100% rename from fshcustom/build/input/profiles/StructureDefinition-gofr-facility-service.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-facility-service.json diff --git a/fshcustom/build/input/profiles/StructureDefinition-gofr-facility-update-request.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-facility-update-request.json similarity index 99% rename from fshcustom/build/input/profiles/StructureDefinition-gofr-facility-update-request.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-facility-update-request.json index da2ca878f..28e04e6ae 100644 --- a/fshcustom/build/input/profiles/StructureDefinition-gofr-facility-update-request.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-facility-update-request.json @@ -2457,7 +2457,6 @@ "source": "http://hl7.org/fhir/StructureDefinition/Element" } ], - "mustSupport": true, "isModifier": false, "isSummary": true, "binding": { diff --git a/fshcustom/build/input/profiles/StructureDefinition-gofr-facility.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-facility.json similarity index 99% rename from fshcustom/build/input/profiles/StructureDefinition-gofr-facility.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-facility.json index 210e29d8a..6325784d3 100644 --- a/fshcustom/build/input/profiles/StructureDefinition-gofr-facility.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-facility.json @@ -1634,7 +1634,6 @@ "source": "http://hl7.org/fhir/StructureDefinition/Element" } ], - "mustSupport": true, "isModifier": false, "isSummary": true, "binding": { @@ -4404,8 +4403,7 @@ { "id": "Location.type:Facility", "path": "Location.type", - "sliceName": "Facility", - "mustSupport": true + "sliceName": "Facility" }, { "id": "Location.type:Facility.coding", diff --git a/fshcustom/build/input/profiles/StructureDefinition-gofr-instance-organization.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-instance-organization.json similarity index 100% rename from fshcustom/build/input/profiles/StructureDefinition-gofr-instance-organization.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-instance-organization.json diff --git a/fshcustom/build/input/profiles/StructureDefinition-gofr-jurisdiction.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-jurisdiction.json similarity index 100% rename from fshcustom/build/input/profiles/StructureDefinition-gofr-jurisdiction.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-jurisdiction.json diff --git a/fshcustom/build/input/profiles/StructureDefinition-gofr-mcsd-organization.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-mcsd-organization.json similarity index 100% rename from fshcustom/build/input/profiles/StructureDefinition-gofr-mcsd-organization.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-mcsd-organization.json diff --git a/fshcustom/fsh-generated/resources/StructureDefinition-gofr-owning-organization.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-owning-organization.json new file mode 100644 index 000000000..689e4ab21 --- /dev/null +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-owning-organization.json @@ -0,0 +1,630 @@ +{ + "resourceType": "StructureDefinition", + "id": "gofr-owning-organization", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization", + "version": "0.1.0", + "name": "GofrOwningOrganization", + "title": "GOFR Owning Organization", + "status": "active", + "description": "GOFR Owning Organization", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "GofrPersonUser" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "path": "Extension", + "short": "GOFR Owning Organization", + "definition": "GOFR Owning Organization", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]:valueReference", + "path": "Extension.value[x]", + "sliceName": "valueReference", + "label": "Owning Organization", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]:valueReference.id", + "path": "Extension.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.value[x]:valueReference.extension", + "path": "Extension.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.value[x]:valueReference.reference", + "path": "Extension.value[x].reference", + "label": "Owning Organization", + "short": "Literal reference, Relative, internal or absolute URL", + "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", + "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "ref-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]:valueReference.type", + "path": "Extension.value[x].type", + "short": "Type the reference refers to (e.g. \"Patient\")", + "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", + "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRResourceTypeExt" + } + ], + "strength": "extensible", + "description": "Aa resource (or, for logical models, the URI of the logical model).", + "valueSet": "http://hl7.org/fhir/ValueSet/resource-types" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]:valueReference.identifier", + "path": "Extension.value[x].identifier", + "short": "Logical reference, when literal reference is not known", + "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", + "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", + "min": 0, + "max": "1", + "base": { + "path": "Reference.identifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".identifier" + } + ] + }, + { + "id": "Extension.value[x]:valueReference.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Extension.value[x].display", + "short": "Text alternative for the resource", + "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", + "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Owning Organization", + "definition": "GOFR Owning Organization" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "max": "0" + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference" + } + ] + }, + { + "id": "Extension.valueReference", + "path": "Extension.valueReference", + "label": "Owning Organization", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.valueReference.reference", + "path": "Extension.valueReference.reference", + "label": "Owning Organization" + } + ] + } +} diff --git a/fshmcsd/build/input/profiles/StructureDefinition-gofr-partition.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-partition.json similarity index 89% rename from fshmcsd/build/input/profiles/StructureDefinition-gofr-partition.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-partition.json index 483e1cb6c..55b7d4235 100644 --- a/fshmcsd/build/input/profiles/StructureDefinition-gofr-partition.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-partition.json @@ -353,7 +353,7 @@ "extensions", "user content" ], - "min": 5, + "min": 1, "max": "*", "base": { "path": "DomainResource.extension", @@ -393,9 +393,9 @@ ] }, { - "id": "Basic.extension:partitionID", + "id": "Basic.extension:partition", "path": "Basic.extension", - "sliceName": "partitionID", + "sliceName": "partition", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", @@ -412,7 +412,10 @@ }, "type": [ { - "code": "Extension" + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-ext-partition" + ] } ], "constraint": [ @@ -444,7 +447,7 @@ ] }, { - "id": "Basic.extension:partitionID.id", + "id": "Basic.extension:partition.id", "path": "Basic.extension.id", "representation": [ "xmlAttr" @@ -479,8 +482,153 @@ ] }, { - "id": "Basic.extension:partitionID.extension", + "id": "Basic.extension:partition.extension", + "path": "Basic.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 5, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:partition.extension:partitionID", "path": "Basic.extension.extension", + "sliceName": "partitionID", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:partition.extension:partitionID.id", + "path": "Basic.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:partition.extension:partitionID.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -538,8 +686,8 @@ ] }, { - "id": "Basic.extension:partitionID.url", - "path": "Basic.extension.url", + "id": "Basic.extension:partition.extension:partitionID.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -575,8 +723,8 @@ ] }, { - "id": "Basic.extension:partitionID.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:partitionID.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -621,8 +769,8 @@ ] }, { - "id": "Basic.extension:partitionID.value[x]:valueInteger", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:partitionID.value[x]:valueInteger", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueInteger", "label": "partition ID", "short": "Value of extension", @@ -660,11 +808,11 @@ ] }, { - "id": "Basic.extension:name", - "path": "Basic.extension", + "id": "Basic.extension:partition.extension:name", + "path": "Basic.extension.extension", "sliceName": "name", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -673,7 +821,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -706,13 +854,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:name.id", - "path": "Basic.extension.id", + "id": "Basic.extension:partition.extension:name.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -746,8 +894,8 @@ ] }, { - "id": "Basic.extension:name.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:name.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -805,8 +953,8 @@ ] }, { - "id": "Basic.extension:name.url", - "path": "Basic.extension.url", + "id": "Basic.extension:partition.extension:name.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -842,8 +990,8 @@ ] }, { - "id": "Basic.extension:name.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:name.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -888,8 +1036,8 @@ ] }, { - "id": "Basic.extension:name.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:name.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Name", "short": "Value of extension", @@ -927,11 +1075,11 @@ ] }, { - "id": "Basic.extension:organization", - "path": "Basic.extension", + "id": "Basic.extension:partition.extension:organization", + "path": "Basic.extension.extension", "sliceName": "organization", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -940,7 +1088,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -973,13 +1121,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:organization.id", - "path": "Basic.extension.id", + "id": "Basic.extension:partition.extension:organization.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1013,8 +1161,8 @@ ] }, { - "id": "Basic.extension:organization.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:organization.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1072,8 +1220,8 @@ ] }, { - "id": "Basic.extension:organization.url", - "path": "Basic.extension.url", + "id": "Basic.extension:partition.extension:organization.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1109,8 +1257,8 @@ ] }, { - "id": "Basic.extension:organization.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:organization.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1158,8 +1306,8 @@ ] }, { - "id": "Basic.extension:organization.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:organization.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", "label": "Owning Organization", "short": "Value of extension", @@ -1200,11 +1348,11 @@ ] }, { - "id": "Basic.extension:createdTime", - "path": "Basic.extension", + "id": "Basic.extension:partition.extension:createdTime", + "path": "Basic.extension.extension", "sliceName": "createdTime", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1213,7 +1361,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1246,13 +1394,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:createdTime.id", - "path": "Basic.extension.id", + "id": "Basic.extension:partition.extension:createdTime.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1286,8 +1434,8 @@ ] }, { - "id": "Basic.extension:createdTime.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:createdTime.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1345,8 +1493,8 @@ ] }, { - "id": "Basic.extension:createdTime.url", - "path": "Basic.extension.url", + "id": "Basic.extension:partition.extension:createdTime.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1382,8 +1530,8 @@ ] }, { - "id": "Basic.extension:createdTime.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:createdTime.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1428,8 +1576,8 @@ ] }, { - "id": "Basic.extension:createdTime.value[x]:valueDateTime", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:createdTime.value[x]:valueDateTime", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueDateTime", "label": "Created Time", "short": "Value of extension", @@ -1467,12 +1615,12 @@ ] }, { - "id": "Basic.extension:owner", - "path": "Basic.extension", + "id": "Basic.extension:partition.extension:owner", + "path": "Basic.extension.extension", "sliceName": "owner", "label": "Owner Details", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1481,7 +1629,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1517,13 +1665,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:owner.id", - "path": "Basic.extension.id", + "id": "Basic.extension:partition.extension:owner.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1557,8 +1705,8 @@ ] }, { - "id": "Basic.extension:owner.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:owner.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1616,8 +1764,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:owner.extension:userID", + "path": "Basic.extension.extension.extension", "sliceName": "userID", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -1667,8 +1815,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.id", - "path": "Basic.extension.extension.id", + "id": "Basic.extension:partition.extension:owner.extension:userID.id", + "path": "Basic.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1702,8 +1850,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.extension", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:owner.extension:userID.extension", + "path": "Basic.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1761,8 +1909,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.url", - "path": "Basic.extension.extension.url", + "id": "Basic.extension:partition.extension:owner.extension:userID.url", + "path": "Basic.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1798,8 +1946,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]", + "path": "Basic.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1844,8 +1992,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference", + "path": "Basic.extension.extension.extension.value[x]", "sliceName": "valueReference", "label": "Owner", "short": "Value of extension", @@ -1886,8 +2034,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference.id", - "path": "Basic.extension.extension.value[x].id", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference.id", + "path": "Basic.extension.extension.extension.value[x].id", "representation": [ "xmlAttr" ], @@ -1921,8 +2069,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference.extension", - "path": "Basic.extension.extension.value[x].extension", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference.extension", + "path": "Basic.extension.extension.extension.value[x].extension", "slicing": { "discriminator": [ { @@ -1980,8 +2128,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference.reference", - "path": "Basic.extension.extension.value[x].reference", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference.reference", + "path": "Basic.extension.extension.extension.value[x].reference", "short": "Literal reference, Relative, internal or absolute URL", "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", @@ -2021,8 +2169,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference.type", - "path": "Basic.extension.extension.value[x].type", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference.type", + "path": "Basic.extension.extension.extension.value[x].type", "short": "Type the reference refers to (e.g. \"Patient\")", "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", @@ -2069,8 +2217,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference.identifier", - "path": "Basic.extension.extension.value[x].identifier", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference.identifier", + "path": "Basic.extension.extension.extension.value[x].identifier", "short": "Logical reference, when literal reference is not known", "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", @@ -2106,14 +2254,14 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference.display", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference.display", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], - "path": "Basic.extension.extension.value[x].display", + "path": "Basic.extension.extension.extension.value[x].display", "short": "Text alternative for the resource", "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", @@ -2149,8 +2297,8 @@ ] }, { - "id": "Basic.extension:owner.extension:dhis2OrgId", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:owner.extension:dhis2OrgId", + "path": "Basic.extension.extension.extension", "sliceName": "dhis2OrgId", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -2200,8 +2348,8 @@ ] }, { - "id": "Basic.extension:owner.extension:dhis2OrgId.id", - "path": "Basic.extension.extension.id", + "id": "Basic.extension:partition.extension:owner.extension:dhis2OrgId.id", + "path": "Basic.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2235,8 +2383,8 @@ ] }, { - "id": "Basic.extension:owner.extension:dhis2OrgId.extension", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:owner.extension:dhis2OrgId.extension", + "path": "Basic.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2294,8 +2442,8 @@ ] }, { - "id": "Basic.extension:owner.extension:dhis2OrgId.url", - "path": "Basic.extension.extension.url", + "id": "Basic.extension:partition.extension:owner.extension:dhis2OrgId.url", + "path": "Basic.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -2331,8 +2479,8 @@ ] }, { - "id": "Basic.extension:owner.extension:dhis2OrgId.value[x]", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:owner.extension:dhis2OrgId.value[x]", + "path": "Basic.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -2377,8 +2525,8 @@ ] }, { - "id": "Basic.extension:owner.extension:dhis2OrgId.value[x]:valueString", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:owner.extension:dhis2OrgId.value[x]:valueString", + "path": "Basic.extension.extension.extension.value[x]", "sliceName": "valueString", "label": "DHIS2 Org ID", "short": "Value of extension", @@ -2416,8 +2564,8 @@ ] }, { - "id": "Basic.extension:owner.url", - "path": "Basic.extension.url", + "id": "Basic.extension:partition.extension:owner.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -2453,8 +2601,8 @@ ] }, { - "id": "Basic.extension:owner.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:owner.value[x]", + "path": "Basic.extension.extension.value[x]", "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 0, @@ -2636,11 +2784,11 @@ ] }, { - "id": "Basic.extension:shared", - "path": "Basic.extension", + "id": "Basic.extension:partition.extension:shared", + "path": "Basic.extension.extension", "sliceName": "shared", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -2649,7 +2797,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -2685,13 +2833,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:shared.id", - "path": "Basic.extension.id", + "id": "Basic.extension:partition.extension:shared.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2725,8 +2873,8 @@ ] }, { - "id": "Basic.extension:shared.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2784,8 +2932,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser", + "path": "Basic.extension.extension.extension", "sliceName": "shareduser", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -2838,8 +2986,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.id", - "path": "Basic.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.id", + "path": "Basic.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2873,8 +3021,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension", + "path": "Basic.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2932,8 +3080,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user", + "path": "Basic.extension.extension.extension.extension", "sliceName": "user", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -2983,8 +3131,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.id", - "path": "Basic.extension.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.id", + "path": "Basic.extension.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -3018,8 +3166,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.extension", - "path": "Basic.extension.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.extension", + "path": "Basic.extension.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -3077,8 +3225,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.url", - "path": "Basic.extension.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.url", + "path": "Basic.extension.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -3114,8 +3262,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]", + "path": "Basic.extension.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -3160,8 +3308,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference", + "path": "Basic.extension.extension.extension.extension.value[x]", "sliceName": "valueReference", "label": "Shared User", "short": "Value of extension", @@ -3202,8 +3350,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.id", - "path": "Basic.extension.extension.extension.value[x].id", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.id", + "path": "Basic.extension.extension.extension.extension.value[x].id", "representation": [ "xmlAttr" ], @@ -3237,8 +3385,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.extension", - "path": "Basic.extension.extension.extension.value[x].extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.extension", + "path": "Basic.extension.extension.extension.extension.value[x].extension", "slicing": { "discriminator": [ { @@ -3296,8 +3444,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.reference", - "path": "Basic.extension.extension.extension.value[x].reference", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.reference", + "path": "Basic.extension.extension.extension.extension.value[x].reference", "short": "Literal reference, Relative, internal or absolute URL", "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", @@ -3337,8 +3485,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.type", - "path": "Basic.extension.extension.extension.value[x].type", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.type", + "path": "Basic.extension.extension.extension.extension.value[x].type", "short": "Type the reference refers to (e.g. \"Patient\")", "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", @@ -3385,8 +3533,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.identifier", - "path": "Basic.extension.extension.extension.value[x].identifier", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.identifier", + "path": "Basic.extension.extension.extension.extension.value[x].identifier", "short": "Logical reference, when literal reference is not known", "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", @@ -3422,14 +3570,14 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.display", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.display", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], - "path": "Basic.extension.extension.extension.value[x].display", + "path": "Basic.extension.extension.extension.extension.value[x].display", "short": "Text alternative for the resource", "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", @@ -3465,8 +3613,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit", + "path": "Basic.extension.extension.extension.extension", "sliceName": "locationLimit", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -3516,8 +3664,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.id", - "path": "Basic.extension.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.id", + "path": "Basic.extension.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -3551,8 +3699,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.extension", - "path": "Basic.extension.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.extension", + "path": "Basic.extension.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -3610,8 +3758,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.url", - "path": "Basic.extension.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.url", + "path": "Basic.extension.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -3647,8 +3795,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]", + "path": "Basic.extension.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -3693,8 +3841,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference", + "path": "Basic.extension.extension.extension.extension.value[x]", "sliceName": "valueReference", "label": "Limit Location", "short": "Value of extension", @@ -3735,8 +3883,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.id", - "path": "Basic.extension.extension.extension.value[x].id", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.id", + "path": "Basic.extension.extension.extension.extension.value[x].id", "representation": [ "xmlAttr" ], @@ -3770,8 +3918,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.extension", - "path": "Basic.extension.extension.extension.value[x].extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.extension", + "path": "Basic.extension.extension.extension.extension.value[x].extension", "slicing": { "discriminator": [ { @@ -3829,8 +3977,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.reference", - "path": "Basic.extension.extension.extension.value[x].reference", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.reference", + "path": "Basic.extension.extension.extension.extension.value[x].reference", "short": "Literal reference, Relative, internal or absolute URL", "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", @@ -3870,8 +4018,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.type", - "path": "Basic.extension.extension.extension.value[x].type", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.type", + "path": "Basic.extension.extension.extension.extension.value[x].type", "short": "Type the reference refers to (e.g. \"Patient\")", "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", @@ -3918,8 +4066,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.identifier", - "path": "Basic.extension.extension.extension.value[x].identifier", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.identifier", + "path": "Basic.extension.extension.extension.extension.value[x].identifier", "short": "Logical reference, when literal reference is not known", "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", @@ -3955,14 +4103,14 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.display", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.display", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], - "path": "Basic.extension.extension.extension.value[x].display", + "path": "Basic.extension.extension.extension.extension.value[x].display", "short": "Text alternative for the resource", "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", @@ -3998,8 +4146,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.url", - "path": "Basic.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.url", + "path": "Basic.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -4035,8 +4183,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.value[x]", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.value[x]", + "path": "Basic.extension.extension.extension.value[x]", "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 0, @@ -4218,8 +4366,8 @@ ] }, { - "id": "Basic.extension:shared.extension:activeUsers", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:activeUsers", + "path": "Basic.extension.extension.extension", "sliceName": "activeUsers", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -4269,8 +4417,8 @@ ] }, { - "id": "Basic.extension:shared.extension:activeUsers.id", - "path": "Basic.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:activeUsers.id", + "path": "Basic.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -4304,8 +4452,8 @@ ] }, { - "id": "Basic.extension:shared.extension:activeUsers.extension", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:activeUsers.extension", + "path": "Basic.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -4363,8 +4511,8 @@ ] }, { - "id": "Basic.extension:shared.extension:activeUsers.url", - "path": "Basic.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:activeUsers.url", + "path": "Basic.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -4400,8 +4548,8 @@ ] }, { - "id": "Basic.extension:shared.extension:activeUsers.value[x]", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:activeUsers.value[x]", + "path": "Basic.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -4446,8 +4594,8 @@ ] }, { - "id": "Basic.extension:shared.extension:activeUsers.value[x]:valueReference", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:activeUsers.value[x]:valueReference", + "path": "Basic.extension.extension.extension.value[x]", "sliceName": "valueReference", "label": "Active Users", "short": "Value of extension", @@ -4488,8 +4636,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToSameOrgid", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToSameOrgid", + "path": "Basic.extension.extension.extension", "sliceName": "shareToSameOrgid", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -4539,8 +4687,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToSameOrgid.id", - "path": "Basic.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareToSameOrgid.id", + "path": "Basic.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -4574,8 +4722,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToSameOrgid.extension", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToSameOrgid.extension", + "path": "Basic.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -4633,8 +4781,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToSameOrgid.url", - "path": "Basic.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareToSameOrgid.url", + "path": "Basic.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -4670,8 +4818,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToSameOrgid.value[x]", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToSameOrgid.value[x]", + "path": "Basic.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -4716,8 +4864,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToSameOrgid.value[x]:valueBoolean", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToSameOrgid.value[x]:valueBoolean", + "path": "Basic.extension.extension.extension.value[x]", "sliceName": "valueBoolean", "label": "Share to same orgid (DHIS2)", "short": "Value of extension", @@ -4755,8 +4903,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll", + "path": "Basic.extension.extension.extension", "sliceName": "shareToAll", "label": "Share to all", "short": "Additional content defined by implementations", @@ -4810,8 +4958,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.id", - "path": "Basic.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.id", + "path": "Basic.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -4845,8 +4993,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension", + "path": "Basic.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -4904,8 +5052,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:activated", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:activated", + "path": "Basic.extension.extension.extension.extension", "sliceName": "activated", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -4955,8 +5103,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:activated.id", - "path": "Basic.extension.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:activated.id", + "path": "Basic.extension.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -4990,8 +5138,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:activated.extension", - "path": "Basic.extension.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:activated.extension", + "path": "Basic.extension.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -5049,8 +5197,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:activated.url", - "path": "Basic.extension.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:activated.url", + "path": "Basic.extension.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -5086,8 +5234,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:activated.value[x]", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:activated.value[x]", + "path": "Basic.extension.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -5132,8 +5280,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:activated.value[x]:valueBoolean", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:activated.value[x]:valueBoolean", + "path": "Basic.extension.extension.extension.extension.value[x]", "sliceName": "valueBoolean", "label": "Activated", "short": "Value of extension", @@ -5171,8 +5319,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:limitByUserLocation", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:limitByUserLocation", + "path": "Basic.extension.extension.extension.extension", "sliceName": "limitByUserLocation", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -5222,8 +5370,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:limitByUserLocation.id", - "path": "Basic.extension.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:limitByUserLocation.id", + "path": "Basic.extension.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -5257,8 +5405,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:limitByUserLocation.extension", - "path": "Basic.extension.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:limitByUserLocation.extension", + "path": "Basic.extension.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -5316,8 +5464,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:limitByUserLocation.url", - "path": "Basic.extension.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:limitByUserLocation.url", + "path": "Basic.extension.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -5353,8 +5501,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:limitByUserLocation.value[x]", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:limitByUserLocation.value[x]", + "path": "Basic.extension.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -5399,8 +5547,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:limitByUserLocation.value[x]:valueBoolean", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:limitByUserLocation.value[x]:valueBoolean", + "path": "Basic.extension.extension.extension.extension.value[x]", "sliceName": "valueBoolean", "label": "Limit by user location", "short": "Value of extension", @@ -5438,8 +5586,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.url", - "path": "Basic.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.url", + "path": "Basic.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -5475,8 +5623,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.value[x]", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.value[x]", + "path": "Basic.extension.extension.extension.value[x]", "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 0, @@ -5658,8 +5806,8 @@ ] }, { - "id": "Basic.extension:shared.url", - "path": "Basic.extension.url", + "id": "Basic.extension:partition.extension:shared.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -5695,8 +5843,8 @@ ] }, { - "id": "Basic.extension:shared.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.value[x]", + "path": "Basic.extension.extension.value[x]", "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 0, @@ -5878,48 +6026,34 @@ ] }, { - "id": "Basic.modifierExtension", - "path": "Basic.modifierExtension", - "short": "Extensions that cannot be ignored", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content" + "id": "Basic.extension:partition.url", + "path": "Basic.extension.url", + "representation": [ + "xmlAttr" ], - "min": 0, - "max": "*", + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", "base": { - "path": "DomainResource.modifierExtension", - "min": 0, - "max": "*" + "path": "Extension.url", + "min": 1, + "max": "1" }, "type": [ { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] } ], - "isModifier": true, - "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-partition", + "isModifier": false, "isSummary": false, "mapping": [ { @@ -5929,106 +6063,340 @@ ] }, { - "id": "Basic.identifier", - "path": "Basic.identifier", - "short": "Business identifier", - "definition": "Identifier assigned to the resource for business purposes, outside the context of FHIR.", + "id": "Basic.extension:partition.value[x]", + "path": "Basic.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 0, - "max": "*", + "max": "0", "base": { - "path": "Basic.identifier", + "path": "Extension.value[x]", "min": 0, - "max": "*" + "max": "1" }, "type": [ { - "code": "Identifier" - } - ], - "constraint": [ + "code": "base64Binary" + }, { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ + "code": "boolean" + }, { - "identity": "w5", - "map": "FiveWs.identifier" + "code": "canonical" }, { - "identity": "rim", - "map": "./identifier" - } - ] - }, - { - "id": "Basic.code", - "path": "Basic.code", - "short": "Kind of Resource", - "definition": "Identifies the 'type' of resource - equivalent to the resource name for other resources.", - "comment": "Because resource references will only be able to indicate 'Basic', the type of reference will need to be specified in a Profile identified as part of the resource. Refer to the resource notes section for information on appropriate terminologies for this code.\n\nThis element is labeled as a modifier because it defines the meaning of the resource and cannot be ignored.", - "requirements": "Must be able to distinguish different types of Basic resources.", - "min": 1, - "max": "1", - "base": { - "path": "Basic.code", - "min": 1, - "max": "1" - }, - "type": [ + "code": "code" + }, { - "code": "CodeableConcept" - } - ], - "patternCodeableConcept": { - "coding": [ - { - "code": "partition", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "constraint": [ + "code": "date" + }, { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": true, - "isModifierReason": "This element determines what kind of resource is being represented which drives the meaning of all of the other elements.", - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "BasicResourceType" - } - ], - "strength": "example", - "description": "Codes for identifying types of resources not yet defined by FHIR.", - "valueSet": "http://hl7.org/fhir/ValueSet/basic-resource-type" - }, - "mapping": [ + "code": "dateTime" + }, { - "identity": "w5", - "map": "FiveWs.what[x]" + "code": "decimal" }, { - "identity": "rim", - "map": "./code" - } - ] + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.modifierExtension", + "path": "Basic.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.identifier", + "path": "Basic.identifier", + "short": "Business identifier", + "definition": "Identifier assigned to the resource for business purposes, outside the context of FHIR.", + "min": 0, + "max": "*", + "base": { + "path": "Basic.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": "./identifier" + } + ] + }, + { + "id": "Basic.code", + "path": "Basic.code", + "short": "Kind of Resource", + "definition": "Identifies the 'type' of resource - equivalent to the resource name for other resources.", + "comment": "Because resource references will only be able to indicate 'Basic', the type of reference will need to be specified in a Profile identified as part of the resource. Refer to the resource notes section for information on appropriate terminologies for this code.\n\nThis element is labeled as a modifier because it defines the meaning of the resource and cannot be ignored.", + "requirements": "Must be able to distinguish different types of Basic resources.", + "min": 1, + "max": "1", + "base": { + "path": "Basic.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "code": "partition", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element determines what kind of resource is being represented which drives the meaning of all of the other elements.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BasicResourceType" + } + ], + "strength": "example", + "description": "Codes for identifying types of resources not yet defined by FHIR.", + "valueSet": "http://hl7.org/fhir/ValueSet/basic-resource-type" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": "./code" + } + ] }, { "id": "Basic.subject", @@ -6185,281 +6553,24 @@ "ordered": false, "rules": "open" }, - "min": 5 - }, - { - "id": "Basic.extension:partitionID", - "path": "Basic.extension", - "sliceName": "partitionID", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:partitionID.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:partitionID.url", - "path": "Basic.extension.url", - "fixedUri": "partitionID" - }, - { - "id": "Basic.extension:partitionID.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "integer" - } - ] - }, - { - "id": "Basic.extension:partitionID.valueInteger", - "path": "Basic.extension.valueInteger", - "label": "partition ID", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:name", - "path": "Basic.extension", - "sliceName": "name", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:name.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:name.url", - "path": "Basic.extension.url", - "fixedUri": "name" - }, - { - "id": "Basic.extension:name.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:name.valueString", - "path": "Basic.extension.valueString", - "label": "Name", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:organization", - "path": "Basic.extension", - "sliceName": "organization", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:organization.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:organization.url", - "path": "Basic.extension.url", - "fixedUri": "organization" - }, - { - "id": "Basic.extension:organization.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Basic" - ] - } - ] - }, - { - "id": "Basic.extension:organization.valueReference", - "path": "Basic.extension.valueReference", - "label": "Owning Organization", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:createdTime", - "path": "Basic.extension", - "sliceName": "createdTime", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:createdTime.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:createdTime.url", - "path": "Basic.extension.url", - "fixedUri": "createdTime" - }, - { - "id": "Basic.extension:createdTime.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "dateTime" - } - ] + "min": 1 }, { - "id": "Basic.extension:createdTime.valueDateTime", - "path": "Basic.extension.valueDateTime", - "label": "Created Time", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:owner", + "id": "Basic.extension:partition", "path": "Basic.extension", - "sliceName": "owner", - "label": "Owner Details", + "sliceName": "partition", "min": 1, "max": "1", "type": [ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/partition-owner" + "http://gofr.org/fhir/StructureDefinition/gofr-ext-partition" ] } ], "mustSupport": true }, - { - "id": "Basic.extension:owner.extension:userID", - "path": "Basic.extension.extension", - "sliceName": "userID" - }, - { - "id": "Basic.extension:owner.extension:userID.valueReference", - "path": "Basic.extension.extension.valueReference" - }, - { - "id": "Basic.extension:owner.extension:userID.valueReference.reference", - "path": "Basic.extension.extension.valueReference.reference", - "mustSupport": true - }, - { - "id": "Basic.extension:shared", - "path": "Basic.extension", - "sliceName": "shared", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "http://gofr.org/fhir/StructureDefinition/partition-sharing" - ] - } - ], - "mustSupport": true - }, - { - "id": "Basic.extension:shared.extension:shareduser", - "path": "Basic.extension.extension", - "sliceName": "shareduser" - }, - { - "id": "Basic.extension:shared.extension:shareduser.extension:user", - "path": "Basic.extension.extension.extension", - "sliceName": "user" - }, - { - "id": "Basic.extension:shared.extension:shareduser.extension:user.valueReference", - "path": "Basic.extension.extension.extension.valueReference" - }, - { - "id": "Basic.extension:shared.extension:shareduser.extension:user.valueReference.reference", - "path": "Basic.extension.extension.extension.valueReference.reference", - "mustSupport": true - }, - { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit", - "path": "Basic.extension.extension.extension", - "sliceName": "locationLimit" - }, - { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.valueReference", - "path": "Basic.extension.extension.extension.valueReference" - }, - { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.valueReference.reference", - "path": "Basic.extension.extension.extension.valueReference.reference", - "mustSupport": true - }, - { - "id": "Basic.extension:shared.extension:shareToAll", - "path": "Basic.extension.extension", - "sliceName": "shareToAll", - "label": "Share to all" - }, { "id": "Basic.code", "path": "Basic.code", diff --git a/fshcustom/build/input/extensions/StructureDefinition-gofr-password.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-password.json similarity index 99% rename from fshcustom/build/input/extensions/StructureDefinition-gofr-password.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-password.json index 64e09cc2d..5a9eebb97 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-gofr-password.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-password.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Password", + "definition": "GOFR password extension for local users.", "min": 0, "max": "*", "base": { @@ -934,6 +934,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Password", + "definition": "GOFR password extension for local users." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshcustom/build/input/profiles/StructureDefinition-gofr-person-user.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-person-user.json similarity index 89% rename from fshcustom/build/input/profiles/StructureDefinition-gofr-person-user.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-person-user.json index 99ae7cab4..3e4fccbeb 100644 --- a/fshcustom/build/input/profiles/StructureDefinition-gofr-person-user.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-person-user.json @@ -413,7 +413,10 @@ }, "type": [ { - "code": "Extension" + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization" + ] } ], "constraint": [ @@ -565,7 +568,7 @@ ] } ], - "fixedUri": "organization", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization", "isModifier": false, "isSummary": false, "mapping": [ @@ -666,6 +669,269 @@ } ] }, + { + "id": "Person.extension:organization.value[x]:valueReference.id", + "path": "Person.extension.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Person.extension:organization.value[x]:valueReference.extension", + "path": "Person.extension.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Person.extension:organization.value[x]:valueReference.reference", + "path": "Person.extension.value[x].reference", + "label": "Owning Organization", + "short": "Literal reference, Relative, internal or absolute URL", + "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", + "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "ref-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Person.extension:organization.value[x]:valueReference.type", + "path": "Person.extension.value[x].type", + "short": "Type the reference refers to (e.g. \"Patient\")", + "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", + "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRResourceTypeExt" + } + ], + "strength": "extensible", + "description": "Aa resource (or, for logical models, the URI of the logical model).", + "valueSet": "http://hl7.org/fhir/ValueSet/resource-types" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Person.extension:organization.value[x]:valueReference.identifier", + "path": "Person.extension.value[x].identifier", + "short": "Logical reference, when literal reference is not known", + "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", + "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", + "min": 0, + "max": "1", + "base": { + "path": "Reference.identifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".identifier" + } + ] + }, + { + "id": "Person.extension:organization.value[x]:valueReference.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Person.extension.value[x].display", + "short": "Text alternative for the resource", + "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", + "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, { "id": "Person.extension:password", "path": "Person.extension", @@ -2774,32 +3040,19 @@ "sliceName": "organization", "min": 1, "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization" + ] + } + ], "mustSupport": true }, - { - "id": "Person.extension:organization.extension", - "path": "Person.extension.extension", - "max": "0" - }, - { - "id": "Person.extension:organization.url", - "path": "Person.extension.url", - "fixedUri": "organization" - }, { "id": "Person.extension:organization.value[x]", "path": "Person.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, "type": [ { "code": "Reference", @@ -2809,14 +3062,6 @@ } ] }, - { - "id": "Person.extension:organization.valueReference", - "path": "Person.extension.valueReference", - "label": "Owning Organization", - "min": 1, - "max": "1", - "mustSupport": true - }, { "id": "Person.extension:password", "path": "Person.extension", diff --git a/fshcustom/build/input/extensions/StructureDefinition-gofr-role-primary.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-role-primary.json similarity index 96% rename from fshcustom/build/input/extensions/StructureDefinition-gofr-role-primary.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-role-primary.json index 327ce1e72..31ab8f02f 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-gofr-role-primary.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-role-primary.json @@ -45,8 +45,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Role Primary", + "definition": "GOFR flag for roles to indicate a primary role for assignment to users.", "min": 0, "max": "*", "base": { @@ -304,6 +304,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Role Primary", + "definition": "GOFR flag for roles to indicate a primary role for assignment to users." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshcustom/build/input/profiles/StructureDefinition-gofr-task.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-role.json similarity index 76% rename from fshcustom/build/input/profiles/StructureDefinition-gofr-task.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-role.json index f3bfbbfd4..ee02a0643 100644 --- a/fshcustom/build/input/profiles/StructureDefinition-gofr-task.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-role.json @@ -1,6 +1,6 @@ { "resourceType": "StructureDefinition", - "id": "gofr-task", + "id": "gofr-role", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", @@ -11,12 +11,12 @@ "valueCode": "not-classified" } ], - "url": "http://gofr.org/fhir/StructureDefinition/gofr-task", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-role", "version": "0.1.0", - "name": "GofrTask", - "title": "GOFR Task", + "name": "GofrRole", + "title": "GOFR Role", "status": "active", - "description": "GOFR Profile of the Basic resource to manage tasks.", + "description": "GOFR Profile of the Basic resource to manage roles.", "fhirVersion": "4.0.1", "mapping": [ { @@ -393,9 +393,9 @@ ] }, { - "id": "Basic.extension:name", + "id": "Basic.extension:role", "path": "Basic.extension", - "sliceName": "name", + "sliceName": "role", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", @@ -414,7 +414,7 @@ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + "http://gofr.org/fhir/StructureDefinition/gofr-ext-role" ] } ], @@ -447,7 +447,7 @@ ] }, { - "id": "Basic.extension:name.id", + "id": "Basic.extension:role.id", "path": "Basic.extension.id", "representation": [ "xmlAttr" @@ -482,7 +482,7 @@ ] }, { - "id": "Basic.extension:name.extension", + "id": "Basic.extension:role.extension", "path": "Basic.extension.extension", "slicing": { "discriminator": [ @@ -501,6 +501,154 @@ "extensions", "user content" ], + "min": 2, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:role.extension:name", + "path": "Basic.extension.extension", + "sliceName": "name", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:role.extension:name.id", + "path": "Basic.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:role.extension:name.extension", + "path": "Basic.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], "min": 0, "max": "0", "base": { @@ -541,8 +689,8 @@ ] }, { - "id": "Basic.extension:name.url", - "path": "Basic.extension.url", + "id": "Basic.extension:role.extension:name.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -578,8 +726,8 @@ ] }, { - "id": "Basic.extension:name.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:role.extension:name.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -624,8 +772,8 @@ ] }, { - "id": "Basic.extension:name.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:role.extension:name.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Name", "short": "Value of extension", @@ -663,20 +811,20 @@ ] }, { - "id": "Basic.extension:attributes", - "path": "Basic.extension", - "sliceName": "attributes", + "id": "Basic.extension:role.extension:primary", + "path": "Basic.extension.extension", + "sliceName": "primary", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], - "min": 0, + "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -684,7 +832,7 @@ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/task-attributes" + "http://gofr.org/fhir/StructureDefinition/gofr-role-primary" ] } ], @@ -711,16 +859,16 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:compositeTask", - "path": "Basic.extension", - "sliceName": "compositeTask", + "id": "Basic.extension:role.extension:role", + "path": "Basic.extension.extension", + "sliceName": "role", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -729,7 +877,60 @@ "min": 0, "max": "*", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-assign-role" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:role.extension:task", + "path": "Basic.extension.extension", + "sliceName": "task", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", "min": 0, "max": "*" }, @@ -761,13 +962,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:compositeTask.id", - "path": "Basic.extension.id", + "id": "Basic.extension:role.extension:task.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -801,8 +1002,8 @@ ] }, { - "id": "Basic.extension:compositeTask.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:role.extension:task.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -860,8 +1061,8 @@ ] }, { - "id": "Basic.extension:compositeTask.url", - "path": "Basic.extension.url", + "id": "Basic.extension:role.extension:task.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -886,7 +1087,7 @@ ] } ], - "fixedUri": "compositeTask", + "fixedUri": "task", "isModifier": false, "isSummary": false, "mapping": [ @@ -897,8 +1098,8 @@ ] }, { - "id": "Basic.extension:compositeTask.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:role.extension:task.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -946,10 +1147,10 @@ ] }, { - "id": "Basic.extension:compositeTask.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:role.extension:task.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", - "label": "Composite Task", + "label": "Task", "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 1, @@ -987,6 +1188,226 @@ } ] }, + { + "id": "Basic.extension:role.url", + "path": "Basic.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.extension:role.value[x]", + "path": "Basic.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, { "id": "Basic.modifierExtension", "path": "Basic.modifierExtension", @@ -1100,7 +1521,7 @@ "patternCodeableConcept": { "coding": [ { - "code": "task", + "code": "role", "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" } ] @@ -1298,91 +1719,28 @@ "min": 1 }, { - "id": "Basic.extension:name", + "id": "Basic.extension:role", "path": "Basic.extension", - "sliceName": "name", + "sliceName": "role", "min": 1, "max": "1", "type": [ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + "http://gofr.org/fhir/StructureDefinition/gofr-ext-role" ] } ], "mustSupport": true }, - { - "id": "Basic.extension:attributes", - "path": "Basic.extension", - "sliceName": "attributes", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "http://gofr.org/fhir/StructureDefinition/task-attributes" - ] - } - ] - }, - { - "id": "Basic.extension:compositeTask", - "path": "Basic.extension", - "sliceName": "compositeTask", - "min": 0, - "max": "*" - }, - { - "id": "Basic.extension:compositeTask.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:compositeTask.url", - "path": "Basic.extension.url", - "fixedUri": "compositeTask" - }, - { - "id": "Basic.extension:compositeTask.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Basic" - ] - } - ] - }, - { - "id": "Basic.extension:compositeTask.valueReference", - "path": "Basic.extension.valueReference", - "label": "Composite Task", - "min": 1, - "max": "1", - "mustSupport": true - }, { "id": "Basic.code", "path": "Basic.code", "patternCodeableConcept": { "coding": [ { - "code": "task", + "code": "role", "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" } ] diff --git a/fshmcsd/build/input/profiles/StructureDefinition-gofr-role.json b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-task.json similarity index 82% rename from fshmcsd/build/input/profiles/StructureDefinition-gofr-role.json rename to fshcustom/fsh-generated/resources/StructureDefinition-gofr-task.json index 8ef27238b..c5888be03 100644 --- a/fshmcsd/build/input/profiles/StructureDefinition-gofr-role.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-gofr-task.json @@ -1,6 +1,6 @@ { "resourceType": "StructureDefinition", - "id": "gofr-role", + "id": "gofr-task", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", @@ -11,12 +11,12 @@ "valueCode": "not-classified" } ], - "url": "http://gofr.org/fhir/StructureDefinition/gofr-role", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-task", "version": "0.1.0", - "name": "GofrRole", - "title": "GOFR Role", + "name": "GofrTask", + "title": "GOFR Task", "status": "active", - "description": "GOFR Profile of the Basic resource to manage roles.", + "description": "GOFR Profile of the Basic resource to manage tasks.", "fhirVersion": "4.0.1", "mapping": [ { @@ -353,7 +353,7 @@ "extensions", "user content" ], - "min": 2, + "min": 1, "max": "*", "base": { "path": "DomainResource.extension", @@ -393,9 +393,9 @@ ] }, { - "id": "Basic.extension:name", + "id": "Basic.extension:task", "path": "Basic.extension", - "sliceName": "name", + "sliceName": "task", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", @@ -414,7 +414,7 @@ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + "http://gofr.org/fhir/StructureDefinition/gofr-ext-task" ] } ], @@ -447,7 +447,7 @@ ] }, { - "id": "Basic.extension:name.id", + "id": "Basic.extension:task.id", "path": "Basic.extension.id", "representation": [ "xmlAttr" @@ -482,7 +482,7 @@ ] }, { - "id": "Basic.extension:name.extension", + "id": "Basic.extension:task.extension", "path": "Basic.extension.extension", "slicing": { "discriminator": [ @@ -501,8 +501,8 @@ "extensions", "user content" ], - "min": 0, - "max": "0", + "min": 1, + "max": "*", "base": { "path": "Element.extension", "min": 0, @@ -541,19 +541,72 @@ ] }, { - "id": "Basic.extension:name.url", - "path": "Basic.extension.url", + "id": "Basic.extension:task.extension:name", + "path": "Basic.extension.extension", + "sliceName": "name", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:task.extension:name.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], - "short": "identifies the meaning of the extension", - "definition": "Source of the definition for the extension code - a logical name or a URL.", - "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", - "min": 1, + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, "max": "1", "base": { - "path": "Extension.url", - "min": 1, + "path": "Element.id", + "min": 0, "max": "1" }, "type": [ @@ -562,46 +615,50 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "uri" + "valueUrl": "string" } ] } ], - "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", "isModifier": false, "isSummary": false, "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:name.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:task.extension:name.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { - "type": "type", - "path": "$this" + "type": "value", + "path": "url" } ], - "ordered": false, + "description": "Extensions are always sliced by (at least) url", "rules": "open" }, - "short": "Value of extension", - "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", - "min": 1, - "max": "1", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", "base": { - "path": "Extension.value[x]", + "path": "Element.extension", "min": 0, - "max": "1" + "max": "*" }, "type": [ { - "code": "string" + "code": "Extension" } ], "constraint": [ @@ -612,8 +669,53 @@ "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" } + ] + }, + { + "id": "Basic.extension:task.extension:name.url", + "path": "Basic.extension.extension.url", + "representation": [ + "xmlAttr" ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", "isModifier": false, "isSummary": false, "mapping": [ @@ -624,10 +726,18 @@ ] }, { - "id": "Basic.extension:name.value[x]:valueString", - "path": "Basic.extension.value[x]", - "sliceName": "valueString", - "label": "Name", + "id": "Basic.extension:task.extension:name.value[x]", + "path": "Basic.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 1, @@ -652,7 +762,6 @@ "source": "http://hl7.org/fhir/StructureDefinition/Element" } ], - "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [ @@ -663,29 +772,22 @@ ] }, { - "id": "Basic.extension:primary", - "path": "Basic.extension", - "sliceName": "primary", - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], + "id": "Basic.extension:task.extension:name.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", + "sliceName": "valueString", + "label": "Name", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Extension.value[x]", "min": 0, - "max": "*" + "max": "1" }, "type": [ { - "code": "Extension", - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-role-primary" - ] + "code": "string" } ], "constraint": [ @@ -696,16 +798,9 @@ "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" } ], + "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [ @@ -716,20 +811,20 @@ ] }, { - "id": "Basic.extension:role", - "path": "Basic.extension", - "sliceName": "role", + "id": "Basic.extension:task.extension:attributes", + "path": "Basic.extension.extension", + "sliceName": "attributes", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, - "max": "*", + "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -737,7 +832,7 @@ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-assign-role" + "http://gofr.org/fhir/StructureDefinition/task-attributes" ] } ], @@ -764,16 +859,16 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:task", - "path": "Basic.extension", - "sliceName": "task", + "id": "Basic.extension:task.extension:compositeTask", + "path": "Basic.extension.extension", + "sliceName": "compositeTask", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -782,7 +877,7 @@ "min": 0, "max": "*", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -814,13 +909,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:task.id", - "path": "Basic.extension.id", + "id": "Basic.extension:task.extension:compositeTask.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -854,8 +949,8 @@ ] }, { - "id": "Basic.extension:task.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:task.extension:compositeTask.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -913,8 +1008,8 @@ ] }, { - "id": "Basic.extension:task.url", - "path": "Basic.extension.url", + "id": "Basic.extension:task.extension:compositeTask.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -939,7 +1034,7 @@ ] } ], - "fixedUri": "task", + "fixedUri": "compositeTask", "isModifier": false, "isSummary": false, "mapping": [ @@ -950,8 +1045,8 @@ ] }, { - "id": "Basic.extension:task.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:task.extension:compositeTask.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -999,10 +1094,10 @@ ] }, { - "id": "Basic.extension:task.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:task.extension:compositeTask.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", - "label": "Task", + "label": "Composite Task", "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 1, @@ -1040,6 +1135,226 @@ } ] }, + { + "id": "Basic.extension:task.url", + "path": "Basic.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.extension:task.value[x]", + "path": "Basic.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, { "id": "Basic.modifierExtension", "path": "Basic.modifierExtension", @@ -1153,7 +1468,7 @@ "patternCodeableConcept": { "coding": [ { - "code": "role", + "code": "task", "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" } ] @@ -1348,109 +1663,31 @@ "ordered": false, "rules": "open" }, - "min": 2 + "min": 1 }, { - "id": "Basic.extension:name", + "id": "Basic.extension:task", "path": "Basic.extension", - "sliceName": "name", + "sliceName": "task", "min": 1, "max": "1", "type": [ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + "http://gofr.org/fhir/StructureDefinition/gofr-ext-task" ] } ], "mustSupport": true }, - { - "id": "Basic.extension:primary", - "path": "Basic.extension", - "sliceName": "primary", - "min": 1, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-role-primary" - ] - } - ] - }, - { - "id": "Basic.extension:role", - "path": "Basic.extension", - "sliceName": "role", - "min": 0, - "max": "*", - "type": [ - { - "code": "Extension", - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-assign-role" - ] - } - ] - }, - { - "id": "Basic.extension:task", - "path": "Basic.extension", - "sliceName": "task", - "min": 0, - "max": "*" - }, - { - "id": "Basic.extension:task.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:task.url", - "path": "Basic.extension.url", - "fixedUri": "task" - }, - { - "id": "Basic.extension:task.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Basic" - ] - } - ] - }, - { - "id": "Basic.extension:task.valueReference", - "path": "Basic.extension.valueReference", - "label": "Task", - "min": 1, - "max": "1", - "mustSupport": true - }, { "id": "Basic.code", "path": "Basic.code", "patternCodeableConcept": { "coding": [ { - "code": "role", + "code": "task", "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" } ] diff --git a/fshcustom/build/input/extensions/StructureDefinition-ihris-page-display.json b/fshcustom/fsh-generated/resources/StructureDefinition-ihris-page-display.json similarity index 99% rename from fshcustom/build/input/extensions/StructureDefinition-ihris-page-display.json rename to fshcustom/fsh-generated/resources/StructureDefinition-ihris-page-display.json index 4b8318288..0cea24429 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-ihris-page-display.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-ihris-page-display.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "iHRIS Page Display", + "definition": "iHRIS Page Display details.", "min": 0, "max": "*", "base": { @@ -5508,6 +5508,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "iHRIS Page Display", + "definition": "iHRIS Page Display details." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshcustom/build/input/extensions/StructureDefinition-ihris-page-section.json b/fshcustom/fsh-generated/resources/StructureDefinition-ihris-page-section.json similarity index 99% rename from fshcustom/build/input/extensions/StructureDefinition-ihris-page-section.json rename to fshcustom/fsh-generated/resources/StructureDefinition-ihris-page-section.json index 45fd29f29..543aefef5 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-ihris-page-section.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-ihris-page-section.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "iHRIS Page Section", + "definition": "iHRIS Page Section information.", "min": 0, "max": "*", "base": { @@ -5503,6 +5503,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "iHRIS Page Section", + "definition": "iHRIS Page Section information." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshcustom/build/input/profiles/StructureDefinition-ihris-page.json b/fshcustom/fsh-generated/resources/StructureDefinition-ihris-page.json similarity index 100% rename from fshcustom/build/input/profiles/StructureDefinition-ihris-page.json rename to fshcustom/fsh-generated/resources/StructureDefinition-ihris-page.json diff --git a/fshcustom/build/input/profiles/StructureDefinition-ihris-questionnaire.json b/fshcustom/fsh-generated/resources/StructureDefinition-ihris-questionnaire.json similarity index 100% rename from fshcustom/build/input/profiles/StructureDefinition-ihris-questionnaire.json rename to fshcustom/fsh-generated/resources/StructureDefinition-ihris-questionnaire.json diff --git a/fshmcsd/build/input/extensions/StructureDefinition-partition-owner.json b/fshcustom/fsh-generated/resources/StructureDefinition-partition-owner.json similarity index 99% rename from fshmcsd/build/input/extensions/StructureDefinition-partition-owner.json rename to fshcustom/fsh-generated/resources/StructureDefinition-partition-owner.json index 6c468a885..1ff103414 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-partition-owner.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-partition-owner.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Partition Owner", + "definition": "GOFR Partition Owner", "min": 0, "max": "*", "base": { @@ -937,6 +937,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Partition Owner", + "definition": "GOFR Partition Owner" + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshcustom/build/input/extensions/StructureDefinition-partition-sharing.json b/fshcustom/fsh-generated/resources/StructureDefinition-partition-sharing.json similarity index 99% rename from fshcustom/build/input/extensions/StructureDefinition-partition-sharing.json rename to fshcustom/fsh-generated/resources/StructureDefinition-partition-sharing.json index 8e5041930..0ebfbb285 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-partition-sharing.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-partition-sharing.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Partition Shared Users", + "definition": "GOFR Partition Shared Users", "min": 0, "max": "*", "base": { @@ -2747,6 +2747,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Partition Shared Users", + "definition": "GOFR Partition Shared Users" + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshcustom/build/input/extensions/StructureDefinition-request-affected-resource.json b/fshcustom/fsh-generated/resources/StructureDefinition-request-affected-resource.json similarity index 98% rename from fshcustom/build/input/extensions/StructureDefinition-request-affected-resource.json rename to fshcustom/fsh-generated/resources/StructureDefinition-request-affected-resource.json index 301134120..0f3cfdb7c 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-request-affected-resource.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-request-affected-resource.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "Resource changed/added following this request", + "definition": "Resource changed/added following this request", "min": 0, "max": "*", "base": { @@ -569,6 +569,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Resource changed/added following this request", + "definition": "Resource changed/added following this request" + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshmcsd/build/input/extensions/StructureDefinition-request-status.json b/fshcustom/fsh-generated/resources/StructureDefinition-request-status.json similarity index 96% rename from fshmcsd/build/input/extensions/StructureDefinition-request-status.json rename to fshcustom/fsh-generated/resources/StructureDefinition-request-status.json index 3ad415311..05117d2be 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-request-status.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-request-status.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "Status of a request to add/update facility", + "definition": "Status of a request to add/update facility", "min": 0, "max": "*", "base": { @@ -306,6 +306,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Status of a request to add/update facility", + "definition": "Status of a request to add/update facility" + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshmcsd/build/input/extensions/StructureDefinition-shared-toall.json b/fshcustom/fsh-generated/resources/StructureDefinition-shared-toall.json similarity index 99% rename from fshmcsd/build/input/extensions/StructureDefinition-shared-toall.json rename to fshcustom/fsh-generated/resources/StructureDefinition-shared-toall.json index 2d7353f30..795fe934f 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-shared-toall.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-shared-toall.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Partition Shared to All", + "definition": "GOFR Partition Shared to All", "min": 0, "max": "*", "base": { @@ -934,6 +934,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Partition Shared to All", + "definition": "GOFR Partition Shared to All" + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshcustom/build/input/extensions/StructureDefinition-shared-user.json b/fshcustom/fsh-generated/resources/StructureDefinition-shared-user.json similarity index 99% rename from fshcustom/build/input/extensions/StructureDefinition-shared-user.json rename to fshcustom/fsh-generated/resources/StructureDefinition-shared-user.json index d2f876bdc..f8807efa1 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-shared-user.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-shared-user.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Partition Shared Users", + "definition": "GOFR Partition Shared Users", "min": 0, "max": "*", "base": { @@ -940,6 +940,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Partition Shared Users", + "definition": "GOFR Partition Shared Users" + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshmcsd/build/input/extensions/StructureDefinition-task-attributes.json b/fshcustom/fsh-generated/resources/StructureDefinition-task-attributes.json similarity index 98% rename from fshmcsd/build/input/extensions/StructureDefinition-task-attributes.json rename to fshcustom/fsh-generated/resources/StructureDefinition-task-attributes.json index c418c784d..d256ea0fd 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-task-attributes.json +++ b/fshcustom/fsh-generated/resources/StructureDefinition-task-attributes.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "Task Attributes", + "definition": "Task attributes.", "min": 0, "max": "*", "base": { @@ -1603,22 +1603,9 @@ { "id": "Extension", "path": "Extension", + "short": "Task Attributes", + "definition": "Task attributes.", "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" - }, { "key": "gofr-task-instance-constraint", "severity": "error", diff --git a/fshcustom/build/input/vocabulary/ValueSet-gofr-jurisdiction-type.json b/fshcustom/fsh-generated/resources/ValueSet-gofr-jurisdiction-type.json similarity index 100% rename from fshcustom/build/input/vocabulary/ValueSet-gofr-jurisdiction-type.json rename to fshcustom/fsh-generated/resources/ValueSet-gofr-jurisdiction-type.json diff --git a/fshcustom/build/input/vocabulary/ValueSet-gofr-organization-hiearchy-type-valueset.json b/fshcustom/fsh-generated/resources/ValueSet-gofr-organization-hiearchy-type-valueset.json similarity index 100% rename from fshcustom/build/input/vocabulary/ValueSet-gofr-organization-hiearchy-type-valueset.json rename to fshcustom/fsh-generated/resources/ValueSet-gofr-organization-hiearchy-type-valueset.json diff --git a/fshcustom/build/input/vocabulary/ValueSet-gofr-resource-valueset.json b/fshcustom/fsh-generated/resources/ValueSet-gofr-resource-valueset.json similarity index 100% rename from fshcustom/build/input/vocabulary/ValueSet-gofr-resource-valueset.json rename to fshcustom/fsh-generated/resources/ValueSet-gofr-resource-valueset.json diff --git a/fshcustom/build/input/vocabulary/ValueSet-gofr-task-permission.json b/fshcustom/fsh-generated/resources/ValueSet-gofr-task-permission.json similarity index 100% rename from fshcustom/build/input/vocabulary/ValueSet-gofr-task-permission.json rename to fshcustom/fsh-generated/resources/ValueSet-gofr-task-permission.json diff --git a/fshcustom/build/input/vocabulary/ValueSet-gofr-task-resource.json b/fshcustom/fsh-generated/resources/ValueSet-gofr-task-resource.json similarity index 100% rename from fshcustom/build/input/vocabulary/ValueSet-gofr-task-resource.json rename to fshcustom/fsh-generated/resources/ValueSet-gofr-task-resource.json diff --git a/fshcustom/build/input/vocabulary/ValueSet-ihris-resource-valueset.json b/fshcustom/fsh-generated/resources/ValueSet-ihris-resource-valueset.json similarity index 100% rename from fshcustom/build/input/vocabulary/ValueSet-ihris-resource-valueset.json rename to fshcustom/fsh-generated/resources/ValueSet-ihris-resource-valueset.json diff --git a/fshcustom/build/input/vocabulary/ValueSet-request-status-valueset.json b/fshcustom/fsh-generated/resources/ValueSet-request-status-valueset.json similarity index 100% rename from fshcustom/build/input/vocabulary/ValueSet-request-status-valueset.json rename to fshcustom/fsh-generated/resources/ValueSet-request-status-valueset.json diff --git a/fshcustom/input/fsh/Aliases.fsh b/fshcustom/input/fsh/Aliases.fsh new file mode 100644 index 000000000..0e96dd576 --- /dev/null +++ b/fshcustom/input/fsh/Aliases.fsh @@ -0,0 +1,6 @@ +Alias: SCT = http://snomed.info/sct +Alias: UCUM = http://unitsofmeasure.org +Alias: LOINC = http://loinc.org + +Alias: $BOUNDARY = http://hl7.org/fhir/StructureDefinition/location-boundary-geojson + diff --git a/fshcustom/GOFRDatasourcePair.fsh b/fshcustom/input/fsh/GOFRDatasourcePair.fsh similarity index 67% rename from fshcustom/GOFRDatasourcePair.fsh rename to fshcustom/input/fsh/GOFRDatasourcePair.fsh index 08b427731..715eb1dd8 100644 --- a/fshcustom/GOFRDatasourcePair.fsh +++ b/fshcustom/input/fsh/GOFRDatasourcePair.fsh @@ -4,6 +4,25 @@ Id: gofr-datasource-pair Title: "GOFR Data source Pair" Description: "GOFR Profile of the Basic resource to manage data sources." * code = GofrResourceCodeSystem#datasourcepair +* extension contains + GofrExtDataSourcePair named datasourcepair 1..1 MS +* extension[datasourcepair].extension[partition].valueReference MS +* extension[datasourcepair].extension[partition].valueReference ^label = "partition ID" +* extension[datasourcepair].extension[name].valueString MS +* extension[datasourcepair].extension[name].valueString ^label = "Name" +* extension[datasourcepair].extension[source1].valueReference MS +* extension[datasourcepair].extension[source1].valueReference ^label = "Source1" +* extension[datasourcepair].extension[source2].valueReference MS +* extension[datasourcepair].extension[source2].valueReference ^label = "Source2" +* extension[datasourcepair].extension[status].valueString MS +* extension[datasourcepair].extension[status].valueString ^label = "Status" +* extension[datasourcepair].extension[recoStatus].valueString MS +* extension[datasourcepair].extension[recoStatus].valueString ^label = "Reconciliation Status" + + +Extension: GofrExtDataSourcePair +Id: gofr-ext-dataSource-pair +Title: "Data source pair extension" * extension contains partition 1..1 MS and name 1..1 MS and @@ -44,8 +63,8 @@ Usage: #definition * code = #pairpartition * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasourcepair').extension('http://gofr.org/fhir/StructureDefinition/partition')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasourcepair']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']" * target[0] = #Basic Instance: gofr-search-pair-source1 @@ -60,8 +79,8 @@ Usage: #definition * code = #pairsource1 * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/source1')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/source1']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasourcepair').extension('http://gofr.org/fhir/StructureDefinition/source1')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasourcepair']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/source1']" * target[0] = #Basic Instance: gofr-search-pair-source2 @@ -76,8 +95,8 @@ Usage: #definition * code = #pairsource2 * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/source2')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/source2']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasourcepair').extension('http://gofr.org/fhir/StructureDefinition/source2')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasourcepair']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/source2']" * target[0] = #Basic Instance: gofr-search-pair-status @@ -92,5 +111,5 @@ Usage: #definition * code = #pairstatus * base[0] = #Basic * type = #string -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/status')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/status']" \ No newline at end of file +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasourcepair').extension('http://gofr.org/fhir/StructureDefinition/status')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasourcepair']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/status']" \ No newline at end of file diff --git a/fshcustom/GOFRHealthcareService.fsh b/fshcustom/input/fsh/GOFRHealthcareService.fsh similarity index 100% rename from fshcustom/GOFRHealthcareService.fsh rename to fshcustom/input/fsh/GOFRHealthcareService.fsh diff --git a/fshcustom/GofrDataSource.fsh b/fshcustom/input/fsh/GofrDataSource.fsh similarity index 62% rename from fshcustom/GofrDataSource.fsh rename to fshcustom/input/fsh/GofrDataSource.fsh index 796f54d6e..08e27ee34 100644 --- a/fshcustom/GofrDataSource.fsh +++ b/fshcustom/input/fsh/GofrDataSource.fsh @@ -4,6 +4,32 @@ Id: gofr-datasource Title: "GOFR Datasources" Description: "GOFR Profile of the Basic resource to manage data sources." * code = GofrResourceCodeSystem#datasource +* extension contains + GofrExtDataSource named datasource 1..1 MS +* extension[datasource].extension[partition].valueReference MS +* extension[datasource].extension[partition].valueReference ^label = "partition ID" +* extension[datasource].extension[display].valueString MS +* extension[datasource].extension[display].valueString ^label = "Display" +* extension[datasource].extension[host].valueString MS +* extension[datasource].extension[host].valueString ^label = "Host" +* extension[datasource].extension[sourceType].valueString MS +* extension[datasource].extension[sourceType].valueString ^label = "Source Type" +* extension[datasource].extension[source].valueString MS +* extension[datasource].extension[source].valueString ^label = "Source" +* extension[datasource].extension[username].valueString MS +* extension[datasource].extension[username].valueString ^label = "Username" +* extension[datasource].extension[password].valueString MS +* extension[datasource].extension[password].valueString ^label = "Password" +* extension[datasource].extension[levelMapping].valueString MS +* extension[datasource].extension[levelMapping].valueString ^label = "Level Mapping" +* extension[datasource].extension[autoSync].valueBoolean MS +* extension[datasource].extension[autoSync].valueBoolean ^label = "Auto Sync" +* extension[datasource].extension[lastUpdated].valueDateTime MS +* extension[datasource].extension[lastUpdated].valueDateTime ^label = "Last Updated" + +Extension: GofrExtDataSource +Id: gofr-ext-dataSource +Title: "Data source extension" * extension contains partition 1..1 MS and display 1..1 MS and @@ -59,8 +85,8 @@ Usage: #definition * code = #datasourcepartition * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasource').extension('http://gofr.org/fhir/StructureDefinition/partition')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasource']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']" * target[0] = #Basic Instance: gofr-search-sourceType @@ -75,5 +101,5 @@ Usage: #definition * code = #sourceType * base[0] = #Basic * type = #string -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/sourceType')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/sourceType']" \ No newline at end of file +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasource').extension('http://gofr.org/fhir/StructureDefinition/sourceType')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasource']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/sourceType']" \ No newline at end of file diff --git a/fshcustom/GofrInstanceOrganization.fsh b/fshcustom/input/fsh/GofrInstanceOrganization.fsh similarity index 100% rename from fshcustom/GofrInstanceOrganization.fsh rename to fshcustom/input/fsh/GofrInstanceOrganization.fsh diff --git a/fshcustom/GofrLocation.fsh b/fshcustom/input/fsh/GofrLocation.fsh similarity index 100% rename from fshcustom/GofrLocation.fsh rename to fshcustom/input/fsh/GofrLocation.fsh diff --git a/fshcustom/GofrLocationQuestionnaire.fsh b/fshcustom/input/fsh/GofrLocationQuestionnaire.fsh similarity index 99% rename from fshcustom/GofrLocationQuestionnaire.fsh rename to fshcustom/input/fsh/GofrLocationQuestionnaire.fsh index 58dda48cd..4f0baec4b 100644 --- a/fshcustom/GofrLocationQuestionnaire.fsh +++ b/fshcustom/input/fsh/GofrLocationQuestionnaire.fsh @@ -69,7 +69,7 @@ Usage: #definition * item[0].item[6].required = true * item[0].item[6].repeats = false * item[0].item[6].readOnly = true -* item[0].item[6].answerOption.valueCoding = http://hl7.org/fhir/ValueSet/location-physical-type#bu +* item[0].item[6].answerOption.valueCoding = http://terminology.hl7.org/CodeSystem/location-physical-type#bu * item[0].item[6].answerOption.initialSelected = true * item[0].item[7].linkId = "Location.partOf#tree" @@ -482,7 +482,7 @@ Usage: #definition * item[0].item[5].required = true * item[0].item[5].repeats = false * item[0].item[5].readOnly = true -* item[0].item[5].answerOption.valueCoding = http://hl7.org/fhir/ValueSet/location-physical-type#bu "Building" +* item[0].item[5].answerOption.valueCoding = http://terminology.hl7.org/CodeSystem/location-physical-type#bu "Building" * item[0].item[5].answerOption.initialSelected = true * item[0].item[6].linkId = "Location.partOf#tree" diff --git a/fshcustom/GofrOrganization.fsh b/fshcustom/input/fsh/GofrOrganization.fsh similarity index 100% rename from fshcustom/GofrOrganization.fsh rename to fshcustom/input/fsh/GofrOrganization.fsh diff --git a/fshmcsd/GofrPartition.fsh b/fshcustom/input/fsh/GofrPartition.fsh similarity index 77% rename from fshmcsd/GofrPartition.fsh rename to fshcustom/input/fsh/GofrPartition.fsh index c89a8ef94..47888f265 100644 --- a/fshmcsd/GofrPartition.fsh +++ b/fshcustom/input/fsh/GofrPartition.fsh @@ -4,6 +4,30 @@ Id: gofr-partition Title: "GOFR Partition" Description: "GOFR Profile of the Basic resource to manage hapi partitions." * code = GofrResourceCodeSystem#partition +* extension contains + GofrExtPartition named partition 1..1 MS +* extension[partition].extension[partitionID].valueInteger MS +* extension[partition].extension[partitionID].valueInteger ^label = "partition ID" +* extension[partition].extension[name].valueString MS +* extension[partition].extension[name].valueString ^label = "Name" +* extension[partition].extension[organization].valueReference MS +* extension[partition].extension[organization].valueReference ^label = "Owning Organization" +* extension[partition].extension[owner] ^label = "Owner Details" +* extension[partition].extension[owner].extension[userID].valueReference.reference MS +* extension[partition].extension[owner].extension[dhis2OrgId].valueString MS +* extension[partition].extension[shared].extension[shareduser].extension[user].valueReference.reference MS +* extension[partition].extension[shared].extension[shareduser].extension[locationLimit].valueReference.reference MS +* extension[partition].extension[shared].extension[shareToSameOrgid].valueBoolean MS +* extension[partition].extension[shared].extension[shareToAll] ^label = "Share to all" +* extension[partition].extension[shared].extension[shareToAll].extension[activated].valueBoolean MS +* extension[partition].extension[shared].extension[shareToAll].extension[limitByUserLocation].valueBoolean MS +* extension[partition].extension[createdTime].valueDateTime MS +* extension[partition].extension[createdTime].valueDateTime ^label = "Created Time" + + +Extension: GofrExtPartition +Id: gofr-ext-partition +Title: "GOFR partition extension" * extension contains partitionID 1..1 MS and name 1..1 MS and @@ -130,8 +154,8 @@ Usage: #definition * code = #partitionowner * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/owner').extension('userID')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/owner']/f:extension[@url='userID']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/owner').extension('userID')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/owner']/f:extension[@url='userID']" * target[0] = #Person Instance: gofr-search-partition-dhis2orgid @@ -146,8 +170,8 @@ Usage: #definition * code = #partitiondhis2orgid * base[0] = #Basic * type = #string -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/pairowner').extension('dhis2orgid')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/pairowner']/f:extension[@url='dhis2OrgId']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/pairowner').extension('dhis2orgid')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/pairowner']/f:extension[@url='dhis2OrgId']" Instance: gofr-search-partitionid InstanceOf: SearchParameter @@ -161,8 +185,8 @@ Usage: #definition * code = #partitionid * base[0] = #Basic * type = #number -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partitionID')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partitionID']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/partitionID')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partitionID']" Instance: gofr-search-partition-shared-user InstanceOf: SearchParameter @@ -176,8 +200,8 @@ Usage: #definition * code = #partitionshareduser * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/shared').extension('http://gofr.org/fhir/StructureDefinition/shareduser').extension('user')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shareduser']/f:extension[@url='user']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/shared').extension('http://gofr.org/fhir/StructureDefinition/shareduser').extension('user')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shareduser']/f:extension[@url='user']" * target[0] = #Person Instance: gofr-search-partition-share-same-orgid @@ -192,8 +216,8 @@ Usage: #definition * code = #partitionsharesameorgid * base[0] = #Basic * type = #token -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/shared').extension('shareToSameOrgid')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='shareToSameOrgid']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/shared').extension('shareToSameOrgid')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='shareToSameOrgid']" Instance: gofr-search-partition-share-all InstanceOf: SearchParameter @@ -207,8 +231,8 @@ Usage: #definition * code = #partitionshareall * base[0] = #Basic * type = #token -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/shared').extension('http://gofr.org/fhir/StructureDefinition/shareToAll').extension('activated')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shareToAll']/f:extension[@url='activated']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/shared').extension('http://gofr.org/fhir/StructureDefinition/shareToAll').extension('activated')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shareToAll']/f:extension[@url='activated']" Instance: gofr-search-partition-shared-activated InstanceOf: SearchParameter @@ -222,6 +246,6 @@ Usage: #definition * code = #partitionsharedactiveuser * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/shared').extension('activeUsers')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='activeUsers']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/shared').extension('activeUsers')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='activeUsers']" * target[0] = #Person \ No newline at end of file diff --git a/fshcustom/GofrResourceCodeSystem.fsh b/fshcustom/input/fsh/GofrResourceCodeSystem.fsh similarity index 100% rename from fshcustom/GofrResourceCodeSystem.fsh rename to fshcustom/input/fsh/GofrResourceCodeSystem.fsh diff --git a/fshcustom/input/fsh/GofrRole.fsh b/fshcustom/input/fsh/GofrRole.fsh new file mode 100644 index 000000000..70e16a01e --- /dev/null +++ b/fshcustom/input/fsh/GofrRole.fsh @@ -0,0 +1,866 @@ +Profile: GofrRole +Parent: Basic +Id: gofr-role +Title: "GOFR Role" +Description: "GOFR Profile of the Basic resource to manage roles." +* code = GofrResourceCodeSystem#role +* extension contains + GofrExtRole named role 1..1 MS +* extension[role].extension[name].valueString MS +* extension[role].extension[task].valueReference MS +* extension[role].extension[task].valueReference ^label = "Task" + +Extension: GofrExtRole +Id: gofr-ext-role +Title: "GOFR role extension" +* extension contains + GofrBasicName named name 1..1 MS and + GofrRolePrimary named primary 1..1 and + GofrAssignRole named role 0..* and + task 0..* +* extension[name].valueString 1..1 MS +* extension[task].value[x] only Reference(Basic) +* extension[task].valueReference 1..1 MS +* extension[task].valueReference ^label = "Task" + +Profile: GofrTask +Parent: Basic +Id: gofr-task +Title: "GOFR Task" +Description: "GOFR Profile of the Basic resource to manage tasks." +* code = GofrResourceCodeSystem#task +* extension contains + GofrExtTask named task 1..1 MS +* extension[task].extension[name].valueString MS +* extension[task].extension[compositeTask].valueReference MS +* extension[task].extension[compositeTask].valueReference ^label = "Composite Task" + +Extension: GofrExtTask +Id: gofr-ext-task +Title: "GOFR task extension" +* extension contains + GofrBasicName named name 1..1 MS and + TaskAttributes named attributes 0..1 and + compositeTask 0..* +* extension[name].valueString 1..1 MS +* extension[compositeTask].value[x] only Reference(Basic) +* extension[compositeTask].valueReference 1..1 MS +* extension[compositeTask].valueReference ^label = "Composite Task" + +Invariant: gofr-task-instance-constraint +Description: "Only one of extension[instance].valueCode or extension[constraint].valueReference SHALL be present." +Expression: "extension(url = instance).exists() xor extension(url = constraint).exists()" +Severity: #error +XPath: "exists(f:extension(url = instance)) != exists(f:extension(url = constraint))" + +Extension: GofrBasicName +Id: gofr-basic-name +Title: "GOFR Basic Name" +Description: "GOFR name field for basic resources." +* ^context[0].type = #element +* ^context[0].expression = "Basic" +* value[x] only string +* valueString 1..1 MS +* valueString ^label = "Name" + +Extension: GofrRolePrimary +Id: gofr-role-primary +Title: "GOFR Role Primary" +Description: "GOFR flag for roles to indicate a primary role for assignment to users." +* ^context[1].type = #element +* ^context[1].expression = "GofrRole" +* value[x] only boolean +* valueBoolean 1..1 + +Extension: GofrAssignRole +Id: gofr-assign-role +Title: "GOFR Assign Role" +Description: "GOFR Assign Role to a user or other role." +* ^context[0].type = #element +* ^context[0].expression = "Person" +* ^context[1].type = #element +* ^context[1].expression = "GofrRole" +* value[x] only Reference +* valueReference 1..1 MS +* valueReference ^label = "Role" +* valueReference only Reference(GofrRole) +* valueReference.reference ^label = "Role" + +Extension: TaskAttributes +Id: task-attributes +Title: "Task Attributes" +Description: "Task attributes." +* ^context.type = #element +* ^context.expression = "GofrTask" +* obeys gofr-task-instance-constraint +* extension contains + permission 1..1 MS and + resource 0..1 MS and + instance 0..1 MS and + field 0..1 MS and + constraint 0..1 MS +* extension[permission].value[x] only code +* extension[permission].valueCode from GofrTaskPermissionValueSet (required) +* extension[resource].value[x] only code +* extension[resource].valueCode from GofrTaskResourceValueSet (extensible) +* extension[instance].value[x] only id +* extension[field].value[x] only string +* extension[constraint].value[x] only string + +CodeSystem: GofrTaskPermissionCodeSystem +Id: gofr-task-permission +Title: "Code system for task permissions." +* ^date = "2021-03-26T09:25:04.362Z" +* ^version = "0.3.0" +* #* "All" "Can do any task." +* #read "Read" "Can read the given resource." +* #write "Write" "Can write the given resource." +* #delete "Delete" "Can delete the given resource." +* #filter "Filter" "Search filter constraints." +* #special "Special" "Special non-resource permissions." + +ValueSet: GofrTaskPermissionValueSet +Id: gofr-task-permission +Title: "Code system for task permissions." +* ^date = "2021-03-26T09:25:04.362Z" +* ^version = "0.3.0" +* codes from system GofrTaskPermissionCodeSystem + +CodeSystem: GofrTaskResourceCodeSystem +Id: gofr-task-resource +Title: "Code system for task permissions." +* ^date = "2021-03-26T09:25:04.362Z" +* ^version = "0.3.0" +* #* "All" +* #Practitioner "Practitioner" +* #StructureDefinition "StructureDefinition" +* #ValueSet "ValueSet" +* #CodeSystem "CodeSystem" +* #Basic "Basic" +* #DocumentReference "DocumentReference" +* #Questionnaire "Questionnaire" +* #QuestionnaireResponse "QuestionnaireResponse" +* #PractitionerRole "PractitionerRole" +* #Location "Location" +* #Organization "Organization" +* #HealthcareService "HealthcareService" +* #Person "Person" +* #Custom "Custom" +* #Navigation "Navigation" + +ValueSet: GofrTaskResourceValueSet +Id: gofr-task-resource +Title: "Code system for task permissions." +* ^date = "2021-03-26T09:25:04.362Z" +* ^version = "0.3.0" +* codes from system GofrTaskResourceCodeSystem + +Instance: gofr-role-open +InstanceOf: GofrRole +Title: "GOFR Open Role" +Usage: #example +* code = GofrResourceCodeSystem#role +* extension[role].extension[name].valueString = "Open Role" +* extension[role].extension[primary].valueBoolean = true +* extension[role].extension[task][0].valueReference = Reference(Basic/gofr-task-read-structure-definition) +* extension[role].extension[task][1].valueReference = Reference(Basic/gofr-task-read-code-system) +* extension[role].extension[task][2].valueReference = Reference(Basic/gofr-task-read-value-set) +* extension[role].extension[task][3].valueReference = Reference(Basic/gofr-task-read-document-reference) + +Instance: gofr-role-admin +InstanceOf: GofrRole +Title: "GOFR Admin Role" +Usage: #example +* code = GofrResourceCodeSystem#role +* extension[role].extension[name].valueString = "Admin" +* extension[role].extension[primary].valueBoolean = true +* extension[role].extension[task][0].valueReference = Reference(Basic/gofr-task-all-permissions-to-everything) +* extension[role].extension[role][0].valueReference = Reference(Basic/gofr-role-open) + +Instance: gofr-task-all-permissions-to-everything +InstanceOf: GofrTask +Title: "GOFR Task With All Permissions To Everything" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "all-permissions-to-everything" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#* +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#* + +Instance: gofr-task-read-structure-definition +InstanceOf: GofrTask +Title: "GOFR Task To Read StructureDefinition Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-structure-definition" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#StructureDefinition + +Instance: gofr-task-read-code-system +InstanceOf: GofrTask +Title: "GOFR Task To Read CodeSystem resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-code-system" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#CodeSystem + +Instance: gofr-task-read-value-set +InstanceOf: GofrTask +Title: "GOFR Task To Read Valueset Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-value-set" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#ValueSet + +Instance: gofr-task-read-document-reference +InstanceOf: GofrTask +Title: "GOFR Task To Read DocumentReference" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-document-reference" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#DocumentReference +* extension[task].extension[attributes][0].extension[constraint].valueString = "category.exists(coding.exists(code = 'open'))" + +Instance: gofr-task-read-location-resource +InstanceOf: GofrTask +Title: "GOFR Task To Read Location Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-location-resource" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Location + +Instance: gofr-task-read-healthcareservice-resource +InstanceOf: GofrTask +Title: "GOFR Task To Read HealthcareService Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-healthcareservice-resource" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#HealthcareService + +Instance: gofr-task-read-organization-resource +InstanceOf: GofrTask +Title: "GOFR Task To Read Organization Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-organization-resource" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Organization + +Instance: gofr-task-read-gofr-page-service +InstanceOf: GofrTask +Title: "GOFR Task To Read Service Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-service" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-service" + +Instance: gofr-task-read-gofr-page-organization +InstanceOf: GofrTask +Title: "GOFR Task To Read Organization Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-organization" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-mcsd-organization" + +Instance: gofr-task-read-gofr-page-jurisdiction +InstanceOf: GofrTask +Title: "GOFR Task To Read Jurisdiction Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-jurisdiction" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-jurisdiction" + +Instance: gofr-task-read-gofr-page-facility +InstanceOf: GofrTask +Title: "GOFR Task To Read Facility Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-facility" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-facility" + +Instance: gofr-task-read-gofr-page-facility-add-request +InstanceOf: GofrTask +Title: "GOFR Task To Read Facility Add Request Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-facility-add-request" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-facility-add-request" + +Instance: gofr-task-read-gofr-page-facility-update-request +InstanceOf: GofrTask +Title: "GOFR Task To Read Facility Update Request Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-facility-update-request" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-facility-update-request" + +Instance: gofr-task-read-gofr-page-search +InstanceOf: GofrTask +Title: "GOFR Task To Read Search Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-search" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-search" + +Instance: gofr-task-read-questionnaire-resource +InstanceOf: GofrTask +Title: "GOFR Task To Read Questionnaire Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-questionnaire-resource" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Questionnaire + +Instance: gofr-task-write-questionnaireresponse-resource +InstanceOf: GofrTask +Title: "GOFR Task To Write QuestionnaireResponse Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "write-questionnaireresponse-resource" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#write +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#QuestionnaireResponse + +Instance: gofr-task-view-search-organization-page +InstanceOf: GofrTask +Title: "GOFR Task To View Search Organization Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-search-organization-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-search-organization-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) + +Instance: gofr-task-view-search-service-page +InstanceOf: GofrTask +Title: "GOFR Task To View Search Service Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-search-service-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-search-service-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) + +Instance: gofr-task-view-search-jurisdiction-page +InstanceOf: GofrTask +Title: "GOFR Task To View Search Jurisdiction Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-search-jurisdiction-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-search-jurisdiction-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) + +Instance: gofr-task-view-search-facility-page +InstanceOf: GofrTask +Title: "GOFR Task To View Search Facility Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-search-facility-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-search-facility-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) + +Instance: gofr-task-view-config-page +InstanceOf: GofrTask +Title: "GOFR Task To View Configure Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-config-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-config-page" + +Instance: gofr-task-view-home-page +InstanceOf: GofrTask +Title: "GOFR Task To View Home Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-home-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-home-page" + +Instance: gofr-task-view-add-organization-page +InstanceOf: GofrTask +Title: "GOFR Task To View Add Organization Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-add-organization-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-add-organization-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-organization) + +Instance: gofr-task-view-add-facility-page +InstanceOf: GofrTask +Title: "GOFR Task To View Add Facility Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-add-facility-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-add-facility-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-facility) + +Instance: gofr-task-view-add-jurisdiction-page +InstanceOf: GofrTask +Title: "GOFR Task To View Add Jurisdiction Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-add-jurisdiction-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-add-jurisdiction-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-jurisdiction) + +Instance: gofr-task-view-add-healthcare-service-page +InstanceOf: GofrTask +Title: "GOFR Task To View Add Healthcare Service Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-add-healthcare-service-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-add-healthcare-service-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-service) + +Instance: gofr-task-process-add-facility-request +InstanceOf: GofrTask +Title: "GOFR Task To Approve/Reject Add Facilities Requests" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "process-add-facility-request" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "process-add-facility-request" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) + +Instance: gofr-task-process-update-facility-request +InstanceOf: GofrTask +Title: "GOFR Task To Approve/Reject Update Facilities Requests" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "process-update-facility-request" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "process-update-facility-request" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) + +Instance: gofr-task-search-records +InstanceOf: GofrTask +Title: "GOFR Task Search Records" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "search-records" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#navigation +* extension[task].extension[attributes][0].extension[instance].valueId = "search-records" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-search) + +Instance: gofr-task-make-facilityregistry-requests +InstanceOf: GofrTask +Title: "GOFR Task To View Parent Menu For Requesting Changes/Add Of Facilities" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "make-facilityregistry-requests" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "make-facilityregistry-requests" + +Instance: gofr-task-view-request-add-facility-page +InstanceOf: GofrTask +Title: "GOFR Task To View Page For Requesting Adding New Facilities" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-request-add-facility-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-request-add-facility-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-make-facilityregistry-requests) + +Instance: gofr-task-view-request-update-facility-page +InstanceOf: GofrTask +Title: "GOFR Task To View Page For Requesting Update Facility Details" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-request-update-facility-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-request-update-facility-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-make-facilityregistry-requests) + +Instance: gofr-task-view-update-facility-requests +InstanceOf: GofrTask +Title: "GOFR Task To View Requests For Facilities Update" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-update-facility-requests" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-update-facility-requests" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-facility-update-request) + +Instance: gofr-task-view-add-facility-requests +InstanceOf: GofrTask +Title: "GOFR Task To View Requests For Facilities Addition" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-add-facility-requests" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-add-facility-requests" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-facility-add-request) + +Instance: gofr-task-manage-account +InstanceOf: GofrTask +Title: "GOFR Task To Manage Account" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "manage-account" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "manage-account" + +Instance: gofr-task-add-user +InstanceOf: GofrTask +Title: "GOFR Task To Add Users" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "add-user" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "add-user" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-account) + +Instance: gofr-task-view-user +InstanceOf: GofrTask +Title: "GOFR Task To View Users" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-user" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-user" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-account) + +Instance: gofr-task-change-password +InstanceOf: GofrTask +Title: "GOFR Task To Change Password" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "change-password" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "change-password" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-account) + +Instance: gofr-task-change-admin-config +InstanceOf: GofrTask +Title: "GOFR Task To Change Admin Config" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "change-admin-config" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "change-admin-config" + +Instance: gofr-task-access-facility-reconciliation-mod +InstanceOf: GofrTask +Title: "GOFR Task To Access Facility Reconciliation Module" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "access-facility-reconciliation-mod" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "access-facility-reconciliation-mod" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-home-page) + +Instance: gofr-task-access-facility-registry-mod +InstanceOf: GofrTask +Title: "GOFR Task To Access Facility Registry Module" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "access-facility-registry-mod" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "access-facility-registry-mod" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-home-page) + +Instance: gofr-task-manage-data-source +InstanceOf: GofrTask +Title: "GOFR Task To Manage Data Source" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "manage-data-source" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "manage-data-source" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-reconciliation-mod) + +Instance: gofr-task-manage-reconciliations +InstanceOf: GofrTask +Title: "GOFR Task To Manage Reconciliations" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "manage-reconciliations" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "manage-reconciliations" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-reconciliation-mod) + +Instance: gofr-task-add-data-source +InstanceOf: GofrTask +Title: "GOFR Task To Add Data Source" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "add-data-source" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "add-data-source" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-data-source) + +Instance: gofr-task-view-data-source +InstanceOf: GofrTask +Title: "GOFR Task To View Data Source" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-data-source" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-data-source" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-data-source) + +Instance: gofr-task-share-data-source +InstanceOf: GofrTask +Title: "GOFR Task To Share Data Source" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "share-data-source" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "share-data-source" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-data-source) + +Instance: gofr-task-create-source-pair +InstanceOf: GofrTask +Title: "GOFR Task To Create Data Source Pairs" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "create-source-pair" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "create-source-pair" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) + +Instance: gofr-task-share-source-pair +InstanceOf: GofrTask +Title: "GOFR Task To Share Data Source Pairs" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "share-source-pair" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "share-source-pair" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) + +Instance: gofr-task-activate-source-pair +InstanceOf: GofrTask +Title: "GOFR Task To Activate Data Source Pair" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "activate-source-pair" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "activate-source-pair" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) + +Instance: gofr-task-deactivate-source-pair +InstanceOf: GofrTask +Title: "GOFR Task To Deactivate Data Source Pair" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "deactivate-source-pair" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "deactivate-source-pair" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) + +Instance: gofr-task-view-source-pair +InstanceOf: GofrTask +Title: "GOFR Task To View Data Source Pair" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-source-pair" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-source-pair" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-reconciliations) + +Instance: gofr-task-delete-data-source +InstanceOf: GofrTask +Title: "GOFR Task To Delete Data Source" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "delete-data-source" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "delete-data-source" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-data-source) + +Instance: gofr-task-delete-source-pair +InstanceOf: GofrTask +Title: "GOFR Task To Delete Data Source Pair" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "delete-source-pair" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "delete-source-pair" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) + +Instance: gofr-task-view-matching-status +InstanceOf: GofrTask +Title: "GOFR Task To View Matching Status" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-matching-status" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-matching-status" + +Instance: gofr-task-data-source-reconciliation +InstanceOf: GofrTask +Title: "GOFR Task To Perform Data Source Reconciliation" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "data-source-reconciliation" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "data-source-reconciliation" + +Instance: gofr-task-match-location +InstanceOf: GofrTask +Title: "GOFR Task To Match Location" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "match-location" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "match-location" + +Instance: gofr-task-accept-flagged-location +InstanceOf: GofrTask +Title: "GOFR Task To Accept Flagged Location" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "accept-flagged-location" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "accept-flagged-location" + +Instance: gofr-task-break-matched-location +InstanceOf: GofrTask +Title: "GOFR Task To Break Matched Location" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "break-matched-location" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "break-matched-location" + +Instance: gofr-task-open-matching +InstanceOf: GofrTask +Title: "GOFR Task To Open Matching Process" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "open-matching" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "open-matching" + +Instance: gofr-task-close-matching +InstanceOf: GofrTask +Title: "GOFR Task To Close Matching Process" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "close-matching" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "close-matching" + +Instance: gofr-role-data-manager +InstanceOf: GofrRole +Title: "GOFR Data Manager Role" +Usage: #example +* code = GofrResourceCodeSystem#role +* extension[role].extension[name].valueString = "Data Manager" +* extension[role].extension[primary].valueBoolean = false +* extension[role].extension[task][0].valueReference = Reference(Basic/gofr-task-view-search-organization-page) +* extension[role].extension[task][1].valueReference = Reference(Basic/gofr-task-break-matched-location) +* extension[role].extension[task][2].valueReference = Reference(Basic/gofr-task-accept-flagged-location) +* extension[role].extension[task][3].valueReference = Reference(Basic/gofr-task-match-location) +* extension[role].extension[task][4].valueReference = Reference(Basic/gofr-task-data-source-reconciliation) +* extension[role].extension[task][5].valueReference = Reference(Basic/gofr-task-view-matching-status) +* extension[role].extension[task][6].valueReference = Reference(Basic/gofr-task-delete-source-pair) +* extension[role].extension[task][7].valueReference = Reference(Basic/gofr-task-delete-data-source) +* extension[role].extension[task][8].valueReference = Reference(Basic/gofr-task-view-source-pair) +* extension[role].extension[task][9].valueReference = Reference(Basic/gofr-task-deactivate-source-pair) +* extension[role].extension[task][10].valueReference = Reference(Basic/gofr-task-activate-source-pair) +* extension[role].extension[task][11].valueReference = Reference(Basic/gofr-task-share-source-pair) +* extension[role].extension[task][12].valueReference = Reference(Basic/gofr-task-create-source-pair) +* extension[role].extension[task][13].valueReference = Reference(Basic/gofr-task-share-data-source) +* extension[role].extension[task][14].valueReference = Reference(Basic/gofr-task-view-data-source) +* extension[role].extension[task][15].valueReference = Reference(Basic/gofr-task-add-data-source) +* extension[role].extension[task][16].valueReference = Reference(Basic/gofr-task-view-add-facility-requests) +* extension[role].extension[task][17].valueReference = Reference(Basic/gofr-task-view-update-facility-requests) +* extension[role].extension[task][18].valueReference = Reference(Basic/gofr-task-process-update-facility-request) +* extension[role].extension[task][19].valueReference = Reference(Basic/gofr-task-process-add-facility-request) +* extension[role].extension[task][20].valueReference = Reference(Basic/gofr-task-view-add-healthcare-service-page) +* extension[role].extension[task][21].valueReference = Reference(Basic/gofr-task-view-add-jurisdiction-page) +* extension[role].extension[task][22].valueReference = Reference(Basic/gofr-task-view-add-facility-page) +* extension[role].extension[task][23].valueReference = Reference(Basic/gofr-task-view-add-organization-page) +* extension[role].extension[task][24].valueReference = Reference(Basic/gofr-task-view-config-page) +* extension[role].extension[task][25].valueReference = Reference(Basic/gofr-task-view-search-facility-page) +* extension[role].extension[task][26].valueReference = Reference(Basic/gofr-task-view-search-jurisdiction-page) +* extension[role].extension[task][27].valueReference = Reference(Basic/gofr-task-view-search-service-page) +* extension[role].extension[task][28].valueReference = Reference(Basic/gofr-task-view-search-organization-page) +* extension[role].extension[task][29].valueReference = Reference(Basic/gofr-task-write-questionnaireresponse-resource) +* extension[role].extension[task][30].valueReference = Reference(Basic/gofr-task-read-questionnaire-resource) +* extension[role].extension[task][31].valueReference = Reference(Basic/gofr-task-read-location-resource) +* extension[role].extension[task][32].valueReference = Reference(Basic/gofr-task-read-organization-resource) +* extension[role].extension[task][33].valueReference = Reference(Basic/gofr-task-read-healthcareservice-resource) +* extension[role].extension[task][34].valueReference = Reference(Basic/gofr-task-read-document-reference) +* extension[role].extension[task][35].valueReference = Reference(Basic/gofr-task-read-value-set) +* extension[role].extension[task][36].valueReference = Reference(Basic/gofr-task-read-code-system) +* extension[role].extension[task][37].valueReference = Reference(Basic/gofr-task-read-structure-definition) +* extension[role].extension[task][38].valueReference = Reference(Basic/gofr-task-close-matching) +* extension[role].extension[task][39].valueReference = Reference(Basic/gofr-task-open-matching) \ No newline at end of file diff --git a/fshmcsd/GofrUser.fsh b/fshcustom/input/fsh/GofrUser.fsh similarity index 81% rename from fshmcsd/GofrUser.fsh rename to fshcustom/input/fsh/GofrUser.fsh index 71d0c619d..e09d67a67 100644 --- a/fshmcsd/GofrUser.fsh +++ b/fshcustom/input/fsh/GofrUser.fsh @@ -22,7 +22,7 @@ Description: "GOFR profile of the Person resource to manage user access." * active 1..1 MS * active ^label = "Active" * extension contains - organization 1..1 MS and + GofrOwningOrganization named organization 1..1 MS and GofrPassword named password 1..1 MS and GofrAssignRole named role 1..1 MS * extension[password] MS @@ -30,10 +30,21 @@ Description: "GOFR profile of the Person resource to manage user access." * extension[role].value[x] only Reference * extension[role].valueReference 1..1 MS * extension[role].valueReference ^label = "Role" -* extension[organization].value[x] only Reference(Basic) -* extension[organization].valueReference 1..1 MS +* extension[organization].valueReference MS * extension[organization].valueReference ^label = "Owning Organization" +Extension: GofrOwningOrganization +Id: gofr-owning-organization +Title: "GOFR Owning Organization" +Description: "GOFR Owning Organization" +* ^context[0].type = #element +* ^context[0].expression = "GofrPersonUser" +* value[x] only Reference +* valueReference 1..1 MS +* valueReference ^label = "Owning Organization" +* valueReference only Reference(Basic) +* valueReference.reference ^label = "Owning Organization" + Extension: GofrPassword Id: gofr-password Title: "GOFR Password" diff --git a/fshcustom/IhrisPage.fsh b/fshcustom/input/fsh/IhrisPage.fsh similarity index 100% rename from fshcustom/IhrisPage.fsh rename to fshcustom/input/fsh/IhrisPage.fsh diff --git a/fshcustom/IhrisQuestionnaire.fsh b/fshcustom/input/fsh/IhrisQuestionnaire.fsh similarity index 100% rename from fshcustom/IhrisQuestionnaire.fsh rename to fshcustom/input/fsh/IhrisQuestionnaire.fsh diff --git a/fshcustom/IhrisResourceCodeSystem.fsh b/fshcustom/input/fsh/IhrisResourceCodeSystem.fsh similarity index 100% rename from fshcustom/IhrisResourceCodeSystem.fsh rename to fshcustom/input/fsh/IhrisResourceCodeSystem.fsh diff --git a/fshcustom/facility.fsh b/fshcustom/input/fsh/facility.fsh similarity index 100% rename from fshcustom/facility.fsh rename to fshcustom/input/fsh/facility.fsh diff --git a/fshcustom/jurisdiction.fsh b/fshcustom/input/fsh/jurisdiction.fsh similarity index 100% rename from fshcustom/jurisdiction.fsh rename to fshcustom/input/fsh/jurisdiction.fsh diff --git a/fshcustom/location.fsh b/fshcustom/input/fsh/location.fsh similarity index 100% rename from fshcustom/location.fsh rename to fshcustom/input/fsh/location.fsh diff --git a/fshcustom/organization.fsh b/fshcustom/input/fsh/organization.fsh similarity index 100% rename from fshcustom/organization.fsh rename to fshcustom/input/fsh/organization.fsh diff --git a/fshcustom/config.yaml b/fshcustom/sushi-config.yaml similarity index 98% rename from fshcustom/config.yaml rename to fshcustom/sushi-config.yaml index 68d94ae21..34bcf3cb4 100644 --- a/fshcustom/config.yaml +++ b/fshcustom/sushi-config.yaml @@ -39,7 +39,7 @@ menu: Table of Contents: toc.html Artifact Index: artifacts.html Support: - FHIR Spec: new-tab external http://hl7.org/fhir/R4/index.html + FHIR Spec: new-tab http://hl7.org/fhir/R4/index.html # ╭────────────────────────────────────────────index.md────────────────────────────────────────────╮ # │ To use a provided ig-data/input/[pagecontent | pages]/index.[md | xml], delete the │ diff --git a/fshmcsd/GofrRole.fsh b/fshmcsd/GofrRole.fsh deleted file mode 100644 index 822723d0f..000000000 --- a/fshmcsd/GofrRole.fsh +++ /dev/null @@ -1,849 +0,0 @@ -Profile: GofrRole -Parent: Basic -Id: gofr-role -Title: "GOFR Role" -Description: "GOFR Profile of the Basic resource to manage roles." -* code = GofrResourceCodeSystem#role -* extension contains - GofrBasicName named name 1..1 MS and - GofrRolePrimary named primary 1..1 and - GofrAssignRole named role 0..* and - task 0..* -* extension[name].valueString 1..1 MS -* extension[task].value[x] only Reference(Basic) -* extension[task].valueReference 1..1 MS -* extension[task].valueReference ^label = "Task" - -Profile: GofrTask -Parent: Basic -Id: gofr-task -Title: "GOFR Task" -Description: "GOFR Profile of the Basic resource to manage tasks." -* code = GofrResourceCodeSystem#task -* extension contains - GofrBasicName named name 1..1 MS and - TaskAttributes named attributes 0..1 and - compositeTask 0..* -* extension[name].valueString 1..1 MS -* extension[compositeTask].value[x] only Reference(Basic) -* extension[compositeTask].valueReference 1..1 MS -* extension[compositeTask].valueReference ^label = "Composite Task" - -Invariant: gofr-task-instance-constraint -Description: "Only one of extension[instance].valueCode or extension[constraint].valueReference SHALL be present." -Expression: "extension(url = instance).exists() xor extension(url = constraint).exists()" -Severity: #error -XPath: "exists(f:extension(url = instance)) != exists(f:extension(url = constraint))" - -Extension: GofrBasicName -Id: gofr-basic-name -Title: "GOFR Basic Name" -Description: "GOFR name field for basic resources." -* ^context[0].type = #element -* ^context[0].expression = "Basic" -* value[x] only string -* valueString 1..1 MS -* valueString ^label = "Name" - -Extension: GofrRolePrimary -Id: gofr-role-primary -Title: "GOFR Role Primary" -Description: "GOFR flag for roles to indicate a primary role for assignment to users." -* ^context[1].type = #element -* ^context[1].expression = "GofrRole" -* value[x] only boolean -* valueBoolean 1..1 - -Extension: GofrAssignRole -Id: gofr-assign-role -Title: "GOFR Assign Role" -Description: "GOFR Assign Role to a user or other role." -* ^context[0].type = #element -* ^context[0].expression = "Person" -* ^context[1].type = #element -* ^context[1].expression = "GofrRole" -* value[x] only Reference -* valueReference 1..1 MS -* valueReference ^label = "Role" -* valueReference only Reference(GofrRole) -* valueReference.reference ^label = "Role" - -Extension: TaskAttributes -Id: task-attributes -Title: "Task Attributes" -Description: "Task attributes." -* ^context.type = #element -* ^context.expression = "GofrTask" -* obeys gofr-task-instance-constraint -* extension contains - permission 1..1 MS and - resource 0..1 MS and - instance 0..1 MS and - field 0..1 MS and - constraint 0..1 MS -* extension[permission].value[x] only code -* extension[permission].valueCode from GofrTaskPermissionValueSet (required) -* extension[resource].value[x] only code -* extension[resource].valueCode from GofrTaskResourceValueSet (extensible) -* extension[instance].value[x] only id -* extension[field].value[x] only string -* extension[constraint].value[x] only string - -CodeSystem: GofrTaskPermissionCodeSystem -Id: gofr-task-permission -Title: "Code system for task permissions." -* ^date = "2021-03-26T09:25:04.362Z" -* ^version = "0.3.0" -* #* "All" "Can do any task." -* #read "Read" "Can read the given resource." -* #write "Write" "Can write the given resource." -* #delete "Delete" "Can delete the given resource." -* #filter "Filter" "Search filter constraints." -* #special "Special" "Special non-resource permissions." - -ValueSet: GofrTaskPermissionValueSet -Id: gofr-task-permission -Title: "Code system for task permissions." -* ^date = "2021-03-26T09:25:04.362Z" -* ^version = "0.3.0" -* codes from system GofrTaskPermissionCodeSystem - -CodeSystem: GofrTaskResourceCodeSystem -Id: gofr-task-resource -Title: "Code system for task permissions." -* ^date = "2021-03-26T09:25:04.362Z" -* ^version = "0.3.0" -* #* "All" -* #Practitioner "Practitioner" -* #StructureDefinition "StructureDefinition" -* #ValueSet "ValueSet" -* #CodeSystem "CodeSystem" -* #Basic "Basic" -* #DocumentReference "DocumentReference" -* #Questionnaire "Questionnaire" -* #QuestionnaireResponse "QuestionnaireResponse" -* #PractitionerRole "PractitionerRole" -* #Location "Location" -* #Organization "Organization" -* #HealthcareService "HealthcareService" -* #Person "Person" -* #Custom "Custom" -* #Navigation "Navigation" - -ValueSet: GofrTaskResourceValueSet -Id: gofr-task-resource -Title: "Code system for task permissions." -* ^date = "2021-03-26T09:25:04.362Z" -* ^version = "0.3.0" -* codes from system GofrTaskResourceCodeSystem - -Instance: gofr-role-open -InstanceOf: GofrRole -Title: "GOFR Open Role" -Usage: #example -* code = GofrResourceCodeSystem#role -* extension[name].valueString = "Open Role" -* extension[primary].valueBoolean = true -* extension[task][0].valueReference = Reference(Basic/gofr-task-read-structure-definition) -* extension[task][1].valueReference = Reference(Basic/gofr-task-read-code-system) -* extension[task][2].valueReference = Reference(Basic/gofr-task-read-value-set) -* extension[task][3].valueReference = Reference(Basic/gofr-task-read-document-reference) - -Instance: gofr-role-admin -InstanceOf: GofrRole -Title: "GOFR Admin Role" -Usage: #example -* code = GofrResourceCodeSystem#role -* extension[name].valueString = "Admin" -* extension[primary].valueBoolean = true -* extension[task][0].valueReference = Reference(Basic/gofr-task-all-permissions-to-everything) -* extension[role][0].valueReference = Reference(Basic/gofr-role-open) - -Instance: gofr-task-all-permissions-to-everything -InstanceOf: GofrTask -Title: "GOFR Task With All Permissions To Everything" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "all-permissions-to-everything" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#* -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#* - -Instance: gofr-task-read-structure-definition -InstanceOf: GofrTask -Title: "GOFR Task To Read StructureDefinition Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-structure-definition" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#StructureDefinition - -Instance: gofr-task-read-code-system -InstanceOf: GofrTask -Title: "GOFR Task To Read CodeSystem resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-code-system" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#CodeSystem - -Instance: gofr-task-read-value-set -InstanceOf: GofrTask -Title: "GOFR Task To Read Valueset Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-value-set" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#ValueSet - -Instance: gofr-task-read-document-reference -InstanceOf: GofrTask -Title: "GOFR Task To Read DocumentReference" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-document-reference" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#DocumentReference -* extension[attributes][0].extension[constraint].valueString = "category.exists(coding.exists(code = 'open'))" - -Instance: gofr-task-read-location-resource -InstanceOf: GofrTask -Title: "GOFR Task To Read Location Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-location-resource" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Location - -Instance: gofr-task-read-healthcareservice-resource -InstanceOf: GofrTask -Title: "GOFR Task To Read HealthcareService Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-healthcareservice-resource" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#HealthcareService - -Instance: gofr-task-read-organization-resource -InstanceOf: GofrTask -Title: "GOFR Task To Read Organization Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-organization-resource" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Organization - -Instance: gofr-task-read-gofr-page-service -InstanceOf: GofrTask -Title: "GOFR Task To Read Service Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-service" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-service" - -Instance: gofr-task-read-gofr-page-organization -InstanceOf: GofrTask -Title: "GOFR Task To Read Organization Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-organization" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-mcsd-organization" - -Instance: gofr-task-read-gofr-page-jurisdiction -InstanceOf: GofrTask -Title: "GOFR Task To Read Jurisdiction Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-jurisdiction" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-jurisdiction" - -Instance: gofr-task-read-gofr-page-facility -InstanceOf: GofrTask -Title: "GOFR Task To Read Facility Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-facility" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-facility" - -Instance: gofr-task-read-gofr-page-facility-add-request -InstanceOf: GofrTask -Title: "GOFR Task To Read Facility Add Request Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-facility-add-request" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-facility-add-request" - -Instance: gofr-task-read-gofr-page-facility-update-request -InstanceOf: GofrTask -Title: "GOFR Task To Read Facility Update Request Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-facility-update-request" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-facility-update-request" - -Instance: gofr-task-read-gofr-page-search -InstanceOf: GofrTask -Title: "GOFR Task To Read Search Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-gofr-page-search" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic -* extension[attributes][0].extension[instance].valueId = "gofr-page-search" - -Instance: gofr-task-read-questionnaire-resource -InstanceOf: GofrTask -Title: "GOFR Task To Read Questionnaire Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "read-questionnaire-resource" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Questionnaire - -Instance: gofr-task-write-questionnaireresponse-resource -InstanceOf: GofrTask -Title: "GOFR Task To Write QuestionnaireResponse Resource" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "write-questionnaireresponse-resource" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#write -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#QuestionnaireResponse - -Instance: gofr-task-view-search-organization-page -InstanceOf: GofrTask -Title: "GOFR Task To View Search Organization Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-search-organization-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-search-organization-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) - -Instance: gofr-task-view-search-service-page -InstanceOf: GofrTask -Title: "GOFR Task To View Search Service Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-search-service-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-search-service-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) - -Instance: gofr-task-view-search-jurisdiction-page -InstanceOf: GofrTask -Title: "GOFR Task To View Search Jurisdiction Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-search-jurisdiction-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-search-jurisdiction-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) - -Instance: gofr-task-view-search-facility-page -InstanceOf: GofrTask -Title: "GOFR Task To View Search Facility Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-search-facility-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-search-facility-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) - -Instance: gofr-task-view-config-page -InstanceOf: GofrTask -Title: "GOFR Task To View Configure Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-config-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-config-page" - -Instance: gofr-task-view-home-page -InstanceOf: GofrTask -Title: "GOFR Task To View Home Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-home-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-home-page" - -Instance: gofr-task-view-add-organization-page -InstanceOf: GofrTask -Title: "GOFR Task To View Add Organization Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-add-organization-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-add-organization-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-organization) - -Instance: gofr-task-view-add-facility-page -InstanceOf: GofrTask -Title: "GOFR Task To View Add Facility Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-add-facility-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-add-facility-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-facility) - -Instance: gofr-task-view-add-jurisdiction-page -InstanceOf: GofrTask -Title: "GOFR Task To View Add Jurisdiction Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-add-jurisdiction-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-add-jurisdiction-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-jurisdiction) - -Instance: gofr-task-view-add-healthcare-service-page -InstanceOf: GofrTask -Title: "GOFR Task To View Add Healthcare Service Page" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-add-healthcare-service-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-add-healthcare-service-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-service) - -Instance: gofr-task-process-add-facility-request -InstanceOf: GofrTask -Title: "GOFR Task To Approve/Reject Add Facilities Requests" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "process-add-facility-request" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "process-add-facility-request" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) - -Instance: gofr-task-process-update-facility-request -InstanceOf: GofrTask -Title: "GOFR Task To Approve/Reject Update Facilities Requests" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "process-update-facility-request" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "process-update-facility-request" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) - -Instance: gofr-task-search-records -InstanceOf: GofrTask -Title: "GOFR Task Search Records" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "search-records" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#navigation -* extension[attributes][0].extension[instance].valueId = "search-records" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-search) - -Instance: gofr-task-make-facilityregistry-requests -InstanceOf: GofrTask -Title: "GOFR Task To View Parent Menu For Requesting Changes/Add Of Facilities" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "make-facilityregistry-requests" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "make-facilityregistry-requests" - -Instance: gofr-task-view-request-add-facility-page -InstanceOf: GofrTask -Title: "GOFR Task To View Page For Requesting Adding New Facilities" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-request-add-facility-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-request-add-facility-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-make-facilityregistry-requests) - -Instance: gofr-task-view-request-update-facility-page -InstanceOf: GofrTask -Title: "GOFR Task To View Page For Requesting Update Facility Details" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-request-update-facility-page" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-request-update-facility-page" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-make-facilityregistry-requests) - -Instance: gofr-task-view-update-facility-requests -InstanceOf: GofrTask -Title: "GOFR Task To View Requests For Facilities Update" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-update-facility-requests" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-update-facility-requests" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-facility-update-request) - -Instance: gofr-task-view-add-facility-requests -InstanceOf: GofrTask -Title: "GOFR Task To View Requests For Facilities Addition" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-add-facility-requests" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-add-facility-requests" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) -* extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-facility-add-request) - -Instance: gofr-task-manage-account -InstanceOf: GofrTask -Title: "GOFR Task To Manage Account" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "manage-account" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "manage-account" - -Instance: gofr-task-add-user -InstanceOf: GofrTask -Title: "GOFR Task To Add Users" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "add-user" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "add-user" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-account) - -Instance: gofr-task-view-user -InstanceOf: GofrTask -Title: "GOFR Task To View Users" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-user" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-user" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-account) - -Instance: gofr-task-change-password -InstanceOf: GofrTask -Title: "GOFR Task To Change Password" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "change-password" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "change-password" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-account) - -Instance: gofr-task-change-admin-config -InstanceOf: GofrTask -Title: "GOFR Task To Change Admin Config" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "change-admin-config" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "change-admin-config" - -Instance: gofr-task-access-facility-reconciliation-mod -InstanceOf: GofrTask -Title: "GOFR Task To Access Facility Reconciliation Module" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "access-facility-reconciliation-mod" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "access-facility-reconciliation-mod" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-home-page) - -Instance: gofr-task-access-facility-registry-mod -InstanceOf: GofrTask -Title: "GOFR Task To Access Facility Registry Module" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "access-facility-registry-mod" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "access-facility-registry-mod" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-home-page) - -Instance: gofr-task-manage-data-source -InstanceOf: GofrTask -Title: "GOFR Task To Manage Data Source" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "manage-data-source" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "manage-data-source" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-reconciliation-mod) - -Instance: gofr-task-manage-reconciliations -InstanceOf: GofrTask -Title: "GOFR Task To Manage Reconciliations" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "manage-reconciliations" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "manage-reconciliations" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-reconciliation-mod) - -Instance: gofr-task-add-data-source -InstanceOf: GofrTask -Title: "GOFR Task To Add Data Source" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "add-data-source" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "add-data-source" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-data-source) - -Instance: gofr-task-view-data-source -InstanceOf: GofrTask -Title: "GOFR Task To View Data Source" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-data-source" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-data-source" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-data-source) - -Instance: gofr-task-share-data-source -InstanceOf: GofrTask -Title: "GOFR Task To Share Data Source" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "share-data-source" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "share-data-source" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-data-source) - -Instance: gofr-task-create-source-pair -InstanceOf: GofrTask -Title: "GOFR Task To Create Data Source Pairs" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "create-source-pair" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "create-source-pair" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) - -Instance: gofr-task-share-source-pair -InstanceOf: GofrTask -Title: "GOFR Task To Share Data Source Pairs" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "share-source-pair" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "share-source-pair" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) - -Instance: gofr-task-activate-source-pair -InstanceOf: GofrTask -Title: "GOFR Task To Activate Data Source Pair" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "activate-source-pair" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "activate-source-pair" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) - -Instance: gofr-task-deactivate-source-pair -InstanceOf: GofrTask -Title: "GOFR Task To Deactivate Data Source Pair" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "deactivate-source-pair" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "deactivate-source-pair" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) - -Instance: gofr-task-view-source-pair -InstanceOf: GofrTask -Title: "GOFR Task To View Data Source Pair" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-source-pair" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-source-pair" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-reconciliations) - -Instance: gofr-task-delete-data-source -InstanceOf: GofrTask -Title: "GOFR Task To Delete Data Source" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "delete-data-source" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "delete-data-source" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-data-source) - -Instance: gofr-task-delete-source-pair -InstanceOf: GofrTask -Title: "GOFR Task To Delete Data Source Pair" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "delete-source-pair" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "delete-source-pair" -* extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) - -Instance: gofr-task-view-matching-status -InstanceOf: GofrTask -Title: "GOFR Task To View Matching Status" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "view-matching-status" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "view-matching-status" - -Instance: gofr-task-data-source-reconciliation -InstanceOf: GofrTask -Title: "GOFR Task To Perform Data Source Reconciliation" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "data-source-reconciliation" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "data-source-reconciliation" - -Instance: gofr-task-match-location -InstanceOf: GofrTask -Title: "GOFR Task To Match Location" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "match-location" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "match-location" - -Instance: gofr-task-accept-flagged-location -InstanceOf: GofrTask -Title: "GOFR Task To Accept Flagged Location" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "accept-flagged-location" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "accept-flagged-location" - -Instance: gofr-task-break-matched-location -InstanceOf: GofrTask -Title: "GOFR Task To Break Matched Location" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "break-matched-location" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "break-matched-location" - -Instance: gofr-task-open-matching -InstanceOf: GofrTask -Title: "GOFR Task To Open Matching Process" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "open-matching" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "open-matching" - -Instance: gofr-task-close-matching -InstanceOf: GofrTask -Title: "GOFR Task To Close Matching Process" -Usage: #example -* code = GofrResourceCodeSystem#task -* extension[name].valueString = "close-matching" -* extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special -* extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom -* extension[attributes][0].extension[instance].valueId = "close-matching" - -Instance: gofr-role-data-manager -InstanceOf: GofrRole -Title: "GOFR Data Manager Role" -Usage: #example -* code = GofrResourceCodeSystem#role -* extension[name].valueString = "Data Manager" -* extension[primary].valueBoolean = false -* extension[task][0].valueReference = Reference(Basic/gofr-task-view-search-organization-page) -* extension[task][1].valueReference = Reference(Basic/gofr-task-break-matched-location) -* extension[task][2].valueReference = Reference(Basic/gofr-task-accept-flagged-location) -* extension[task][3].valueReference = Reference(Basic/gofr-task-match-location) -* extension[task][4].valueReference = Reference(Basic/gofr-task-data-source-reconciliation) -* extension[task][5].valueReference = Reference(Basic/gofr-task-view-matching-status) -* extension[task][6].valueReference = Reference(Basic/gofr-task-delete-source-pair) -* extension[task][7].valueReference = Reference(Basic/gofr-task-delete-data-source) -* extension[task][8].valueReference = Reference(Basic/gofr-task-view-source-pair) -* extension[task][9].valueReference = Reference(Basic/gofr-task-deactivate-source-pair) -* extension[task][10].valueReference = Reference(Basic/gofr-task-activate-source-pair) -* extension[task][11].valueReference = Reference(Basic/gofr-task-share-source-pair) -* extension[task][12].valueReference = Reference(Basic/gofr-task-create-source-pair) -* extension[task][13].valueReference = Reference(Basic/gofr-task-share-data-source) -* extension[task][14].valueReference = Reference(Basic/gofr-task-view-data-source) -* extension[task][15].valueReference = Reference(Basic/gofr-task-add-data-source) -* extension[task][16].valueReference = Reference(Basic/gofr-task-view-add-facility-requests) -* extension[task][17].valueReference = Reference(Basic/gofr-task-view-update-facility-requests) -* extension[task][18].valueReference = Reference(Basic/gofr-task-process-update-facility-request) -* extension[task][19].valueReference = Reference(Basic/gofr-task-process-add-facility-request) -* extension[task][20].valueReference = Reference(Basic/gofr-task-view-add-healthcare-service-page) -* extension[task][21].valueReference = Reference(Basic/gofr-task-view-add-jurisdiction-page) -* extension[task][22].valueReference = Reference(Basic/gofr-task-view-add-facility-page) -* extension[task][23].valueReference = Reference(Basic/gofr-task-view-add-organization-page) -* extension[task][24].valueReference = Reference(Basic/gofr-task-view-config-page) -* extension[task][24].valueReference = Reference(Basic/gofr-task-view-home-page) -* extension[task][25].valueReference = Reference(Basic/gofr-task-view-search-facility-page) -* extension[task][26].valueReference = Reference(Basic/gofr-task-view-search-jurisdiction-page) -* extension[task][27].valueReference = Reference(Basic/gofr-task-view-search-service-page) -* extension[task][28].valueReference = Reference(Basic/gofr-task-view-search-organization-page) -* extension[task][29].valueReference = Reference(Basic/gofr-task-write-questionnaireresponse-resource) -* extension[task][30].valueReference = Reference(Basic/gofr-task-read-questionnaire-resource) -* extension[task][31].valueReference = Reference(Basic/gofr-task-read-location-resource) -* extension[task][32].valueReference = Reference(Basic/gofr-task-read-organization-resource) -* extension[task][33].valueReference = Reference(Basic/gofr-task-read-healthcareservice-resource) -* extension[task][34].valueReference = Reference(Basic/gofr-task-read-document-reference) -* extension[task][35].valueReference = Reference(Basic/gofr-task-read-value-set) -* extension[task][36].valueReference = Reference(Basic/gofr-task-read-code-system) -* extension[task][37].valueReference = Reference(Basic/gofr-task-read-structure-definition) -* extension[task][38].valueReference = Reference(Basic/gofr-task-close-matching) -* extension[task][39].valueReference = Reference(Basic/gofr-task-open-matching) \ No newline at end of file diff --git a/fshmcsd/GofrTasks.fsh b/fshmcsd/GofrTasks.fsh deleted file mode 100644 index 66aa75097..000000000 --- a/fshmcsd/GofrTasks.fsh +++ /dev/null @@ -1,45 +0,0 @@ -CodeSystem: GofrTaskPermissionCodeSystem -Id: gofr-task-permission-codesystem -Title: "Code system for task permissions." -* ^date = "2021-07-27T12:11:04.362Z" -* ^version = "0.0.1" -* #* "All" "Can do any task." -* #facility_registry_can_add_facility "Can add new facility registry facility" -* #facility_registry_can_add_service "Can add new service" -* #facility_registry_can_add_jurisdiction "Can add new facility registry jurisdiction" -* #facility_registry_can_add_organization "Can add new facility registry organization" -* #facility_registry_can_add_terminologies "Can add facility registry terminologies" -* #facility_registry_can_view_facility "Can view new facility registry facility" -* #facility_registry_can_view_service "Can view new service" -* #facility_registry_can_view_jurisdiction "Can view new facility registry jurisdiction" -* #facility_registry_can_view_organization "Can view facility registry organizations" -* #facility_registry_can_view_terminologies "Can view facility registry terminologies" -* #facility_registry_can_view_update_facility_details_requests_report "Can view facility registry requests to update facility details" -* #facility_registry_can_view_new_facility_requests_report "Can view facility registry requests to create new facility" -* #facility_registry_can_edit_facility "Can edit facility registry facility" -* #facility_registry_can_edit_update_facility_details_request "Can edit facility registry request to update facility details" -* #facility_registry_can_edit_new_facility_request "Can edit facility registry request to create new facility" -* #facility_registry_can_edit_jurisdiction "Can edit facility registry jurisdiction" -* #facility_registry_can_edit_organization "Can edit facility registry organization" -* #facility_registry_can_edit_service "Can edit facility registry service" -* #facility_registry_can_edit_terminologies "Can edit facility registry terminologies" -* #facility_registry_can_delete_facility "Can delete new facility registry facility" -* #facility_registry_can_delete_service "Can delete new service" -* #facility_registry_can_delete_jurisdiction "Can delete new facility registry jurisdiction" -* #facility_registry_can_delete_organization "Can delete facility registry organization" -* #facility_registry_can_delete_terminologies "Can delete facility registry terminologies" -* #facility_registry_can_delete_new_facility_request "Can delete facility registry request to create new facility" -* #facility_registry_can_delete_update_facility_details_request "Can delete facility registry request to update facility details" -* #facility_registry_can_request_new_facility "Can request addition of new facility" -* #facility_registry_can_request_update_of_facility_details "Can request update of facility details" -* #facility_registry_can_approve_update_facility_details_requests "Can approve facility registry requests to update facility details" -* #facility_registry_can_approve_new_facility_request "Can approve facility registry requests to add new facility" -* #facility_registry_can_reject_update_facility_details_requests "Can reject facility registry requests to update facility details" -* #facility_registry_can_reject_new_facility_request "Can reject facility registry requests to add new facility" - -ValueSet: GofrTaskPermissionValueSet -Id: gofr-task-permission -Title: "Code system for task permissions." -* ^date = "2021-07-27T12:11:04.362Z" -* ^version = "0.0.1" -* codes from system GofrTaskPermissionCodeSystem \ No newline at end of file diff --git a/fshmcsd/build/input/examples/Basic-gofr-role-admin.json b/fshmcsd/build/input/examples/Basic-gofr-role-admin.json deleted file mode 100644 index d1f62fd1d..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-role-admin.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-role-admin", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-role" - ] - }, - "code": { - "coding": [ - { - "code": "role", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "Admin" - }, - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-role-primary", - "valueBoolean": true - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-all-permissions-to-everything" - } - }, - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-assign-role", - "valueReference": { - "reference": "Basic/gofr-role-open" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-role-data-manager.json b/fshmcsd/build/input/examples/Basic-gofr-role-data-manager.json deleted file mode 100644 index 1c1510a57..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-role-data-manager.json +++ /dev/null @@ -1,267 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-role-data-manager", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-role" - ] - }, - "code": { - "coding": [ - { - "code": "role", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "Data Manager" - }, - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-role-primary", - "valueBoolean": false - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-search-organization-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-break-matched-location" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-accept-flagged-location" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-match-location" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-data-source-reconciliation" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-matching-status" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-delete-source-pair" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-delete-data-source" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-source-pair" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-deactivate-source-pair" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-activate-source-pair" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-share-source-pair" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-create-source-pair" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-share-data-source" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-data-source" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-add-data-source" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-add-facility-requests" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-update-facility-requests" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-process-update-facility-request" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-process-add-facility-request" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-add-healthcare-service-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-add-jurisdiction-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-add-facility-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-add-organization-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-config-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-search-facility-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-search-jurisdiction-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-search-service-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-view-search-organization-page" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-write-questionnaireresponse-resource" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-questionnaire-resource" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-location-resource" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-organization-resource" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-healthcareservice-resource" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-document-reference" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-value-set" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-code-system" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-structure-definition" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-close-matching" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-open-matching" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-role-open.json b/fshmcsd/build/input/examples/Basic-gofr-role-open.json deleted file mode 100644 index 20b6cce0b..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-role-open.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-role-open", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-role" - ] - }, - "code": { - "coding": [ - { - "code": "role", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "Open Role" - }, - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-role-primary", - "valueBoolean": true - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-structure-definition" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-code-system" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-value-set" - } - }, - { - "url": "task", - "valueReference": { - "reference": "Basic/gofr-task-read-document-reference" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-accept-flagged-location.json b/fshmcsd/build/input/examples/Basic-gofr-task-accept-flagged-location.json deleted file mode 100644 index 2e7577dcc..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-accept-flagged-location.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-accept-flagged-location", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "accept-flagged-location" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "accept-flagged-location" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-access-facility-reconciliation-mod.json b/fshmcsd/build/input/examples/Basic-gofr-task-access-facility-reconciliation-mod.json deleted file mode 100644 index a4a447d96..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-access-facility-reconciliation-mod.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-access-facility-reconciliation-mod", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "access-facility-reconciliation-mod" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "access-facility-reconciliation-mod" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-access-facility-registry-mod.json b/fshmcsd/build/input/examples/Basic-gofr-task-access-facility-registry-mod.json deleted file mode 100644 index 6598b9045..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-access-facility-registry-mod.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-access-facility-registry-mod", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "access-facility-registry-mod" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "access-facility-registry-mod" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-activate-source-pair.json b/fshmcsd/build/input/examples/Basic-gofr-task-activate-source-pair.json deleted file mode 100644 index 0ea295789..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-activate-source-pair.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-activate-source-pair", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "activate-source-pair" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "activate-source-pair" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-source-pair" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-add-data-source.json b/fshmcsd/build/input/examples/Basic-gofr-task-add-data-source.json deleted file mode 100644 index c481dedc5..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-add-data-source.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-add-data-source", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "add-data-source" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "add-data-source" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-manage-data-source" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-add-user.json b/fshmcsd/build/input/examples/Basic-gofr-task-add-user.json deleted file mode 100644 index eec8350cd..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-add-user.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-add-user", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "add-user" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "add-user" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-manage-account" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-all-permissions-to-everything.json b/fshmcsd/build/input/examples/Basic-gofr-task-all-permissions-to-everything.json deleted file mode 100644 index b4a82e139..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-all-permissions-to-everything.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-all-permissions-to-everything", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "all-permissions-to-everything" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "*" - }, - { - "url": "resource", - "valueCode": "*" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-break-matched-location.json b/fshmcsd/build/input/examples/Basic-gofr-task-break-matched-location.json deleted file mode 100644 index eb038a72c..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-break-matched-location.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-break-matched-location", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "break-matched-location" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "break-matched-location" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-change-admin-config.json b/fshmcsd/build/input/examples/Basic-gofr-task-change-admin-config.json deleted file mode 100644 index f6b1e3e20..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-change-admin-config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-change-admin-config", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "change-admin-config" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "change-admin-config" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-change-password.json b/fshmcsd/build/input/examples/Basic-gofr-task-change-password.json deleted file mode 100644 index df06af670..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-change-password.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-change-password", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "change-password" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "change-password" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-manage-account" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-close-matching.json b/fshmcsd/build/input/examples/Basic-gofr-task-close-matching.json deleted file mode 100644 index 0d465e562..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-close-matching.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-close-matching", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "close-matching" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "close-matching" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-create-source-pair.json b/fshmcsd/build/input/examples/Basic-gofr-task-create-source-pair.json deleted file mode 100644 index d6798bff2..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-create-source-pair.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-create-source-pair", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "create-source-pair" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "create-source-pair" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-source-pair" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-data-source-reconciliation.json b/fshmcsd/build/input/examples/Basic-gofr-task-data-source-reconciliation.json deleted file mode 100644 index 20f990e82..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-data-source-reconciliation.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-data-source-reconciliation", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "data-source-reconciliation" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "data-source-reconciliation" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-deactivate-source-pair.json b/fshmcsd/build/input/examples/Basic-gofr-task-deactivate-source-pair.json deleted file mode 100644 index 7dc395cc8..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-deactivate-source-pair.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-deactivate-source-pair", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "deactivate-source-pair" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "deactivate-source-pair" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-source-pair" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-delete-data-source.json b/fshmcsd/build/input/examples/Basic-gofr-task-delete-data-source.json deleted file mode 100644 index 326766598..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-delete-data-source.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-delete-data-source", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "delete-data-source" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "delete-data-source" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-data-source" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-delete-source-pair.json b/fshmcsd/build/input/examples/Basic-gofr-task-delete-source-pair.json deleted file mode 100644 index eef2eb6a1..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-delete-source-pair.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-delete-source-pair", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "delete-source-pair" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "delete-source-pair" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-source-pair" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-make-facilityregistry-requests.json b/fshmcsd/build/input/examples/Basic-gofr-task-make-facilityregistry-requests.json deleted file mode 100644 index ad468a397..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-make-facilityregistry-requests.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-make-facilityregistry-requests", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "make-facilityregistry-requests" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "make-facilityregistry-requests" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-manage-account.json b/fshmcsd/build/input/examples/Basic-gofr-task-manage-account.json deleted file mode 100644 index 939d87992..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-manage-account.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-manage-account", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "manage-account" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "manage-account" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-manage-data-source.json b/fshmcsd/build/input/examples/Basic-gofr-task-manage-data-source.json deleted file mode 100644 index f225719f0..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-manage-data-source.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-manage-data-source", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "manage-data-source" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "manage-data-source" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-reconciliation-mod" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-manage-reconciliations.json b/fshmcsd/build/input/examples/Basic-gofr-task-manage-reconciliations.json deleted file mode 100644 index 97093c5a5..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-manage-reconciliations.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-manage-reconciliations", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "manage-reconciliations" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "manage-reconciliations" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-reconciliation-mod" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-match-location.json b/fshmcsd/build/input/examples/Basic-gofr-task-match-location.json deleted file mode 100644 index c032c63ef..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-match-location.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-match-location", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "match-location" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "match-location" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-open-matching.json b/fshmcsd/build/input/examples/Basic-gofr-task-open-matching.json deleted file mode 100644 index a550ad1bb..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-open-matching.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-open-matching", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "open-matching" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "open-matching" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-process-add-facility-request.json b/fshmcsd/build/input/examples/Basic-gofr-task-process-add-facility-request.json deleted file mode 100644 index 38cffbf09..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-process-add-facility-request.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-process-add-facility-request", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "process-add-facility-request" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "process-add-facility-request" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-process-update-facility-request.json b/fshmcsd/build/input/examples/Basic-gofr-task-process-update-facility-request.json deleted file mode 100644 index 18a0c903c..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-process-update-facility-request.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-process-update-facility-request", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "process-update-facility-request" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "process-update-facility-request" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-code-system.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-code-system.json deleted file mode 100644 index 45f232e4e..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-code-system.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-code-system", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-code-system" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "CodeSystem" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-document-reference.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-document-reference.json deleted file mode 100644 index 018275297..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-document-reference.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-document-reference", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-document-reference" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "DocumentReference" - }, - { - "url": "constraint", - "valueString": "category.exists(coding.exists(code = 'open'))" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-facility-add-request.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-facility-add-request.json deleted file mode 100644 index c94d80211..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-facility-add-request.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-facility-add-request", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-facility-add-request" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-facility-add-request" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-facility-update-request.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-facility-update-request.json deleted file mode 100644 index ac977abd6..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-facility-update-request.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-facility-update-request", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-facility-update-request" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-facility-update-request" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-facility.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-facility.json deleted file mode 100644 index b84016ed2..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-facility.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-facility", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-facility" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-facility" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-jurisdiction.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-jurisdiction.json deleted file mode 100644 index a3bde9432..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-jurisdiction.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-jurisdiction", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-jurisdiction" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-jurisdiction" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-organization.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-organization.json deleted file mode 100644 index b10e4a52a..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-organization.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-organization", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-organization" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-mcsd-organization" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-search.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-search.json deleted file mode 100644 index 6d3125e56..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-search.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-search", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-search" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-search" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-service.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-service.json deleted file mode 100644 index 8ab0d51d0..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-gofr-page-service.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-gofr-page-service", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-gofr-page-service" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Basic" - }, - { - "url": "instance", - "valueId": "gofr-page-service" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-healthcareservice-resource.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-healthcareservice-resource.json deleted file mode 100644 index a4bc8f2ce..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-healthcareservice-resource.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-healthcareservice-resource", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-healthcareservice-resource" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "HealthcareService" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-location-resource.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-location-resource.json deleted file mode 100644 index fe040e3b2..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-location-resource.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-location-resource", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-location-resource" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Location" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-organization-resource.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-organization-resource.json deleted file mode 100644 index 828278b94..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-organization-resource.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-organization-resource", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-organization-resource" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Organization" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-questionnaire-resource.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-questionnaire-resource.json deleted file mode 100644 index 95874946b..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-questionnaire-resource.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-questionnaire-resource", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-questionnaire-resource" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "Questionnaire" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-structure-definition.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-structure-definition.json deleted file mode 100644 index 202362d53..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-structure-definition.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-structure-definition", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-structure-definition" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "StructureDefinition" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-read-value-set.json b/fshmcsd/build/input/examples/Basic-gofr-task-read-value-set.json deleted file mode 100644 index 012debd7d..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-read-value-set.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-read-value-set", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "read-value-set" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "read" - }, - { - "url": "resource", - "valueCode": "ValueSet" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-search-records.json b/fshmcsd/build/input/examples/Basic-gofr-task-search-records.json deleted file mode 100644 index 519ecdd4a..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-search-records.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-search-records", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "search-records" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "navigation" - }, - { - "url": "instance", - "valueId": "search-records" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-search" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-share-data-source.json b/fshmcsd/build/input/examples/Basic-gofr-task-share-data-source.json deleted file mode 100644 index 0aaf13246..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-share-data-source.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-share-data-source", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "share-data-source" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "share-data-source" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-data-source" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-share-source-pair.json b/fshmcsd/build/input/examples/Basic-gofr-task-share-source-pair.json deleted file mode 100644 index ab74ca926..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-share-source-pair.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-share-source-pair", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "share-source-pair" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "share-source-pair" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-view-source-pair" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-add-facility-page.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-add-facility-page.json deleted file mode 100644 index d19f65b54..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-add-facility-page.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-add-facility-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-add-facility-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-add-facility-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-facility" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-add-facility-requests.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-add-facility-requests.json deleted file mode 100644 index bde403f36..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-add-facility-requests.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-add-facility-requests", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-add-facility-requests" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-add-facility-requests" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-facility-add-request" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-add-healthcare-service-page.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-add-healthcare-service-page.json deleted file mode 100644 index 869a86f56..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-add-healthcare-service-page.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-add-healthcare-service-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-add-healthcare-service-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-add-healthcare-service-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-service" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-add-jurisdiction-page.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-add-jurisdiction-page.json deleted file mode 100644 index a8a4dcc2d..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-add-jurisdiction-page.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-add-jurisdiction-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-add-jurisdiction-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-add-jurisdiction-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-jurisdiction" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-add-organization-page.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-add-organization-page.json deleted file mode 100644 index 93f47b168..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-add-organization-page.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-add-organization-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-add-organization-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-add-organization-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-access-facility-registry-mod" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-organization" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-config-page.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-config-page.json deleted file mode 100644 index a32852eb4..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-config-page.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-config-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-config-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-config-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-data-source.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-data-source.json deleted file mode 100644 index 4f58a748b..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-data-source.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-data-source", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-data-source" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-data-source" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-manage-data-source" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-matching-status.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-matching-status.json deleted file mode 100644 index 7c80f460a..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-matching-status.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-matching-status", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-matching-status" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-matching-status" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-request-add-facility-page.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-request-add-facility-page.json deleted file mode 100644 index 8688aa747..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-request-add-facility-page.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-request-add-facility-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-request-add-facility-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-request-add-facility-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-make-facilityregistry-requests" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-request-update-facility-page.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-request-update-facility-page.json deleted file mode 100644 index e2c640bd1..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-request-update-facility-page.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-request-update-facility-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-request-update-facility-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-request-update-facility-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-make-facilityregistry-requests" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-search-facility-page.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-search-facility-page.json deleted file mode 100644 index 31e54a39a..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-search-facility-page.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-search-facility-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-search-facility-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-search-facility-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-search-records" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-search-jurisdiction-page.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-search-jurisdiction-page.json deleted file mode 100644 index e1679a416..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-search-jurisdiction-page.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-search-jurisdiction-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-search-jurisdiction-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-search-jurisdiction-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-search-records" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-search-organization-page.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-search-organization-page.json deleted file mode 100644 index e3b48db35..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-search-organization-page.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-search-organization-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-search-organization-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-search-organization-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-search-records" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-search-service-page.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-search-service-page.json deleted file mode 100644 index b85398a22..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-search-service-page.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-search-service-page", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-search-service-page" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-search-service-page" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-search-records" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-source-pair.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-source-pair.json deleted file mode 100644 index 611c1318d..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-source-pair.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-source-pair", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-source-pair" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-source-pair" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-manage-reconciliations" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-update-facility-requests.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-update-facility-requests.json deleted file mode 100644 index dbfc4ee6e..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-update-facility-requests.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-update-facility-requests", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-update-facility-requests" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-update-facility-requests" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-search-records" - } - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-read-gofr-page-facility-update-request" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-view-user.json b/fshmcsd/build/input/examples/Basic-gofr-task-view-user.json deleted file mode 100644 index af160d521..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-view-user.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-view-user", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "view-user" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "special" - }, - { - "url": "resource", - "valueCode": "custom" - }, - { - "url": "instance", - "valueId": "view-user" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - }, - { - "url": "compositeTask", - "valueReference": { - "reference": "Basic/gofr-task-manage-account" - } - } - ] -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-task-write-questionnaireresponse-resource.json b/fshmcsd/build/input/examples/Basic-gofr-task-write-questionnaireresponse-resource.json deleted file mode 100644 index 9b9b17c1d..000000000 --- a/fshmcsd/build/input/examples/Basic-gofr-task-write-questionnaireresponse-resource.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Basic", - "id": "gofr-task-write-questionnaireresponse-resource", - "meta": { - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-task" - ] - }, - "code": { - "coding": [ - { - "code": "task", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "extension": [ - { - "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", - "valueString": "write-questionnaireresponse-resource" - }, - { - "extension": [ - { - "url": "permission", - "valueCode": "write" - }, - { - "url": "resource", - "valueCode": "QuestionnaireResponse" - } - ], - "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" - } - ] -} diff --git a/fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.HealthcareService.json b/fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.HealthcareService.json deleted file mode 100644 index 455ef716c..000000000 --- a/fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.HealthcareService.json +++ /dev/null @@ -1,5246 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "IHE.mCSD.HealthcareService", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", - "valueString": "Base.Entities" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", - "valueCode": "business" - } - ], - "url": "http://ihe.net/fhir/StructureDefinition/IHE.mCSD.HealthcareService", - "version": "0.1.0", - "name": "MCSDHealthcareService", - "title": "mCSD HealthcareService", - "status": "active", - "description": "A profile on the HealthcareService resource for mCSD.", - "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - } - ], - "kind": "resource", - "abstract": false, - "type": "HealthcareService", - "baseDefinition": "http://hl7.org/fhir/StructureDefinition/HealthcareService", - "derivation": "constraint", - "snapshot": { - "element": [ - { - "id": "HealthcareService", - "path": "HealthcareService", - "short": "The details of a healthcare service available at a location", - "definition": "The details of a healthcare service available at a location.", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService", - "min": 0, - "max": "*" - }, - "constraint": [ - { - "key": "dom-2", - "severity": "error", - "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", - "expression": "contained.contained.empty()", - "xpath": "not(parent::f:contained and f:contained)", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - }, - { - "key": "dom-3", - "severity": "error", - "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", - "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", - "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - }, - { - "key": "dom-4", - "severity": "error", - "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", - "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", - "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - }, - { - "key": "dom-5", - "severity": "error", - "human": "If a resource is contained in another resource, it SHALL NOT have a security label", - "expression": "contained.meta.security.empty()", - "xpath": "not(exists(f:contained/*/f:meta/f:security))", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", - "valueBoolean": true - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", - "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." - } - ], - "key": "dom-6", - "severity": "warning", - "human": "A resource should have narrative for robust management", - "expression": "text.`div`.exists()", - "xpath": "exists(f:text/h:div)", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "Entity. Role, or Act" - }, - { - "identity": "rim", - "map": "act[classCode=ACT][moodCode=DEF]" - } - ] - }, - { - "id": "HealthcareService.id", - "path": "HealthcareService.id", - "short": "Logical id of this artifact", - "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", - "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", - "min": 0, - "max": "1", - "base": { - "path": "Resource.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": true - }, - { - "id": "HealthcareService.meta", - "path": "HealthcareService.meta", - "short": "Metadata about the resource", - "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", - "min": 0, - "max": "1", - "base": { - "path": "Resource.meta", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Meta" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true - }, - { - "id": "HealthcareService.implicitRules", - "path": "HealthcareService.implicitRules", - "short": "A set of rules under which this content was created", - "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", - "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", - "min": 0, - "max": "1", - "base": { - "path": "Resource.implicitRules", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "uri" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": true, - "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", - "isSummary": true - }, - { - "id": "HealthcareService.language", - "path": "HealthcareService.language", - "short": "Language of the resource content", - "definition": "The base language in which the resource is written.", - "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", - "min": 0, - "max": "1", - "base": { - "path": "Resource.language", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", - "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "Language" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", - "valueBoolean": true - } - ], - "strength": "preferred", - "description": "A human language.", - "valueSet": "http://hl7.org/fhir/ValueSet/languages" - } - }, - { - "id": "HealthcareService.text", - "path": "HealthcareService.text", - "short": "Text summary of the resource, for human interpretation", - "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", - "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", - "alias": [ - "narrative", - "html", - "xhtml", - "display" - ], - "min": 0, - "max": "1", - "base": { - "path": "DomainResource.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Narrative" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "Act.text?" - } - ] - }, - { - "id": "HealthcareService.contained", - "path": "HealthcareService.contained", - "short": "Contained, inline Resources", - "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", - "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", - "alias": [ - "inline resources", - "anonymous resources", - "contained resources" - ], - "min": 0, - "max": "*", - "base": { - "path": "DomainResource.contained", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Resource" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "HealthcareService.extension", - "path": "HealthcareService.extension", - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "DomainResource.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "HealthcareService.modifierExtension", - "path": "HealthcareService.modifierExtension", - "short": "Extensions that cannot be ignored", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "DomainResource.modifierExtension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": true, - "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "HealthcareService.identifier", - "path": "HealthcareService.identifier", - "label": "Identifier", - "short": "External identifiers for this item", - "definition": "External identifiers for this item.", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.identifier", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Identifier" - } - ], - "constraint": [ - { - "key": "ihris-search-identifier", - "severity": "error", - "human": "The identifier must be unique and another record has this identifier", - "expression": "'Location' | 'identifier' | iif(system.exists(), system & '|' & value, value)", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.identifier" - }, - { - "identity": "rim", - "map": ".id" - } - ] - }, - { - "id": "HealthcareService.identifier.id", - "path": "HealthcareService.identifier.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.identifier.extension", - "path": "HealthcareService.identifier.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.identifier.use", - "path": "HealthcareService.identifier.use", - "label": "Use", - "short": "usual | official | temp | secondary | old (If known)", - "definition": "The purpose of this identifier.", - "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", - "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", - "min": 0, - "max": "1", - "base": { - "path": "Identifier.use", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": true, - "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.", - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "IdentifierUse" - } - ], - "strength": "required", - "description": "Identifies the purpose for this identifier, if known .", - "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" - }, - "mapping": [ - { - "identity": "v2", - "map": "N/A" - }, - { - "identity": "rim", - "map": "Role.code or implied by context" - } - ] - }, - { - "id": "HealthcareService.identifier.type", - "path": "HealthcareService.identifier.type", - "label": "Type", - "short": "Description of identifier", - "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", - "comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", - "requirements": "Allows users to make use of identifiers when the identifier system is not known.", - "min": 0, - "max": "1", - "base": { - "path": "Identifier.type", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "IdentifierType" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", - "valueBoolean": true - } - ], - "strength": "extensible", - "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", - "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type" - }, - "mapping": [ - { - "identity": "v2", - "map": "CX.5" - }, - { - "identity": "rim", - "map": "Role.code or implied by context" - } - ] - }, - { - "id": "HealthcareService.identifier.type.id", - "path": "HealthcareService.identifier.type.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.identifier.type.extension", - "path": "HealthcareService.identifier.type.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.identifier.type.coding", - "path": "HealthcareService.identifier.type.coding", - "label": "Type", - "short": "Code defined by a terminology system", - "definition": "A reference to a code defined by a terminology system.", - "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", - "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", - "min": 1, - "max": "1", - "base": { - "path": "CodeableConcept.coding", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Coding" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1-8, C*E.10-22" - }, - { - "identity": "rim", - "map": "union(., ./translation)" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" - } - ] - }, - { - "id": "HealthcareService.identifier.type.text", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "HealthcareService.identifier.type.text", - "short": "Plain text representation of the concept", - "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", - "comment": "Very often the text is the same as a displayName of one of the codings.", - "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", - "min": 0, - "max": "1", - "base": { - "path": "CodeableConcept.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.9. But note many systems use C*E.2 for this" - }, - { - "identity": "rim", - "map": "./originalText[mediaType/code=\"text/plain\"]/data" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" - } - ] - }, - { - "id": "HealthcareService.identifier.system", - "path": "HealthcareService.identifier.system", - "label": "System", - "short": "The namespace for the identifier value", - "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", - "comment": "Identifier.system is always case sensitive.", - "requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", - "min": 0, - "max": "1", - "base": { - "path": "Identifier.system", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "uri" - } - ], - "example": [ - { - "label": "General", - "valueUri": "http://www.acme.com/identifiers/patient" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "CX.4 / EI-2-4" - }, - { - "identity": "rim", - "map": "II.root or Role.id.root" - }, - { - "identity": "servd", - "map": "./IdentifierType" - } - ] - }, - { - "id": "HealthcareService.identifier.value", - "path": "HealthcareService.identifier.value", - "label": "Value", - "short": "The value that is unique", - "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", - "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.", - "min": 0, - "max": "1", - "base": { - "path": "Identifier.value", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "example": [ - { - "label": "General", - "valueString": "123456" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "CX.1 / EI.1" - }, - { - "identity": "rim", - "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" - }, - { - "identity": "servd", - "map": "./Value" - } - ] - }, - { - "id": "HealthcareService.identifier.period", - "path": "HealthcareService.identifier.period", - "short": "Time period when id is/was valid for use", - "definition": "Time period during which identifier is/was valid for use.", - "min": 0, - "max": "1", - "base": { - "path": "Identifier.period", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Period" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "CX.7 + CX.8" - }, - { - "identity": "rim", - "map": "Role.effectiveTime or implied by context" - }, - { - "identity": "servd", - "map": "./StartDate and ./EndDate" - } - ] - }, - { - "id": "HealthcareService.identifier.assigner", - "path": "HealthcareService.identifier.assigner", - "short": "Organization that issued id (may be just text)", - "definition": "Organization that issued/manages the identifier.", - "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", - "min": 0, - "max": "1", - "base": { - "path": "Identifier.assigner", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Organization" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "CX.4 / (CX.4,CX.9,CX.10)" - }, - { - "identity": "rim", - "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" - }, - { - "identity": "servd", - "map": "./IdentifierIssuingAuthority" - } - ] - }, - { - "id": "HealthcareService.active", - "path": "HealthcareService.active", - "label": "Active", - "short": "Whether this HealthcareService record is in active use", - "definition": "This flag is used to mark the record to not be used. This is not used when a center is closed for maintenance, or for holidays, the notAvailable period is to be used for this.", - "comment": "This element is labeled as a modifier because it may be used to mark that the resource was created in error.", - "min": 0, - "max": "1", - "base": { - "path": "HealthcareService.active", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "boolean" - } - ], - "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": true, - "isModifierReason": "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid", - "isSummary": true, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.status" - }, - { - "identity": "rim", - "map": ".statusCode" - } - ] - }, - { - "id": "HealthcareService.providedBy", - "path": "HealthcareService.providedBy", - "short": "Organization that provides this service", - "definition": "The organization that provides this healthcare service.", - "comment": "This property is recommended to be the same as the Location's managingOrganization, and if not provided should be interpreted as such. If the Location does not have a managing Organization, then this property should be populated.", - "min": 0, - "max": "1", - "base": { - "path": "HealthcareService.providedBy", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Organization" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "rim", - "map": ".scopingRole.Organization" - } - ] - }, - { - "id": "HealthcareService.category", - "path": "HealthcareService.category", - "label": "Broad Category of Service", - "short": "Broad category of service being performed or delivered", - "definition": "Identifies the broad category of service being performed or delivered.", - "comment": "Selecting a Service Category then determines the list of relevant service types that can be selected in the primary service type.", - "alias": [ - "service category" - ], - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.category", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "service-category" - } - ], - "strength": "example", - "description": "A category of the service(s) that could be provided.", - "valueSet": "http://hl7.org/fhir/ValueSet/service-category" - }, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.class" - }, - { - "identity": "rim", - "map": ".code" - } - ] - }, - { - "id": "HealthcareService.category.id", - "path": "HealthcareService.category.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.category.extension", - "path": "HealthcareService.category.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.category.coding", - "path": "HealthcareService.category.coding", - "label": "Broad Category of Service", - "short": "Code defined by a terminology system", - "definition": "A reference to a code defined by a terminology system.", - "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", - "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", - "min": 1, - "max": "1", - "base": { - "path": "CodeableConcept.coding", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Coding" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/service-category" - }, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1-8, C*E.10-22" - }, - { - "identity": "rim", - "map": "union(., ./translation)" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" - } - ] - }, - { - "id": "HealthcareService.category.text", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "HealthcareService.category.text", - "short": "Plain text representation of the concept", - "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", - "comment": "Very often the text is the same as a displayName of one of the codings.", - "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", - "min": 0, - "max": "1", - "base": { - "path": "CodeableConcept.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.9. But note many systems use C*E.2 for this" - }, - { - "identity": "rim", - "map": "./originalText[mediaType/code=\"text/plain\"]/data" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" - } - ] - }, - { - "id": "HealthcareService.type", - "path": "HealthcareService.type", - "label": "Type of Service", - "short": "Type of service that may be delivered or performed", - "definition": "The specific type of service that may be delivered or performed.", - "alias": [ - "service type" - ], - "min": 1, - "max": "*", - "base": { - "path": "HealthcareService.type", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "service-type" - } - ], - "strength": "example", - "description": "Additional details about where the content was created (e.g. clinical specialty).", - "valueSet": "http://hl7.org/fhir/ValueSet/service-type" - }, - "mapping": [ - { - "identity": "rim", - "map": ".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].code" - } - ] - }, - { - "id": "HealthcareService.type.id", - "path": "HealthcareService.type.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.type.extension", - "path": "HealthcareService.type.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.type.coding", - "path": "HealthcareService.type.coding", - "label": "Type of Service", - "short": "Code defined by a terminology system", - "definition": "A reference to a code defined by a terminology system.", - "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", - "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", - "min": 1, - "max": "1", - "base": { - "path": "CodeableConcept.coding", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Coding" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/service-type" - }, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1-8, C*E.10-22" - }, - { - "identity": "rim", - "map": "union(., ./translation)" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" - } - ] - }, - { - "id": "HealthcareService.type.text", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "HealthcareService.type.text", - "short": "Plain text representation of the concept", - "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", - "comment": "Very often the text is the same as a displayName of one of the codings.", - "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", - "min": 0, - "max": "1", - "base": { - "path": "CodeableConcept.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.9. But note many systems use C*E.2 for this" - }, - { - "identity": "rim", - "map": "./originalText[mediaType/code=\"text/plain\"]/data" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" - } - ] - }, - { - "id": "HealthcareService.specialty", - "path": "HealthcareService.specialty", - "label": "Specialty", - "short": "Specialties handled by the HealthcareService", - "definition": "Collection of specialties handled by the service site. This is more of a medical term.", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.specialty", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "service-specialty" - } - ], - "strength": "preferred", - "description": "A specialty that a healthcare service may provide.", - "valueSet": "http://hl7.org/fhir/ValueSet/c80-practice-codes" - }, - "mapping": [ - { - "identity": "rim", - "map": ".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].code" - } - ] - }, - { - "id": "HealthcareService.specialty.id", - "path": "HealthcareService.specialty.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.specialty.extension", - "path": "HealthcareService.specialty.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.specialty.coding", - "path": "HealthcareService.specialty.coding", - "label": "Specialty", - "short": "Code defined by a terminology system", - "definition": "A reference to a code defined by a terminology system.", - "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", - "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", - "min": 1, - "max": "1", - "base": { - "path": "CodeableConcept.coding", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Coding" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/c80-practice-codes" - }, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1-8, C*E.10-22" - }, - { - "identity": "rim", - "map": "union(., ./translation)" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" - } - ] - }, - { - "id": "HealthcareService.specialty.text", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "HealthcareService.specialty.text", - "short": "Plain text representation of the concept", - "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", - "comment": "Very often the text is the same as a displayName of one of the codings.", - "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", - "min": 0, - "max": "1", - "base": { - "path": "CodeableConcept.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.9. But note many systems use C*E.2 for this" - }, - { - "identity": "rim", - "map": "./originalText[mediaType/code=\"text/plain\"]/data" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" - } - ] - }, - { - "id": "HealthcareService.location", - "path": "HealthcareService.location", - "label": "Facility Service Is Provided", - "short": "Location(s) where service may be provided", - "definition": "The location(s) where this healthcare service may be provided.", - "min": 1, - "max": "*", - "base": { - "path": "HealthcareService.location", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://ihe.net/fhir/StructureDefinition/IHE.mCSD.FacilityLocation" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.where[x]" - }, - { - "identity": "rim", - "map": ".location.role[classCode=SDLOC]" - } - ] - }, - { - "id": "HealthcareService.name", - "path": "HealthcareService.name", - "label": "Name", - "short": "Description of service as presented to a consumer while searching", - "definition": "Further description of the service as it would be presented to a consumer while searching.", - "min": 1, - "max": "1", - "base": { - "path": "HealthcareService.name", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "rim", - "map": ".name" - } - ] - }, - { - "id": "HealthcareService.comment", - "path": "HealthcareService.comment", - "label": "Comment about this service", - "short": "Additional description and/or any specific issues not covered elsewhere", - "definition": "Any additional description of the service and/or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName.", - "comment": "Would expect that a user would not see this information on a search results, and it would only be available when viewing the complete details of the service.", - "min": 0, - "max": "1", - "base": { - "path": "HealthcareService.comment", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "rim", - "map": ".location.role[classCode=SDLOC].desc" - } - ] - }, - { - "id": "HealthcareService.extraDetails", - "path": "HealthcareService.extraDetails", - "short": "Extra details about the service that can't be placed in the other fields", - "definition": "Extra details about the service that can't be placed in the other fields.", - "min": 0, - "max": "1", - "base": { - "path": "HealthcareService.extraDetails", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "markdown" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": ".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].text" - } - ] - }, - { - "id": "HealthcareService.photo", - "path": "HealthcareService.photo", - "short": "Facilitates quick identification of the service", - "definition": "If there is a photo/symbol associated with this HealthcareService, it may be included here to facilitate quick identification of the service in a list.", - "min": 0, - "max": "1", - "base": { - "path": "HealthcareService.photo", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Attachment" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "rim", - "map": ".actrelationship[typeCode=SBJ].observation.value" - } - ] - }, - { - "id": "HealthcareService.telecom", - "path": "HealthcareService.telecom", - "label": "Telecom", - "short": "Contacts related to the healthcare service", - "definition": "List of contacts related to this specific healthcare service.", - "comment": "If this is empty, then refer to the location's contacts.", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.telecom", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "ContactPoint" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": ".telecom" - } - ] - }, - { - "id": "HealthcareService.telecom.id", - "path": "HealthcareService.telecom.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.telecom.extension", - "path": "HealthcareService.telecom.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.telecom.system", - "path": "HealthcareService.telecom.system", - "label": "Contact Type", - "short": "phone | fax | email | pager | url | sms | other", - "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", - "min": 0, - "max": "1", - "base": { - "path": "ContactPoint.system", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "condition": [ - "cpt-2" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ContactPointSystem" - } - ], - "strength": "required", - "description": "Telecommunications form for contact point.", - "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1" - }, - "mapping": [ - { - "identity": "v2", - "map": "XTN.3" - }, - { - "identity": "rim", - "map": "./scheme" - }, - { - "identity": "servd", - "map": "./ContactPointType" - } - ] - }, - { - "id": "HealthcareService.telecom.value", - "path": "HealthcareService.telecom.value", - "label": "Value", - "short": "The actual contact point details", - "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).", - "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.", - "requirements": "Need to support legacy numbers that are not in a tightly controlled format.", - "min": 0, - "max": "1", - "base": { - "path": "ContactPoint.value", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "XTN.1 (or XTN.12)" - }, - { - "identity": "rim", - "map": "./url" - }, - { - "identity": "servd", - "map": "./Value" - } - ] - }, - { - "id": "HealthcareService.telecom.use", - "path": "HealthcareService.telecom.use", - "label": "Use", - "short": "home | work | temp | old | mobile - purpose of this contact point", - "definition": "Identifies the purpose for the contact point.", - "comment": "Applications can assume that a contact is current unless it explicitly says that it is temporary or old.", - "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.", - "min": 0, - "max": "1", - "base": { - "path": "ContactPoint.use", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": true, - "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one", - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ContactPointUse" - } - ], - "strength": "required", - "description": "Use of contact point.", - "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1" - }, - "mapping": [ - { - "identity": "v2", - "map": "XTN.2 - but often indicated by field" - }, - { - "identity": "rim", - "map": "unique(./use)" - }, - { - "identity": "servd", - "map": "./ContactPointPurpose" - } - ] - }, - { - "id": "HealthcareService.telecom.rank", - "path": "HealthcareService.telecom.rank", - "short": "Specify preferred order of use (1 = highest)", - "definition": "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.", - "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", - "min": 0, - "max": "1", - "base": { - "path": "ContactPoint.rank", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "positiveInt" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "n/a" - }, - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.telecom.period", - "path": "HealthcareService.telecom.period", - "short": "Time period when the contact point was/is in use", - "definition": "Time period when the contact point was/is in use.", - "min": 0, - "max": "1", - "base": { - "path": "ContactPoint.period", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Period" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "N/A" - }, - { - "identity": "rim", - "map": "./usablePeriod[type=\"IVL\"]" - }, - { - "identity": "servd", - "map": "./StartDate and ./EndDate" - } - ] - }, - { - "id": "HealthcareService.coverageArea", - "path": "HealthcareService.coverageArea", - "short": "Location(s) service is intended for/available to", - "definition": "The location(s) that this service is available to (not where the service is provided).", - "comment": "The locations referenced by the coverage area can include both specific locations, including areas, and also conceptual domains too (mode = kind), such as a physical area (tri-state area) and some other attribute (covered by Example Care Organization). These types of Locations are often not managed by any specific organization. This could also include generic locations such as \"in-home\".", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.coverageArea", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Location" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": ".location.role[classCode=SDLOC].subjectOf.A_SpatialCoordinate" - } - ] - }, - { - "id": "HealthcareService.serviceProvisionCode", - "path": "HealthcareService.serviceProvisionCode", - "label": "Service Provision Condition", - "short": "Conditions under which service is available/offered", - "definition": "The code(s) that detail the conditions under which the healthcare service is available/offered.", - "comment": "The provision means being commissioned by, contractually obliged or financially sourced. Types of costings that may apply to this healthcare service, such if the service may be available for free, some discounts available, or fees apply.", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.serviceProvisionCode", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ServiceProvisionConditions" - } - ], - "strength": "example", - "description": "The code(s) that detail the conditions under which the healthcare service is available/offered.", - "valueSet": "http://hl7.org/fhir/ValueSet/service-provision-conditions" - }, - "mapping": [ - { - "identity": "rim", - "map": ".actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT]" - } - ] - }, - { - "id": "HealthcareService.serviceProvisionCode.id", - "path": "HealthcareService.serviceProvisionCode.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.serviceProvisionCode.extension", - "path": "HealthcareService.serviceProvisionCode.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.serviceProvisionCode.coding", - "path": "HealthcareService.serviceProvisionCode.coding", - "label": "Service Provision Condition", - "short": "Code defined by a terminology system", - "definition": "A reference to a code defined by a terminology system.", - "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", - "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", - "min": 1, - "max": "1", - "base": { - "path": "CodeableConcept.coding", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Coding" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/service-provision-conditions" - }, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1-8, C*E.10-22" - }, - { - "identity": "rim", - "map": "union(., ./translation)" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" - } - ] - }, - { - "id": "HealthcareService.serviceProvisionCode.text", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "HealthcareService.serviceProvisionCode.text", - "short": "Plain text representation of the concept", - "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", - "comment": "Very often the text is the same as a displayName of one of the codings.", - "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", - "min": 0, - "max": "1", - "base": { - "path": "CodeableConcept.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.9. But note many systems use C*E.2 for this" - }, - { - "identity": "rim", - "map": "./originalText[mediaType/code=\"text/plain\"]/data" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" - } - ] - }, - { - "id": "HealthcareService.eligibility", - "path": "HealthcareService.eligibility", - "label": "Eligibility", - "short": "Specific eligibility requirements required to use the service", - "definition": "Does this service have specific eligibility requirements that need to be met in order to use the service?", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.eligibility", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "BackboneElement" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false - }, - { - "id": "HealthcareService.eligibility.id", - "path": "HealthcareService.eligibility.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.eligibility.extension", - "path": "HealthcareService.eligibility.extension", - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.eligibility.modifierExtension", - "path": "HealthcareService.eligibility.modifierExtension", - "short": "Extensions that cannot be ignored even if unrecognized", - "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content", - "modifiers" - ], - "min": 0, - "max": "*", - "base": { - "path": "BackboneElement.modifierExtension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": true, - "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", - "isSummary": true, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "HealthcareService.eligibility.code", - "path": "HealthcareService.eligibility.code", - "label": "Eligibility", - "short": "Coded value for the eligibility", - "definition": "Coded value for the eligibility.", - "min": 1, - "max": "1", - "base": { - "path": "HealthcareService.eligibility.code", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ServiceEligibility" - } - ], - "strength": "example", - "description": "Coded values underwhich a specific service is made available." - }, - "mapping": [ - { - "identity": "rim", - "map": ".actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT]" - } - ] - }, - { - "id": "HealthcareService.eligibility.code.id", - "path": "HealthcareService.eligibility.code.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.eligibility.code.extension", - "path": "HealthcareService.eligibility.code.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.eligibility.code.coding", - "path": "HealthcareService.eligibility.code.coding", - "label": "Eligibility", - "short": "Code defined by a terminology system", - "definition": "A reference to a code defined by a terminology system.", - "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", - "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", - "min": 1, - "max": "1", - "base": { - "path": "CodeableConcept.coding", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Coding" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" - }, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1-8, C*E.10-22" - }, - { - "identity": "rim", - "map": "union(., ./translation)" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" - } - ] - }, - { - "id": "HealthcareService.eligibility.code.text", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "HealthcareService.eligibility.code.text", - "short": "Plain text representation of the concept", - "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", - "comment": "Very often the text is the same as a displayName of one of the codings.", - "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", - "min": 0, - "max": "1", - "base": { - "path": "CodeableConcept.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.9. But note many systems use C*E.2 for this" - }, - { - "identity": "rim", - "map": "./originalText[mediaType/code=\"text/plain\"]/data" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" - } - ] - }, - { - "id": "HealthcareService.eligibility.comment", - "path": "HealthcareService.eligibility.comment", - "short": "Describes the eligibility conditions for the service", - "definition": "Describes the eligibility conditions for the service.", - "comment": "The description of service eligibility should, in general, not exceed one or two paragraphs. It should be sufficient for a prospective consumer to determine if they are likely to be eligible or not. Where eligibility requirements and conditions are complex, it may simply be noted that an eligibility assessment is required. Where eligibility is determined by an outside source, such as an Act of Parliament, this should be noted, preferably with a reference to a commonly available copy of the source document such as a web page.", - "min": 0, - "max": "1", - "base": { - "path": "HealthcareService.eligibility.comment", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "markdown" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": ".actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT].text" - } - ] - }, - { - "id": "HealthcareService.program", - "path": "HealthcareService.program", - "label": "Programs", - "short": "Programs that this service is applicable to", - "definition": "Programs that this service is applicable to.", - "comment": "Programs are often defined externally to an Organization, commonly by governments; e.g. Home and Community Care Programs, Homeless Program, ….", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.program", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "Program" - } - ], - "strength": "example", - "description": "Government or local programs that this service applies to.", - "valueSet": "http://hl7.org/fhir/ValueSet/program" - }, - "mapping": [ - { - "identity": "rim", - "map": ".actrelationship[typeCode=PERT].observation" - } - ] - }, - { - "id": "HealthcareService.program.id", - "path": "HealthcareService.program.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.program.extension", - "path": "HealthcareService.program.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.program.coding", - "path": "HealthcareService.program.coding", - "label": "Programs", - "short": "Code defined by a terminology system", - "definition": "A reference to a code defined by a terminology system.", - "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", - "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", - "min": 1, - "max": "1", - "base": { - "path": "CodeableConcept.coding", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Coding" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/program" - }, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1-8, C*E.10-22" - }, - { - "identity": "rim", - "map": "union(., ./translation)" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" - } - ] - }, - { - "id": "HealthcareService.program.text", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "HealthcareService.program.text", - "short": "Plain text representation of the concept", - "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", - "comment": "Very often the text is the same as a displayName of one of the codings.", - "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", - "min": 0, - "max": "1", - "base": { - "path": "CodeableConcept.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.9. But note many systems use C*E.2 for this" - }, - { - "identity": "rim", - "map": "./originalText[mediaType/code=\"text/plain\"]/data" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" - } - ] - }, - { - "id": "HealthcareService.characteristic", - "path": "HealthcareService.characteristic", - "short": "Collection of characteristics (attributes)", - "definition": "Collection of characteristics (attributes).", - "comment": "These could be such things as is wheelchair accessible.", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.characteristic", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ServiceCharacteristic" - } - ], - "strength": "example", - "description": "A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy)." - }, - "mapping": [ - { - "identity": "rim", - "map": ".actrelationship[typeCode=PERT].observation" - } - ] - }, - { - "id": "HealthcareService.communication", - "path": "HealthcareService.communication", - "label": "Communication Language", - "short": "The language that this service is offered in", - "definition": "Some services are specifically made available in multiple languages, this property permits a directory to declare the languages this is offered in. Typically this is only provided where a service operates in communities with mixed languages used.", - "comment": "When using this property it indicates that the service is available with this language, it is not derived from the practitioners, and not all are required to use this language, just that this language is available while scheduling.", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.communication", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", - "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "Language" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", - "valueBoolean": true - } - ], - "strength": "preferred", - "description": "A human language.", - "valueSet": "http://hl7.org/fhir/ValueSet/languages" - } - }, - { - "id": "HealthcareService.communication.id", - "path": "HealthcareService.communication.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.communication.extension", - "path": "HealthcareService.communication.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.communication.coding", - "path": "HealthcareService.communication.coding", - "label": "Communication Language", - "short": "Code defined by a terminology system", - "definition": "A reference to a code defined by a terminology system.", - "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", - "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", - "min": 1, - "max": "1", - "base": { - "path": "CodeableConcept.coding", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Coding" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/languages" - }, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1-8, C*E.10-22" - }, - { - "identity": "rim", - "map": "union(., ./translation)" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" - } - ] - }, - { - "id": "HealthcareService.communication.text", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "HealthcareService.communication.text", - "short": "Plain text representation of the concept", - "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", - "comment": "Very often the text is the same as a displayName of one of the codings.", - "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", - "min": 0, - "max": "1", - "base": { - "path": "CodeableConcept.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.9. But note many systems use C*E.2 for this" - }, - { - "identity": "rim", - "map": "./originalText[mediaType/code=\"text/plain\"]/data" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" - } - ] - }, - { - "id": "HealthcareService.referralMethod", - "path": "HealthcareService.referralMethod", - "label": "Referral Methods", - "short": "Ways that the service accepts referrals", - "definition": "Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required.", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.referralMethod", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ReferralMethod" - } - ], - "strength": "example", - "description": "The methods of referral can be used when referring to a specific HealthCareService resource.", - "valueSet": "http://hl7.org/fhir/ValueSet/service-referral-method" - }, - "mapping": [ - { - "identity": "rim", - "map": ".actrelationship[typeCode=PERT].observation" - } - ] - }, - { - "id": "HealthcareService.referralMethod.id", - "path": "HealthcareService.referralMethod.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.referralMethod.extension", - "path": "HealthcareService.referralMethod.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.referralMethod.coding", - "path": "HealthcareService.referralMethod.coding", - "label": "Referral Methods", - "short": "Code defined by a terminology system", - "definition": "A reference to a code defined by a terminology system.", - "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", - "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", - "min": 1, - "max": "1", - "base": { - "path": "CodeableConcept.coding", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Coding" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/service-referral-method" - }, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1-8, C*E.10-22" - }, - { - "identity": "rim", - "map": "union(., ./translation)" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" - } - ] - }, - { - "id": "HealthcareService.referralMethod.text", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "HealthcareService.referralMethod.text", - "short": "Plain text representation of the concept", - "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", - "comment": "Very often the text is the same as a displayName of one of the codings.", - "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", - "min": 0, - "max": "1", - "base": { - "path": "CodeableConcept.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.9. But note many systems use C*E.2 for this" - }, - { - "identity": "rim", - "map": "./originalText[mediaType/code=\"text/plain\"]/data" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" - } - ] - }, - { - "id": "HealthcareService.appointmentRequired", - "path": "HealthcareService.appointmentRequired", - "label": "Appointment Required", - "short": "If an appointment is required for access to this service", - "definition": "Indicates whether or not a prospective consumer will require an appointment for a particular service at a site to be provided by the Organization. Indicates if an appointment is required for access to this service.", - "min": 0, - "max": "1", - "base": { - "path": "HealthcareService.appointmentRequired", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "boolean" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": ".actrelationship[typeCode=PERT].observation" - } - ] - }, - { - "id": "HealthcareService.availableTime", - "path": "HealthcareService.availableTime", - "label": "Service Time Availability", - "short": "Times the Service Site is available", - "definition": "A collection of times that the Service Site is available.", - "comment": "More detailed availability information may be provided in associated Schedule/Slot resources.", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.availableTime", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "BackboneElement" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": ".effectiveTime" - } - ] - }, - { - "id": "HealthcareService.availableTime.id", - "path": "HealthcareService.availableTime.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.availableTime.extension", - "path": "HealthcareService.availableTime.extension", - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.availableTime.modifierExtension", - "path": "HealthcareService.availableTime.modifierExtension", - "short": "Extensions that cannot be ignored even if unrecognized", - "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content", - "modifiers" - ], - "min": 0, - "max": "*", - "base": { - "path": "BackboneElement.modifierExtension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": true, - "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", - "isSummary": true, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "HealthcareService.availableTime.daysOfWeek", - "path": "HealthcareService.availableTime.daysOfWeek", - "label": "Days of week", - "short": "mon | tue | wed | thu | fri | sat | sun", - "definition": "Indicates which days of the week are available between the start and end Times.", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.availableTime.daysOfWeek", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "code" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "DaysOfWeek" - } - ], - "strength": "required", - "description": "The days of the week.", - "valueSet": "http://hl7.org/fhir/ValueSet/days-of-week|4.0.1" - }, - "mapping": [ - { - "identity": "rim", - "map": ".effectiveTime" - } - ] - }, - { - "id": "HealthcareService.availableTime.allDay", - "path": "HealthcareService.availableTime.allDay", - "label": "Available all day", - "short": "Always available? e.g. 24 hour service", - "definition": "Is this always available? (hence times are irrelevant) e.g. 24 hour service.", - "min": 0, - "max": "1", - "base": { - "path": "HealthcareService.availableTime.allDay", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "boolean" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": ".effectiveTime" - } - ] - }, - { - "id": "HealthcareService.availableTime.availableStartTime", - "path": "HealthcareService.availableTime.availableStartTime", - "label": "Opening Time", - "short": "Opening time of day (ignored if allDay = true)", - "definition": "The opening time of day. Note: If the AllDay flag is set, then this time is ignored.", - "comment": "The time zone is expected to be for where this HealthcareService is provided at.", - "min": 0, - "max": "1", - "base": { - "path": "HealthcareService.availableTime.availableStartTime", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "time" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": ".effectiveTime" - } - ] - }, - { - "id": "HealthcareService.availableTime.availableEndTime", - "path": "HealthcareService.availableTime.availableEndTime", - "label": "Closing Time", - "short": "Closing time of day (ignored if allDay = true)", - "definition": "The closing time of day. Note: If the AllDay flag is set, then this time is ignored.", - "comment": "The time zone is expected to be for where this HealthcareService is provided at.", - "min": 0, - "max": "1", - "base": { - "path": "HealthcareService.availableTime.availableEndTime", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "time" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": ".effectiveTime" - } - ] - }, - { - "id": "HealthcareService.notAvailable", - "path": "HealthcareService.notAvailable", - "label": "Service Unavailability", - "short": "Not available during this time due to provided reason", - "definition": "The HealthcareService is not available during this period of time due to the provided reason.", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.notAvailable", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "BackboneElement" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": ".effectiveTime" - } - ] - }, - { - "id": "HealthcareService.notAvailable.id", - "path": "HealthcareService.notAvailable.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.notAvailable.extension", - "path": "HealthcareService.notAvailable.extension", - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.notAvailable.modifierExtension", - "path": "HealthcareService.notAvailable.modifierExtension", - "short": "Extensions that cannot be ignored even if unrecognized", - "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content", - "modifiers" - ], - "min": 0, - "max": "*", - "base": { - "path": "BackboneElement.modifierExtension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": true, - "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", - "isSummary": true, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "HealthcareService.notAvailable.description", - "path": "HealthcareService.notAvailable.description", - "label": "Description", - "short": "Reason presented to the user explaining why time not available", - "definition": "The reason that can be presented to the user as to why this time is not available.", - "min": 1, - "max": "1", - "base": { - "path": "HealthcareService.notAvailable.description", - "min": 1, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.notAvailable.during", - "path": "HealthcareService.notAvailable.during", - "label": "Dates Unavailable", - "short": "Service not available from this date", - "definition": "Service is not available (seasonally or for a public holiday) from this date.", - "min": 1, - "max": "1", - "base": { - "path": "HealthcareService.notAvailable.during", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Period" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": ".effectiveTime" - } - ] - }, - { - "id": "HealthcareService.notAvailable.during.id", - "path": "HealthcareService.notAvailable.during.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "http://hl7.org/fhirpath/System.String", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ] - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.notAvailable.during.extension", - "path": "HealthcareService.notAvailable.during.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "HealthcareService.notAvailable.during.start", - "path": "HealthcareService.notAvailable.during.start", - "label": "Start Date", - "short": "Starting time with inclusive boundary", - "definition": "The start of the period. The boundary is inclusive.", - "comment": "If the low element is missing, the meaning is that the low boundary is not known.", - "min": 1, - "max": "1", - "base": { - "path": "Period.start", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "dateTime" - } - ], - "condition": [ - "per-1" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "DR.1" - }, - { - "identity": "rim", - "map": "./low" - } - ] - }, - { - "id": "HealthcareService.notAvailable.during.end", - "path": "HealthcareService.notAvailable.during.end", - "label": "End Date", - "short": "End time with inclusive boundary, if not ongoing", - "definition": "The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.", - "comment": "The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.", - "min": 1, - "max": "1", - "base": { - "path": "Period.end", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "dateTime" - } - ], - "meaningWhenMissing": "If the end of the period is missing, it means that the period is ongoing", - "condition": [ - "per-1" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "DR.2" - }, - { - "identity": "rim", - "map": "./high" - } - ] - }, - { - "id": "HealthcareService.availabilityExceptions", - "path": "HealthcareService.availabilityExceptions", - "short": "Description of availability exceptions", - "definition": "A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times.", - "min": 0, - "max": "1", - "base": { - "path": "HealthcareService.availabilityExceptions", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": ".effectiveTime" - } - ] - }, - { - "id": "HealthcareService.endpoint", - "path": "HealthcareService.endpoint", - "short": "Technical endpoints providing access to electronic services operated for the healthcare service", - "definition": "Technical endpoints providing access to services operated for the specific healthcare services defined at this resource.", - "min": 0, - "max": "*", - "base": { - "path": "HealthcareService.endpoint", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Endpoint" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - } - ] - }, - "differential": { - "element": [ - { - "id": "HealthcareService.identifier", - "path": "HealthcareService.identifier", - "label": "Identifier", - "constraint": [ - { - "key": "ihris-search-identifier", - "severity": "error", - "human": "The identifier must be unique and another record has this identifier", - "expression": "'Location' | 'identifier' | iif(system.exists(), system & '|' & value, value)", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true - }, - { - "id": "HealthcareService.identifier.use", - "path": "HealthcareService.identifier.use", - "label": "Use", - "mustSupport": true - }, - { - "id": "HealthcareService.identifier.type", - "path": "HealthcareService.identifier.type", - "label": "Type", - "mustSupport": true - }, - { - "id": "HealthcareService.identifier.type.coding", - "path": "HealthcareService.identifier.type.coding", - "label": "Type", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "HealthcareService.identifier.system", - "path": "HealthcareService.identifier.system", - "label": "System", - "mustSupport": true - }, - { - "id": "HealthcareService.identifier.value", - "path": "HealthcareService.identifier.value", - "label": "Value", - "mustSupport": true - }, - { - "id": "HealthcareService.active", - "path": "HealthcareService.active", - "label": "Active", - "mustSupport": true - }, - { - "id": "HealthcareService.category", - "path": "HealthcareService.category", - "label": "Broad Category of Service", - "mustSupport": true - }, - { - "id": "HealthcareService.category.coding", - "path": "HealthcareService.category.coding", - "label": "Broad Category of Service", - "min": 1, - "max": "1", - "mustSupport": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/service-category" - } - }, - { - "id": "HealthcareService.type", - "path": "HealthcareService.type", - "label": "Type of Service", - "min": 1, - "mustSupport": true - }, - { - "id": "HealthcareService.type.coding", - "path": "HealthcareService.type.coding", - "label": "Type of Service", - "min": 1, - "max": "1", - "mustSupport": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/service-type" - } - }, - { - "id": "HealthcareService.specialty", - "path": "HealthcareService.specialty", - "label": "Specialty", - "mustSupport": true - }, - { - "id": "HealthcareService.specialty.coding", - "path": "HealthcareService.specialty.coding", - "label": "Specialty", - "min": 1, - "max": "1", - "mustSupport": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/c80-practice-codes" - } - }, - { - "id": "HealthcareService.location", - "path": "HealthcareService.location", - "label": "Facility Service Is Provided", - "min": 1, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://ihe.net/fhir/StructureDefinition/IHE.mCSD.FacilityLocation" - ] - } - ], - "mustSupport": true - }, - { - "id": "HealthcareService.name", - "path": "HealthcareService.name", - "label": "Name", - "min": 1, - "mustSupport": true - }, - { - "id": "HealthcareService.comment", - "path": "HealthcareService.comment", - "label": "Comment about this service", - "mustSupport": true - }, - { - "id": "HealthcareService.telecom", - "path": "HealthcareService.telecom", - "label": "Telecom", - "mustSupport": true - }, - { - "id": "HealthcareService.telecom.system", - "path": "HealthcareService.telecom.system", - "label": "Contact Type", - "mustSupport": true - }, - { - "id": "HealthcareService.telecom.value", - "path": "HealthcareService.telecom.value", - "label": "Value", - "mustSupport": true - }, - { - "id": "HealthcareService.telecom.use", - "path": "HealthcareService.telecom.use", - "label": "Use", - "mustSupport": true - }, - { - "id": "HealthcareService.serviceProvisionCode", - "path": "HealthcareService.serviceProvisionCode", - "label": "Service Provision Condition", - "mustSupport": true - }, - { - "id": "HealthcareService.serviceProvisionCode.coding", - "path": "HealthcareService.serviceProvisionCode.coding", - "label": "Service Provision Condition", - "min": 1, - "max": "1", - "mustSupport": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/service-provision-conditions" - } - }, - { - "id": "HealthcareService.eligibility", - "path": "HealthcareService.eligibility", - "label": "Eligibility", - "mustSupport": true - }, - { - "id": "HealthcareService.eligibility.code", - "path": "HealthcareService.eligibility.code", - "label": "Eligibility", - "min": 1, - "mustSupport": true - }, - { - "id": "HealthcareService.eligibility.code.coding", - "path": "HealthcareService.eligibility.code.coding", - "label": "Eligibility", - "min": 1, - "max": "1", - "mustSupport": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" - } - }, - { - "id": "HealthcareService.program", - "path": "HealthcareService.program", - "label": "Programs", - "mustSupport": true - }, - { - "id": "HealthcareService.program.coding", - "path": "HealthcareService.program.coding", - "label": "Programs", - "min": 1, - "max": "1", - "mustSupport": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/program" - } - }, - { - "id": "HealthcareService.communication", - "path": "HealthcareService.communication", - "label": "Communication Language", - "mustSupport": true - }, - { - "id": "HealthcareService.communication.coding", - "path": "HealthcareService.communication.coding", - "label": "Communication Language", - "min": 1, - "max": "1", - "mustSupport": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/languages" - } - }, - { - "id": "HealthcareService.referralMethod", - "path": "HealthcareService.referralMethod", - "label": "Referral Methods", - "mustSupport": true - }, - { - "id": "HealthcareService.referralMethod.coding", - "path": "HealthcareService.referralMethod.coding", - "label": "Referral Methods", - "min": 1, - "max": "1", - "mustSupport": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/service-referral-method" - } - }, - { - "id": "HealthcareService.appointmentRequired", - "path": "HealthcareService.appointmentRequired", - "label": "Appointment Required", - "mustSupport": true - }, - { - "id": "HealthcareService.availableTime", - "path": "HealthcareService.availableTime", - "label": "Service Time Availability", - "mustSupport": true - }, - { - "id": "HealthcareService.availableTime.daysOfWeek", - "path": "HealthcareService.availableTime.daysOfWeek", - "label": "Days of week", - "mustSupport": true - }, - { - "id": "HealthcareService.availableTime.allDay", - "path": "HealthcareService.availableTime.allDay", - "label": "Available all day", - "mustSupport": true - }, - { - "id": "HealthcareService.availableTime.availableStartTime", - "path": "HealthcareService.availableTime.availableStartTime", - "label": "Opening Time", - "mustSupport": true - }, - { - "id": "HealthcareService.availableTime.availableEndTime", - "path": "HealthcareService.availableTime.availableEndTime", - "label": "Closing Time", - "mustSupport": true - }, - { - "id": "HealthcareService.notAvailable", - "path": "HealthcareService.notAvailable", - "label": "Service Unavailability", - "mustSupport": true - }, - { - "id": "HealthcareService.notAvailable.description", - "path": "HealthcareService.notAvailable.description", - "label": "Description", - "mustSupport": true - }, - { - "id": "HealthcareService.notAvailable.during", - "path": "HealthcareService.notAvailable.during", - "label": "Dates Unavailable", - "min": 1, - "mustSupport": true - }, - { - "id": "HealthcareService.notAvailable.during.start", - "path": "HealthcareService.notAvailable.during.start", - "label": "Start Date", - "min": 1, - "mustSupport": true - }, - { - "id": "HealthcareService.notAvailable.during.end", - "path": "HealthcareService.notAvailable.during.end", - "label": "End Date", - "min": 1, - "mustSupport": true - } - ] - } -} diff --git a/fshmcsd/build/input/examples/Basic-gofr-page-facility-add-request.json b/fshmcsd/fsh-generated/resources/Basic-gofr-page-facility-add-request.json similarity index 100% rename from fshmcsd/build/input/examples/Basic-gofr-page-facility-add-request.json rename to fshmcsd/fsh-generated/resources/Basic-gofr-page-facility-add-request.json diff --git a/fshmcsd/build/input/examples/Basic-gofr-page-facility-update-request.json b/fshmcsd/fsh-generated/resources/Basic-gofr-page-facility-update-request.json similarity index 100% rename from fshmcsd/build/input/examples/Basic-gofr-page-facility-update-request.json rename to fshmcsd/fsh-generated/resources/Basic-gofr-page-facility-update-request.json diff --git a/fshmcsd/build/input/examples/Basic-gofr-page-facility.json b/fshmcsd/fsh-generated/resources/Basic-gofr-page-facility.json similarity index 100% rename from fshmcsd/build/input/examples/Basic-gofr-page-facility.json rename to fshmcsd/fsh-generated/resources/Basic-gofr-page-facility.json diff --git a/fshmcsd/build/input/examples/Basic-gofr-page-facilityorganization.json b/fshmcsd/fsh-generated/resources/Basic-gofr-page-facilityorganization.json similarity index 100% rename from fshmcsd/build/input/examples/Basic-gofr-page-facilityorganization.json rename to fshmcsd/fsh-generated/resources/Basic-gofr-page-facilityorganization.json diff --git a/fshmcsd/build/input/examples/Basic-gofr-page-instance-organization.json b/fshmcsd/fsh-generated/resources/Basic-gofr-page-instance-organization.json similarity index 100% rename from fshmcsd/build/input/examples/Basic-gofr-page-instance-organization.json rename to fshmcsd/fsh-generated/resources/Basic-gofr-page-instance-organization.json diff --git a/fshmcsd/build/input/examples/Basic-gofr-page-jurisdiction.json b/fshmcsd/fsh-generated/resources/Basic-gofr-page-jurisdiction.json similarity index 100% rename from fshmcsd/build/input/examples/Basic-gofr-page-jurisdiction.json rename to fshmcsd/fsh-generated/resources/Basic-gofr-page-jurisdiction.json diff --git a/fshmcsd/build/input/examples/Basic-gofr-page-jurisdictionorganization.json b/fshmcsd/fsh-generated/resources/Basic-gofr-page-jurisdictionorganization.json similarity index 100% rename from fshmcsd/build/input/examples/Basic-gofr-page-jurisdictionorganization.json rename to fshmcsd/fsh-generated/resources/Basic-gofr-page-jurisdictionorganization.json diff --git a/fshmcsd/build/input/examples/Basic-gofr-page-mcsd-organization.json b/fshmcsd/fsh-generated/resources/Basic-gofr-page-mcsd-organization.json similarity index 100% rename from fshmcsd/build/input/examples/Basic-gofr-page-mcsd-organization.json rename to fshmcsd/fsh-generated/resources/Basic-gofr-page-mcsd-organization.json diff --git a/fshmcsd/build/input/examples/Basic-gofr-page-service.json b/fshmcsd/fsh-generated/resources/Basic-gofr-page-service.json similarity index 100% rename from fshmcsd/build/input/examples/Basic-gofr-page-service.json rename to fshmcsd/fsh-generated/resources/Basic-gofr-page-service.json diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-role-admin.json b/fshmcsd/fsh-generated/resources/Basic-gofr-role-admin.json new file mode 100644 index 000000000..0a6232e6a --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-role-admin.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Basic", + "id": "gofr-role-admin", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-role" + ] + }, + "code": { + "coding": [ + { + "code": "role", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "Admin" + }, + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-role-primary", + "valueBoolean": true + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-all-permissions-to-everything" + } + }, + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-assign-role", + "valueReference": { + "reference": "Basic/gofr-role-open" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-role-data-manager.json b/fshmcsd/fsh-generated/resources/Basic-gofr-role-data-manager.json new file mode 100644 index 000000000..0254424a7 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-role-data-manager.json @@ -0,0 +1,272 @@ +{ + "resourceType": "Basic", + "id": "gofr-role-data-manager", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-role" + ] + }, + "code": { + "coding": [ + { + "code": "role", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "Data Manager" + }, + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-role-primary", + "valueBoolean": false + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-search-organization-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-break-matched-location" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-accept-flagged-location" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-match-location" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-data-source-reconciliation" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-matching-status" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-delete-source-pair" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-delete-data-source" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-source-pair" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-deactivate-source-pair" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-activate-source-pair" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-share-source-pair" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-create-source-pair" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-share-data-source" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-data-source" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-add-data-source" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-add-facility-requests" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-update-facility-requests" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-process-update-facility-request" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-process-add-facility-request" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-add-healthcare-service-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-add-jurisdiction-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-add-facility-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-add-organization-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-home-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-search-facility-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-search-jurisdiction-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-search-service-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-view-search-organization-page" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-write-questionnaireresponse-resource" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-questionnaire-resource" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-location-resource" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-organization-resource" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-healthcareservice-resource" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-document-reference" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-value-set" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-code-system" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-structure-definition" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-close-matching" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-open-matching" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-role-open.json b/fshmcsd/fsh-generated/resources/Basic-gofr-role-open.json new file mode 100644 index 000000000..97de6744b --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-role-open.json @@ -0,0 +1,56 @@ +{ + "resourceType": "Basic", + "id": "gofr-role-open", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-role" + ] + }, + "code": { + "coding": [ + { + "code": "role", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "Open Role" + }, + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-role-primary", + "valueBoolean": true + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-structure-definition" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-code-system" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-value-set" + } + }, + { + "url": "task", + "valueReference": { + "reference": "Basic/gofr-task-read-document-reference" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-accept-flagged-location.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-accept-flagged-location.json new file mode 100644 index 000000000..da5dc54b7 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-accept-flagged-location.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-accept-flagged-location", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "accept-flagged-location" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "accept-flagged-location" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-access-facility-reconciliation-mod.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-access-facility-reconciliation-mod.json new file mode 100644 index 000000000..32b6b0101 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-access-facility-reconciliation-mod.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-access-facility-reconciliation-mod", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "access-facility-reconciliation-mod" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "access-facility-reconciliation-mod" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-home-page" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-access-facility-registry-mod.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-access-facility-registry-mod.json new file mode 100644 index 000000000..a54f66bd7 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-access-facility-registry-mod.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-access-facility-registry-mod", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "access-facility-registry-mod" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "access-facility-registry-mod" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-home-page" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-activate-source-pair.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-activate-source-pair.json new file mode 100644 index 000000000..75b324c36 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-activate-source-pair.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-activate-source-pair", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "activate-source-pair" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "activate-source-pair" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-source-pair" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-add-data-source.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-add-data-source.json new file mode 100644 index 000000000..ee004b788 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-add-data-source.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-add-data-source", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "add-data-source" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "add-data-source" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-manage-data-source" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-add-user.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-add-user.json new file mode 100644 index 000000000..69665c752 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-add-user.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-add-user", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "add-user" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "add-user" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-manage-account" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-all-permissions-to-everything.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-all-permissions-to-everything.json new file mode 100644 index 000000000..1d33b3180 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-all-permissions-to-everything.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-all-permissions-to-everything", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "all-permissions-to-everything" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "*" + }, + { + "url": "resource", + "valueCode": "*" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-break-matched-location.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-break-matched-location.json new file mode 100644 index 000000000..7629f5e98 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-break-matched-location.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-break-matched-location", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "break-matched-location" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "break-matched-location" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-change-admin-config.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-change-admin-config.json new file mode 100644 index 000000000..71821a665 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-change-admin-config.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-change-admin-config", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "change-admin-config" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "change-admin-config" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-change-password.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-change-password.json new file mode 100644 index 000000000..8dc592e4a --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-change-password.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-change-password", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "change-password" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "change-password" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-manage-account" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-close-matching.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-close-matching.json new file mode 100644 index 000000000..165b7931e --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-close-matching.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-close-matching", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "close-matching" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "close-matching" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-create-source-pair.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-create-source-pair.json new file mode 100644 index 000000000..d3d5525c4 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-create-source-pair.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-create-source-pair", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "create-source-pair" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "create-source-pair" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-source-pair" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-data-source-reconciliation.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-data-source-reconciliation.json new file mode 100644 index 000000000..b53e1ecdb --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-data-source-reconciliation.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-data-source-reconciliation", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "data-source-reconciliation" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "data-source-reconciliation" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-deactivate-source-pair.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-deactivate-source-pair.json new file mode 100644 index 000000000..00be3d8b1 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-deactivate-source-pair.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-deactivate-source-pair", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "deactivate-source-pair" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "deactivate-source-pair" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-source-pair" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-delete-data-source.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-delete-data-source.json new file mode 100644 index 000000000..f0a79f322 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-delete-data-source.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-delete-data-source", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "delete-data-source" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "delete-data-source" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-data-source" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-delete-source-pair.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-delete-source-pair.json new file mode 100644 index 000000000..39e75781a --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-delete-source-pair.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-delete-source-pair", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "delete-source-pair" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "delete-source-pair" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-source-pair" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-make-facilityregistry-requests.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-make-facilityregistry-requests.json new file mode 100644 index 000000000..f76168045 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-make-facilityregistry-requests.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-make-facilityregistry-requests", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "make-facilityregistry-requests" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "make-facilityregistry-requests" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-manage-account.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-manage-account.json new file mode 100644 index 000000000..26de139d0 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-manage-account.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-manage-account", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "manage-account" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "manage-account" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-manage-data-source.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-manage-data-source.json new file mode 100644 index 000000000..f79aaddd7 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-manage-data-source.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-manage-data-source", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "manage-data-source" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "manage-data-source" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-reconciliation-mod" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-manage-reconciliations.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-manage-reconciliations.json new file mode 100644 index 000000000..067560e8c --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-manage-reconciliations.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-manage-reconciliations", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "manage-reconciliations" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "manage-reconciliations" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-reconciliation-mod" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-match-location.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-match-location.json new file mode 100644 index 000000000..969cb4079 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-match-location.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-match-location", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "match-location" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "match-location" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-open-matching.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-open-matching.json new file mode 100644 index 000000000..3faf5bb99 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-open-matching.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-open-matching", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "open-matching" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "open-matching" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-process-add-facility-request.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-process-add-facility-request.json new file mode 100644 index 000000000..cee54c3ab --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-process-add-facility-request.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-process-add-facility-request", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "process-add-facility-request" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "process-add-facility-request" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-process-update-facility-request.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-process-update-facility-request.json new file mode 100644 index 000000000..fa8451ada --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-process-update-facility-request.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-process-update-facility-request", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "process-update-facility-request" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "process-update-facility-request" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-code-system.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-code-system.json new file mode 100644 index 000000000..6a79b96d2 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-code-system.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-code-system", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-code-system" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "CodeSystem" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-document-reference.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-document-reference.json new file mode 100644 index 000000000..a6c3b26ca --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-document-reference.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-document-reference", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-document-reference" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "DocumentReference" + }, + { + "url": "constraint", + "valueString": "category.exists(coding.exists(code = 'open'))" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility-add-request.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility-add-request.json new file mode 100644 index 000000000..9bd39632c --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility-add-request.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-facility-add-request", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-facility-add-request" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-facility-add-request" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility-update-request.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility-update-request.json new file mode 100644 index 000000000..5cc35cb80 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility-update-request.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-facility-update-request", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-facility-update-request" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-facility-update-request" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility.json new file mode 100644 index 000000000..234d5cbfe --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-facility.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-facility", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-facility" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-facility" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-jurisdiction.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-jurisdiction.json new file mode 100644 index 000000000..bf4329b36 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-jurisdiction.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-jurisdiction", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-jurisdiction" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-jurisdiction" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-organization.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-organization.json new file mode 100644 index 000000000..f42c142ad --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-organization.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-organization", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-organization" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-mcsd-organization" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-search.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-search.json new file mode 100644 index 000000000..23069a17a --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-search.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-search", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-search" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-search" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-service.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-service.json new file mode 100644 index 000000000..83fb5f6c0 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-gofr-page-service.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-gofr-page-service", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-gofr-page-service" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Basic" + }, + { + "url": "instance", + "valueId": "gofr-page-service" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-healthcareservice-resource.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-healthcareservice-resource.json new file mode 100644 index 000000000..9386f9166 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-healthcareservice-resource.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-healthcareservice-resource", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-healthcareservice-resource" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "HealthcareService" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-location-resource.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-location-resource.json new file mode 100644 index 000000000..e22da8ade --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-location-resource.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-location-resource", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-location-resource" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Location" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-metadata-resource.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-metadata-resource.json new file mode 100644 index 000000000..48e7c9eba --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-metadata-resource.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-metadata-resource", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-metadata-resource" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "metadata" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-organization-resource.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-organization-resource.json new file mode 100644 index 000000000..cd727e6b6 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-organization-resource.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-organization-resource", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-organization-resource" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Organization" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-questionnaire-resource.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-questionnaire-resource.json new file mode 100644 index 000000000..84526dcbd --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-questionnaire-resource.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-questionnaire-resource", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-questionnaire-resource" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "Questionnaire" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-structure-definition.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-structure-definition.json new file mode 100644 index 000000000..89a542fe7 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-structure-definition.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-structure-definition", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-structure-definition" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "StructureDefinition" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-value-set.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-value-set.json new file mode 100644 index 000000000..eac12051c --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-read-value-set.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-read-value-set", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "read-value-set" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "read" + }, + { + "url": "resource", + "valueCode": "ValueSet" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-search-records.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-search-records.json new file mode 100644 index 000000000..524c502fb --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-search-records.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-search-records", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "search-records" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "navigation" + }, + { + "url": "instance", + "valueId": "search-records" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-search" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-share-data-source.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-share-data-source.json new file mode 100644 index 000000000..2bf8a6171 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-share-data-source.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-share-data-source", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "share-data-source" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "share-data-source" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-data-source" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-share-source-pair.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-share-source-pair.json new file mode 100644 index 000000000..1a15ea7f7 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-share-source-pair.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-share-source-pair", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "share-source-pair" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "share-source-pair" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-view-source-pair" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-facility-page.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-facility-page.json new file mode 100644 index 000000000..0899dc86a --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-facility-page.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-add-facility-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-add-facility-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-add-facility-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-facility" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-facility-requests.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-facility-requests.json new file mode 100644 index 000000000..9a7f2a4bd --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-facility-requests.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-add-facility-requests", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-add-facility-requests" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-add-facility-requests" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-facility-add-request" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-healthcare-service-page.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-healthcare-service-page.json new file mode 100644 index 000000000..cd1e24246 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-healthcare-service-page.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-add-healthcare-service-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-add-healthcare-service-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-add-healthcare-service-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-service" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-jurisdiction-page.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-jurisdiction-page.json new file mode 100644 index 000000000..b2916dbde --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-jurisdiction-page.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-add-jurisdiction-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-add-jurisdiction-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-add-jurisdiction-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-jurisdiction" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-organization-page.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-organization-page.json new file mode 100644 index 000000000..7a3aecc73 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-add-organization-page.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-add-organization-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-add-organization-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-add-organization-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-access-facility-registry-mod" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-organization" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-config-page.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-config-page.json new file mode 100644 index 000000000..f1ad3c9f3 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-config-page.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-config-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-config-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-config-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-data-source.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-data-source.json new file mode 100644 index 000000000..d9acfac9a --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-data-source.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-data-source", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-data-source" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-data-source" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-manage-data-source" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-home-page.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-home-page.json new file mode 100644 index 000000000..d5314030a --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-home-page.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-home-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-home-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-home-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-matching-status.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-matching-status.json new file mode 100644 index 000000000..4e455eb78 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-matching-status.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-matching-status", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-matching-status" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-matching-status" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-request-add-facility-page.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-request-add-facility-page.json new file mode 100644 index 000000000..fecaabff9 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-request-add-facility-page.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-request-add-facility-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-request-add-facility-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-request-add-facility-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-make-facilityregistry-requests" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-request-update-facility-page.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-request-update-facility-page.json new file mode 100644 index 000000000..a30bdd09a --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-request-update-facility-page.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-request-update-facility-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-request-update-facility-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-request-update-facility-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-make-facilityregistry-requests" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-search-facility-page.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-search-facility-page.json new file mode 100644 index 000000000..f75ff7db5 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-search-facility-page.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-search-facility-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-search-facility-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-search-facility-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-search-records" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-search-jurisdiction-page.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-search-jurisdiction-page.json new file mode 100644 index 000000000..cbba69b94 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-search-jurisdiction-page.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-search-jurisdiction-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-search-jurisdiction-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-search-jurisdiction-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-search-records" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-search-organization-page.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-search-organization-page.json new file mode 100644 index 000000000..61ee1d0ae --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-search-organization-page.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-search-organization-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-search-organization-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-search-organization-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-search-records" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-search-service-page.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-search-service-page.json new file mode 100644 index 000000000..feed87877 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-search-service-page.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-search-service-page", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-search-service-page" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-search-service-page" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-search-records" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-source-pair.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-source-pair.json new file mode 100644 index 000000000..c02bca5fd --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-source-pair.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-source-pair", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-source-pair" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-source-pair" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-manage-reconciliations" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-update-facility-requests.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-update-facility-requests.json new file mode 100644 index 000000000..d30450817 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-update-facility-requests.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-update-facility-requests", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-update-facility-requests" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-update-facility-requests" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-search-records" + } + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-read-gofr-page-facility-update-request" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-user.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-user.json new file mode 100644 index 000000000..a43823cd9 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-view-user.json @@ -0,0 +1,51 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-view-user", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "view-user" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "special" + }, + { + "url": "resource", + "valueCode": "custom" + }, + { + "url": "instance", + "valueId": "view-user" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + }, + { + "url": "compositeTask", + "valueReference": { + "reference": "Basic/gofr-task-manage-account" + } + } + ] + } + ] +} diff --git a/fshmcsd/fsh-generated/resources/Basic-gofr-task-write-questionnaireresponse-resource.json b/fshmcsd/fsh-generated/resources/Basic-gofr-task-write-questionnaireresponse-resource.json new file mode 100644 index 000000000..20e4ea53b --- /dev/null +++ b/fshmcsd/fsh-generated/resources/Basic-gofr-task-write-questionnaireresponse-resource.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Basic", + "id": "gofr-task-write-questionnaireresponse-resource", + "meta": { + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-task" + ] + }, + "code": { + "coding": [ + { + "code": "task", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "extension": [ + { + "url": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "valueString": "write-questionnaireresponse-resource" + }, + { + "extension": [ + { + "url": "permission", + "valueCode": "write" + }, + { + "url": "resource", + "valueCode": "QuestionnaireResponse" + } + ], + "url": "http://gofr.org/fhir/StructureDefinition/task-attributes" + } + ] + } + ] +} diff --git a/fshmcsd/build/input/vocabulary/CodeSystem-gofr-jurisdiction-type.json b/fshmcsd/fsh-generated/resources/CodeSystem-gofr-jurisdiction-type.json similarity index 100% rename from fshmcsd/build/input/vocabulary/CodeSystem-gofr-jurisdiction-type.json rename to fshmcsd/fsh-generated/resources/CodeSystem-gofr-jurisdiction-type.json index 6d16858aa..a2576dbd7 100644 --- a/fshmcsd/build/input/vocabulary/CodeSystem-gofr-jurisdiction-type.json +++ b/fshmcsd/fsh-generated/resources/CodeSystem-gofr-jurisdiction-type.json @@ -7,7 +7,6 @@ "title": "Jurisdiction Type(Country/Region/District/County)", "version": "0.3.0", "url": "http://gofr.org/fhir/CodeSystem/gofr-jurisdiction-type", - "date": "2020-11-12T08:41:04.362Z", "concept": [ { "code": "country", @@ -30,5 +29,6 @@ "definition": "County" } ], + "date": "2020-11-12T08:41:04.362Z", "count": 4 } diff --git a/fshcustom/build/input/vocabulary/CodeSystem-gofr-organization-hiearchy-type-codesystem.json b/fshmcsd/fsh-generated/resources/CodeSystem-gofr-organization-hiearchy-type-codesystem.json similarity index 100% rename from fshcustom/build/input/vocabulary/CodeSystem-gofr-organization-hiearchy-type-codesystem.json rename to fshmcsd/fsh-generated/resources/CodeSystem-gofr-organization-hiearchy-type-codesystem.json index df02cb953..531cd8644 100644 --- a/fshcustom/build/input/vocabulary/CodeSystem-gofr-organization-hiearchy-type-codesystem.json +++ b/fshmcsd/fsh-generated/resources/CodeSystem-gofr-organization-hiearchy-type-codesystem.json @@ -7,7 +7,6 @@ "title": "Organization Hierarchy Type", "version": "0.1.0", "url": "http://gofr.org/fhir/CodeSystem/gofr-organization-hiearchy-type-codesystem", - "date": "2021-07-17T08:32:04.362Z", "concept": [ { "code": "funder", @@ -18,5 +17,6 @@ "display": "Operational" } ], + "date": "2021-07-17T08:32:04.362Z", "count": 2 } diff --git a/fshmcsd/build/input/vocabulary/CodeSystem-gofr-resource-codesystem.json b/fshmcsd/fsh-generated/resources/CodeSystem-gofr-resource-codesystem.json similarity index 100% rename from fshmcsd/build/input/vocabulary/CodeSystem-gofr-resource-codesystem.json rename to fshmcsd/fsh-generated/resources/CodeSystem-gofr-resource-codesystem.json diff --git a/fshmcsd/build/input/vocabulary/CodeSystem-gofr-task-permission.json b/fshmcsd/fsh-generated/resources/CodeSystem-gofr-task-permission.json similarity index 100% rename from fshmcsd/build/input/vocabulary/CodeSystem-gofr-task-permission.json rename to fshmcsd/fsh-generated/resources/CodeSystem-gofr-task-permission.json index 8985db0ca..8fc99898c 100644 --- a/fshmcsd/build/input/vocabulary/CodeSystem-gofr-task-permission.json +++ b/fshmcsd/fsh-generated/resources/CodeSystem-gofr-task-permission.json @@ -7,7 +7,6 @@ "title": "Code system for task permissions.", "version": "0.3.0", "url": "http://gofr.org/fhir/CodeSystem/gofr-task-permission", - "date": "2021-03-26T09:25:04.362Z", "concept": [ { "code": "*", @@ -40,5 +39,6 @@ "definition": "Special non-resource permissions." } ], + "date": "2021-03-26T09:25:04.362Z", "count": 6 } diff --git a/fshmcsd/build/input/vocabulary/CodeSystem-gofr-task-resource.json b/fshmcsd/fsh-generated/resources/CodeSystem-gofr-task-resource.json similarity index 94% rename from fshmcsd/build/input/vocabulary/CodeSystem-gofr-task-resource.json rename to fshmcsd/fsh-generated/resources/CodeSystem-gofr-task-resource.json index d594e2259..4b3d5b852 100644 --- a/fshmcsd/build/input/vocabulary/CodeSystem-gofr-task-resource.json +++ b/fshmcsd/fsh-generated/resources/CodeSystem-gofr-task-resource.json @@ -7,7 +7,6 @@ "title": "Code system for task permissions.", "version": "0.3.0", "url": "http://gofr.org/fhir/CodeSystem/gofr-task-resource", - "date": "2021-03-26T09:25:04.362Z", "concept": [ { "code": "*", @@ -65,6 +64,10 @@ "code": "Person", "display": "Person" }, + { + "code": "metadata", + "display": "metadata" + }, { "code": "Custom", "display": "Custom" @@ -74,5 +77,6 @@ "display": "Navigation" } ], - "count": 16 + "date": "2021-03-26T09:25:04.362Z", + "count": 17 } diff --git a/fshmcsd/build/input/vocabulary/CodeSystem-ihris-resource-codesystem.json b/fshmcsd/fsh-generated/resources/CodeSystem-ihris-resource-codesystem.json similarity index 100% rename from fshmcsd/build/input/vocabulary/CodeSystem-ihris-resource-codesystem.json rename to fshmcsd/fsh-generated/resources/CodeSystem-ihris-resource-codesystem.json diff --git a/fshmcsd/build/input/vocabulary/CodeSystem-request-status-codesystem.json b/fshmcsd/fsh-generated/resources/CodeSystem-request-status-codesystem.json similarity index 100% rename from fshmcsd/build/input/vocabulary/CodeSystem-request-status-codesystem.json rename to fshmcsd/fsh-generated/resources/CodeSystem-request-status-codesystem.json index a63c9b56e..452bc9d92 100644 --- a/fshmcsd/build/input/vocabulary/CodeSystem-request-status-codesystem.json +++ b/fshmcsd/fsh-generated/resources/CodeSystem-request-status-codesystem.json @@ -7,7 +7,6 @@ "title": "Request Status", "version": "\"0.1.0\"ServiceDeliveryLocationRoleType", "url": "http://gofr.org/fhir/CodeSystem/request-status-codesystem", - "date": "2021-05-24T11:16:04.362Z", "concept": [ { "code": "approved", @@ -22,5 +21,6 @@ "display": "Pending" } ], + "date": "2021-05-24T11:16:04.362Z", "count": 3 } diff --git a/fshmcsd/build/input/vocabulary/CodeSystem-urn-ietf-rfc-398.json b/fshmcsd/fsh-generated/resources/CodeSystem-urn-ietf-rfc-398.json similarity index 100% rename from fshmcsd/build/input/vocabulary/CodeSystem-urn-ietf-rfc-398.json rename to fshmcsd/fsh-generated/resources/CodeSystem-urn-ietf-rfc-398.json index 533c084c2..1fa5f6589 100644 --- a/fshmcsd/build/input/vocabulary/CodeSystem-urn-ietf-rfc-398.json +++ b/fshmcsd/fsh-generated/resources/CodeSystem-urn-ietf-rfc-398.json @@ -7,7 +7,6 @@ "title": "mCSD Location Type", "version": "0.1.0", "url": "urn:ietf:rfc:398", - "date": "2021-09-30T10:06:04.362Z", "concept": [ { "code": "urn:ihe:iti:mcsd:2019:facility", @@ -18,5 +17,6 @@ "display": "Jurisdiction" } ], + "date": "2021-09-30T10:06:04.362Z", "count": 2 } diff --git a/fshmcsd/build/input/examples/Organization-54cdcbe3-87e0-421f-b657-8313fce5f418.json b/fshmcsd/fsh-generated/resources/Organization-54cdcbe3-87e0-421f-b657-8313fce5f418.json similarity index 100% rename from fshmcsd/build/input/examples/Organization-54cdcbe3-87e0-421f-b657-8313fce5f418.json rename to fshmcsd/fsh-generated/resources/Organization-54cdcbe3-87e0-421f-b657-8313fce5f418.json diff --git a/fshmcsd/build/input/examples/Person-e9b41c35-7c85-46df-aeea-a4e8dbf0364e.json b/fshmcsd/fsh-generated/resources/Person-e9b41c35-7c85-46df-aeea-a4e8dbf0364e.json similarity index 93% rename from fshmcsd/build/input/examples/Person-e9b41c35-7c85-46df-aeea-a4e8dbf0364e.json rename to fshmcsd/fsh-generated/resources/Person-e9b41c35-7c85-46df-aeea-a4e8dbf0364e.json index b111ea505..cb0030f47 100644 --- a/fshmcsd/build/input/examples/Person-e9b41c35-7c85-46df-aeea-a4e8dbf0364e.json +++ b/fshmcsd/fsh-generated/resources/Person-e9b41c35-7c85-46df-aeea-a4e8dbf0364e.json @@ -8,7 +8,7 @@ }, "extension": [ { - "url": "organization", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization", "valueReference": { "reference": "Organization/54cdcbe3-87e0-421f-b657-8313fce5f418" } diff --git a/fshcustom/build/input/resources/Questionnaire-gofr-facility-add-request-questionnaire.json b/fshmcsd/fsh-generated/resources/Questionnaire-gofr-facility-add-request-questionnaire.json similarity index 99% rename from fshcustom/build/input/resources/Questionnaire-gofr-facility-add-request-questionnaire.json rename to fshmcsd/fsh-generated/resources/Questionnaire-gofr-facility-add-request-questionnaire.json index 2e245ce7d..c41302d73 100644 --- a/fshcustom/build/input/resources/Questionnaire-gofr-facility-add-request-questionnaire.json +++ b/fshmcsd/fsh-generated/resources/Questionnaire-gofr-facility-add-request-questionnaire.json @@ -6,9 +6,9 @@ "http://gofr.org/fhir/StructureDefinition/ihris-questionnaire" ] }, + "url": "http://gofr.org/fhir/Questionnaire/gofr-facility-add-request-questionnaire", "title": "GOFR Facility Add Request Questionnaire", "description": "GOFR Questionnaire For Request To Add Facility.", - "url": "http://gofr.org/fhir/Questionnaire/gofr-facility-add-request-questionnaire", "name": "gofr-facility-add-request-questionnaire", "status": "active", "date": "2021-04-24", @@ -74,7 +74,7 @@ { "valueCoding": { "code": "bu", - "system": "http://hl7.org/fhir/ValueSet/location-physical-type", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", "display": "Building" }, "initialSelected": true diff --git a/fshmcsd/build/input/resources/Questionnaire-gofr-facility-questionnaire.json b/fshmcsd/fsh-generated/resources/Questionnaire-gofr-facility-questionnaire.json similarity index 99% rename from fshmcsd/build/input/resources/Questionnaire-gofr-facility-questionnaire.json rename to fshmcsd/fsh-generated/resources/Questionnaire-gofr-facility-questionnaire.json index 6616228e7..c18619bab 100644 --- a/fshmcsd/build/input/resources/Questionnaire-gofr-facility-questionnaire.json +++ b/fshmcsd/fsh-generated/resources/Questionnaire-gofr-facility-questionnaire.json @@ -6,9 +6,9 @@ "http://gofr.org/fhir/StructureDefinition/ihris-questionnaire" ] }, + "url": "http://gofr.org/fhir/Questionnaire/gofr-facility-questionnaire", "title": "GOFR Facility Questionnaire", "description": "iHRIS Facility initial data entry questionnaire.", - "url": "http://gofr.org/fhir/Questionnaire/gofr-facility-questionnaire", "name": "gofr-facility-questionnaire", "status": "active", "date": "2021-04-24", @@ -92,7 +92,7 @@ { "valueCoding": { "code": "bu", - "system": "http://hl7.org/fhir/ValueSet/location-physical-type" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" }, "initialSelected": true } diff --git a/fshmcsd/build/input/resources/Questionnaire-gofr-jurisdiction-questionnaire.json b/fshmcsd/fsh-generated/resources/Questionnaire-gofr-jurisdiction-questionnaire.json similarity index 100% rename from fshmcsd/build/input/resources/Questionnaire-gofr-jurisdiction-questionnaire.json rename to fshmcsd/fsh-generated/resources/Questionnaire-gofr-jurisdiction-questionnaire.json index 2f9269985..954f07bb7 100644 --- a/fshmcsd/build/input/resources/Questionnaire-gofr-jurisdiction-questionnaire.json +++ b/fshmcsd/fsh-generated/resources/Questionnaire-gofr-jurisdiction-questionnaire.json @@ -6,9 +6,9 @@ "http://gofr.org/fhir/StructureDefinition/ihris-questionnaire" ] }, + "url": "http://gofr.org/fhir/Questionnaire/gofr-jurisdiction-questionnaire", "title": "GOFR Jurisdiction Questionnaire", "description": "iHRIS Jurisdiction initial data entry questionnaire.", - "url": "http://gofr.org/fhir/Questionnaire/gofr-jurisdiction-questionnaire", "name": "gofr-jurisdiction-questionnaire", "status": "active", "date": "2021-04-24", diff --git a/fshmcsd/build/input/resources/Questionnaire-gofr-organization-questionnaire.json b/fshmcsd/fsh-generated/resources/Questionnaire-gofr-organization-questionnaire.json similarity index 100% rename from fshmcsd/build/input/resources/Questionnaire-gofr-organization-questionnaire.json rename to fshmcsd/fsh-generated/resources/Questionnaire-gofr-organization-questionnaire.json index e117e5090..d420b50ba 100644 --- a/fshmcsd/build/input/resources/Questionnaire-gofr-organization-questionnaire.json +++ b/fshmcsd/fsh-generated/resources/Questionnaire-gofr-organization-questionnaire.json @@ -6,9 +6,9 @@ "http://gofr.org/fhir/StructureDefinition/ihris-questionnaire" ] }, + "url": "http://gofr.org/fhir/Questionnaire/gofr-organization-questionnaire", "title": "GOFR Organization Questionnaire", "description": "iHRIS Organization initial data entry questionnaire.", - "url": "http://gofr.org/fhir/Questionnaire/gofr-organization-questionnaire", "name": "gofr-organization-questionnaire", "status": "active", "date": "2021-07-19", diff --git a/fshmcsd/build/input/examples/SearchParameter-IHE.mCSD.Organization.HierarchyPartOf.json b/fshmcsd/fsh-generated/resources/SearchParameter-IHE.mCSD.Organization.HierarchyPartOf.json similarity index 100% rename from fshmcsd/build/input/examples/SearchParameter-IHE.mCSD.Organization.HierarchyPartOf.json rename to fshmcsd/fsh-generated/resources/SearchParameter-IHE.mCSD.Organization.HierarchyPartOf.json diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-request-status.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-request-status.json similarity index 100% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-request-status.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-request-status.json diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-pair-source1.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-pair-source1.json similarity index 73% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-search-pair-source1.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-pair-source1.json index 219557fdd..7a1c49cc8 100644 --- a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-pair-source1.json +++ b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-pair-source1.json @@ -11,8 +11,8 @@ "Basic" ], "type": "reference", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/source1')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/source1']", + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasourcepair').extension('http://gofr.org/fhir/StructureDefinition/source1')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasourcepair']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/source1']", "target": [ "Basic" ] diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-pair-source2.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-pair-source2.json similarity index 73% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-search-pair-source2.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-pair-source2.json index 583fd3dff..5d077abff 100644 --- a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-pair-source2.json +++ b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-pair-source2.json @@ -11,8 +11,8 @@ "Basic" ], "type": "reference", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/source2')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/source2']", + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasourcepair').extension('http://gofr.org/fhir/StructureDefinition/source2')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasourcepair']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/source2']", "target": [ "Basic" ] diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-pair-status.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-pair-status.json similarity index 72% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-search-pair-status.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-pair-status.json index 8292f921a..284a27d04 100644 --- a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-pair-status.json +++ b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-pair-status.json @@ -11,6 +11,6 @@ "Basic" ], "type": "string", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/status')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/status']" + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasourcepair').extension('http://gofr.org/fhir/StructureDefinition/status')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasourcepair']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/status']" } diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-pairpartition.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-pairpartition.json similarity index 73% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-search-pairpartition.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-pairpartition.json index 80da3baf9..8ac44e17a 100644 --- a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-pairpartition.json +++ b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-pairpartition.json @@ -11,8 +11,8 @@ "Basic" ], "type": "reference", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']", + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasourcepair').extension('http://gofr.org/fhir/StructureDefinition/partition')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasourcepair']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']", "target": [ "Basic" ] diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-dhis2orgid.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-dhis2orgid.json similarity index 76% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-dhis2orgid.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-dhis2orgid.json index 123425a84..581cf170d 100644 --- a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-dhis2orgid.json +++ b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-dhis2orgid.json @@ -11,6 +11,6 @@ "Basic" ], "type": "string", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/pairowner').extension('dhis2orgid')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/pairowner']/f:extension[@url='dhis2OrgId']" + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/pairowner').extension('dhis2orgid')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/pairowner']/f:extension[@url='dhis2OrgId']" } diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-share-all.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-share-all.json similarity index 71% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-share-all.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-share-all.json index cd4cea5b4..ee1f7c91e 100644 --- a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-share-all.json +++ b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-share-all.json @@ -11,6 +11,6 @@ "Basic" ], "type": "token", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/shared').extension('http://gofr.org/fhir/StructureDefinition/shareToAll').extension('activated')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shareToAll']/f:extension[@url='activated']" + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/shared').extension('http://gofr.org/fhir/StructureDefinition/shareToAll').extension('activated')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shareToAll']/f:extension[@url='activated']" } diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-share-same-orgid.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-share-same-orgid.json similarity index 77% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-share-same-orgid.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-share-same-orgid.json index f1e0e8a99..ba55d7b99 100644 --- a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-share-same-orgid.json +++ b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-share-same-orgid.json @@ -11,6 +11,6 @@ "Basic" ], "type": "token", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/shared').extension('shareToSameOrgid')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='shareToSameOrgid']" + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/shared').extension('shareToSameOrgid')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='shareToSameOrgid']" } diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-shared-activated.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-shared-activated.json similarity index 78% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-shared-activated.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-shared-activated.json index abb486a23..66d351f57 100644 --- a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-shared-activated.json +++ b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-shared-activated.json @@ -11,8 +11,8 @@ "Basic" ], "type": "reference", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/shared').extension('activeUsers')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='activeUsers']", + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/shared').extension('activeUsers')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='activeUsers']", "target": [ "Person" ] diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-shared-user.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-shared-user.json similarity index 72% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-shared-user.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-shared-user.json index 662554dd0..e05ba535f 100644 --- a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partition-shared-user.json +++ b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partition-shared-user.json @@ -11,8 +11,8 @@ "Basic" ], "type": "reference", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/shared').extension('http://gofr.org/fhir/StructureDefinition/shareduser').extension('user')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shareduser']/f:extension[@url='user']", + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/shared').extension('http://gofr.org/fhir/StructureDefinition/shareduser').extension('user')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shareduser']/f:extension[@url='user']", "target": [ "Person" ] diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partitionid.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partitionid.json similarity index 77% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partitionid.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partitionid.json index bf2a2521b..2ecd84ac6 100644 --- a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partitionid.json +++ b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partitionid.json @@ -11,6 +11,6 @@ "Basic" ], "type": "number", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/partitionID')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partitionID']" + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/partitionID')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partitionID']" } diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partitionowner.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partitionowner.json similarity index 76% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partitionowner.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partitionowner.json index b2a65dc17..8563e8639 100644 --- a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-partitionowner.json +++ b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-partitionowner.json @@ -11,8 +11,8 @@ "Basic" ], "type": "reference", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/owner').extension('userID')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/owner']/f:extension[@url='userID']", + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/owner').extension('userID')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/owner']/f:extension[@url='userID']", "target": [ "Person" ] diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-sourceType.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-sourceType.json similarity index 72% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-search-sourceType.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-sourceType.json index 138068b51..f01daf95f 100644 --- a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-sourceType.json +++ b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-sourceType.json @@ -11,6 +11,6 @@ "Basic" ], "type": "string", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/sourceType')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/sourceType']" + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasource').extension('http://gofr.org/fhir/StructureDefinition/sourceType')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasource']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/sourceType']" } diff --git a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-sourcepartition.json b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-sourcepartition.json similarity index 76% rename from fshmcsd/build/input/capabilities/SearchParameter-gofr-search-sourcepartition.json rename to fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-sourcepartition.json index aa02d11c2..aca555866 100644 --- a/fshmcsd/build/input/capabilities/SearchParameter-gofr-search-sourcepartition.json +++ b/fshmcsd/fsh-generated/resources/SearchParameter-gofr-search-sourcepartition.json @@ -11,8 +11,8 @@ "Basic" ], "type": "reference", - "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition')", - "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']", + "expression": "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasource').extension('http://gofr.org/fhir/StructureDefinition/partition')", + "xpath": "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasource']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']", "target": [ "Basic" ] diff --git a/fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.FacilityLocation.json b/fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.FacilityLocation.json similarity index 100% rename from fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.FacilityLocation.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.FacilityLocation.json diff --git a/fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.FacilityOrganization.json b/fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.FacilityOrganization.json similarity index 100% rename from fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.FacilityOrganization.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.FacilityOrganization.json diff --git a/fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.HealthcareService.json b/fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.HealthcareService.json similarity index 100% rename from fshcustom/build/input/profiles/StructureDefinition-IHE.mCSD.HealthcareService.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.HealthcareService.json diff --git a/fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.JurisdictionLocation.json b/fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.JurisdictionLocation.json similarity index 99% rename from fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.JurisdictionLocation.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.JurisdictionLocation.json index d0cc522d0..c497a54e1 100644 --- a/fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.JurisdictionLocation.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.JurisdictionLocation.json @@ -1773,7 +1773,6 @@ "source": "http://hl7.org/fhir/StructureDefinition/Element" } ], - "mustSupport": true, "isModifier": false, "isSummary": true, "binding": { diff --git a/fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.JurisdictionOrganization.json b/fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.JurisdictionOrganization.json similarity index 99% rename from fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.JurisdictionOrganization.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.JurisdictionOrganization.json index 4534d57a4..f0029d5fd 100644 --- a/fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.JurisdictionOrganization.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.JurisdictionOrganization.json @@ -2242,7 +2242,6 @@ "source": "http://hl7.org/fhir/StructureDefinition/Element" } ], - "mustSupport": true, "isModifier": false, "isSummary": true, "binding": { diff --git a/fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.Location.json b/fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.Location.json similarity index 100% rename from fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.Location.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.Location.json diff --git a/fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.LocationDistance.json b/fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.LocationDistance.json similarity index 100% rename from fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.LocationDistance.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.LocationDistance.json diff --git a/fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.Organization.json b/fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.Organization.json similarity index 100% rename from fshmcsd/build/input/profiles/StructureDefinition-IHE.mCSD.Organization.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.Organization.json diff --git a/fshmcsd/build/input/extensions/StructureDefinition-IHE.mCSD.hierarchy.extension.json b/fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.hierarchy.extension.json similarity index 98% rename from fshmcsd/build/input/extensions/StructureDefinition-IHE.mCSD.hierarchy.extension.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.hierarchy.extension.json index 315a76cb2..014c9d5f6 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-IHE.mCSD.hierarchy.extension.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-IHE.mCSD.hierarchy.extension.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "mCSD Additional Hierarchies extension for mCSD Organization.", + "definition": "If there are additional hierarchies (such as funding source),then use this extension.", "min": 0, "max": "*", "base": { @@ -941,6 +941,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "mCSD Additional Hierarchies extension for mCSD Organization.", + "definition": "If there are additional hierarchies (such as funding source),then use this extension." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshcustom/build/input/extensions/StructureDefinition-gofr-assign-role.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-assign-role.json similarity index 98% rename from fshcustom/build/input/extensions/StructureDefinition-gofr-assign-role.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-gofr-assign-role.json index 2efc10884..7831d59aa 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-gofr-assign-role.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-assign-role.json @@ -45,8 +45,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Assign Role", + "definition": "GOFR Assign Role to a user or other role.", "min": 0, "max": "*", "base": { @@ -572,6 +572,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Assign Role", + "definition": "GOFR Assign Role to a user or other role." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshcustom/build/input/extensions/StructureDefinition-gofr-basic-name.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-basic-name.json similarity index 97% rename from fshcustom/build/input/extensions/StructureDefinition-gofr-basic-name.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-gofr-basic-name.json index 00ed21e92..3ccf7801d 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-gofr-basic-name.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-basic-name.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Basic Name", + "definition": "GOFR name field for basic resources.", "min": 0, "max": "*", "base": { @@ -302,6 +302,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Basic Name", + "definition": "GOFR name field for basic resources." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshcustom/build/input/profiles/StructureDefinition-gofr-datasource-pair.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-datasource-pair.json similarity index 83% rename from fshcustom/build/input/profiles/StructureDefinition-gofr-datasource-pair.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-gofr-datasource-pair.json index f8b99f8a5..cb3c98197 100644 --- a/fshcustom/build/input/profiles/StructureDefinition-gofr-datasource-pair.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-datasource-pair.json @@ -353,7 +353,7 @@ "extensions", "user content" ], - "min": 6, + "min": 1, "max": "*", "base": { "path": "DomainResource.extension", @@ -393,9 +393,9 @@ ] }, { - "id": "Basic.extension:partition", + "id": "Basic.extension:datasourcepair", "path": "Basic.extension", - "sliceName": "partition", + "sliceName": "datasourcepair", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", @@ -412,7 +412,10 @@ }, "type": [ { - "code": "Extension" + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource-pair" + ] } ], "constraint": [ @@ -444,7 +447,7 @@ ] }, { - "id": "Basic.extension:partition.id", + "id": "Basic.extension:datasourcepair.id", "path": "Basic.extension.id", "representation": [ "xmlAttr" @@ -479,8 +482,153 @@ ] }, { - "id": "Basic.extension:partition.extension", + "id": "Basic.extension:datasourcepair.extension", + "path": "Basic.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 6, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:datasourcepair.extension:partition", "path": "Basic.extension.extension", + "sliceName": "partition", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:datasourcepair.extension:partition.id", + "path": "Basic.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:datasourcepair.extension:partition.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -538,8 +686,8 @@ ] }, { - "id": "Basic.extension:partition.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasourcepair.extension:partition.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -575,8 +723,8 @@ ] }, { - "id": "Basic.extension:partition.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:partition.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -624,8 +772,8 @@ ] }, { - "id": "Basic.extension:partition.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:partition.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", "label": "partition ID", "short": "Value of extension", @@ -666,11 +814,11 @@ ] }, { - "id": "Basic.extension:name", - "path": "Basic.extension", + "id": "Basic.extension:datasourcepair.extension:name", + "path": "Basic.extension.extension", "sliceName": "name", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -679,7 +827,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -712,13 +860,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:name.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasourcepair.extension:name.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -752,8 +900,8 @@ ] }, { - "id": "Basic.extension:name.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasourcepair.extension:name.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -811,8 +959,8 @@ ] }, { - "id": "Basic.extension:name.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasourcepair.extension:name.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -848,8 +996,8 @@ ] }, { - "id": "Basic.extension:name.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:name.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -894,8 +1042,8 @@ ] }, { - "id": "Basic.extension:name.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:name.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Name", "short": "Value of extension", @@ -933,11 +1081,11 @@ ] }, { - "id": "Basic.extension:source1", - "path": "Basic.extension", + "id": "Basic.extension:datasourcepair.extension:source1", + "path": "Basic.extension.extension", "sliceName": "source1", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -946,7 +1094,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -979,13 +1127,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:source1.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasourcepair.extension:source1.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1019,8 +1167,8 @@ ] }, { - "id": "Basic.extension:source1.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasourcepair.extension:source1.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1078,8 +1226,8 @@ ] }, { - "id": "Basic.extension:source1.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasourcepair.extension:source1.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1115,8 +1263,8 @@ ] }, { - "id": "Basic.extension:source1.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:source1.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1161,8 +1309,8 @@ ] }, { - "id": "Basic.extension:source1.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:source1.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", "label": "Source1", "short": "Value of extension", @@ -1203,11 +1351,11 @@ ] }, { - "id": "Basic.extension:source2", - "path": "Basic.extension", + "id": "Basic.extension:datasourcepair.extension:source2", + "path": "Basic.extension.extension", "sliceName": "source2", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1216,7 +1364,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1249,13 +1397,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:source2.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasourcepair.extension:source2.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1289,8 +1437,8 @@ ] }, { - "id": "Basic.extension:source2.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasourcepair.extension:source2.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1348,8 +1496,8 @@ ] }, { - "id": "Basic.extension:source2.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasourcepair.extension:source2.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1385,8 +1533,8 @@ ] }, { - "id": "Basic.extension:source2.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:source2.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1431,8 +1579,8 @@ ] }, { - "id": "Basic.extension:source2.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:source2.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", "label": "Source2", "short": "Value of extension", @@ -1473,11 +1621,11 @@ ] }, { - "id": "Basic.extension:status", - "path": "Basic.extension", + "id": "Basic.extension:datasourcepair.extension:status", + "path": "Basic.extension.extension", "sliceName": "status", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1486,7 +1634,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1519,13 +1667,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:status.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasourcepair.extension:status.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1559,8 +1707,8 @@ ] }, { - "id": "Basic.extension:status.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasourcepair.extension:status.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1618,8 +1766,8 @@ ] }, { - "id": "Basic.extension:status.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasourcepair.extension:status.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1655,8 +1803,8 @@ ] }, { - "id": "Basic.extension:status.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:status.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1701,8 +1849,8 @@ ] }, { - "id": "Basic.extension:status.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:status.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Status", "short": "Value of extension", @@ -1740,11 +1888,11 @@ ] }, { - "id": "Basic.extension:recoStatus", - "path": "Basic.extension", + "id": "Basic.extension:datasourcepair.extension:recoStatus", + "path": "Basic.extension.extension", "sliceName": "recoStatus", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1753,7 +1901,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1786,13 +1934,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:recoStatus.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasourcepair.extension:recoStatus.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1826,8 +1974,8 @@ ] }, { - "id": "Basic.extension:recoStatus.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasourcepair.extension:recoStatus.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1885,8 +2033,8 @@ ] }, { - "id": "Basic.extension:recoStatus.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasourcepair.extension:recoStatus.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1922,8 +2070,8 @@ ] }, { - "id": "Basic.extension:recoStatus.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:recoStatus.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1968,8 +2116,8 @@ ] }, { - "id": "Basic.extension:recoStatus.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasourcepair.extension:recoStatus.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Reconciliation Status", "short": "Value of extension", @@ -2007,36 +2155,256 @@ ] }, { - "id": "Basic.modifierExtension", - "path": "Basic.modifierExtension", - "short": "Extensions that cannot be ignored", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content" + "id": "Basic.extension:datasourcepair.url", + "path": "Basic.extension.url", + "representation": [ + "xmlAttr" ], - "min": 0, - "max": "*", + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", "base": { - "path": "DomainResource.modifierExtension", - "min": 0, - "max": "*" + "path": "Extension.url", + "min": 1, + "max": "1" }, "type": [ { - "code": "Extension" + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] } ], - "constraint": [ + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource-pair", + "isModifier": false, + "isSummary": false, + "mapping": [ { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.extension:datasourcepair.value[x]", + "path": "Basic.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.modifierExtension", + "path": "Basic.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" }, { "key": "ext-1", @@ -2314,301 +2682,24 @@ "ordered": false, "rules": "open" }, - "min": 6 - }, - { - "id": "Basic.extension:partition", - "path": "Basic.extension", - "sliceName": "partition", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:partition.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:partition.url", - "path": "Basic.extension.url", - "fixedUri": "partition" - }, - { - "id": "Basic.extension:partition.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Basic" - ] - } - ] - }, - { - "id": "Basic.extension:partition.valueReference", - "path": "Basic.extension.valueReference", - "label": "partition ID", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:name", - "path": "Basic.extension", - "sliceName": "name", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:name.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:name.url", - "path": "Basic.extension.url", - "fixedUri": "name" - }, - { - "id": "Basic.extension:name.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "string" - } - ] + "min": 1 }, { - "id": "Basic.extension:name.valueString", - "path": "Basic.extension.valueString", - "label": "Name", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:source1", + "id": "Basic.extension:datasourcepair", "path": "Basic.extension", - "sliceName": "source1", + "sliceName": "datasourcepair", "min": 1, "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:source1.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:source1.url", - "path": "Basic.extension.url", - "fixedUri": "source1" - }, - { - "id": "Basic.extension:source1.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, "type": [ { - "code": "Reference" - } - ] - }, - { - "id": "Basic.extension:source1.valueReference", - "path": "Basic.extension.valueReference", - "label": "Source1", - "min": 1, - "max": "1", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-datasource" + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource-pair" ] } ], "mustSupport": true }, - { - "id": "Basic.extension:source2", - "path": "Basic.extension", - "sliceName": "source2", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:source2.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:source2.url", - "path": "Basic.extension.url", - "fixedUri": "source2" - }, - { - "id": "Basic.extension:source2.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "Reference" - } - ] - }, - { - "id": "Basic.extension:source2.valueReference", - "path": "Basic.extension.valueReference", - "label": "Source2", - "min": 1, - "max": "1", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-datasource" - ] - } - ], - "mustSupport": true - }, - { - "id": "Basic.extension:status", - "path": "Basic.extension", - "sliceName": "status", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:status.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:status.url", - "path": "Basic.extension.url", - "fixedUri": "status" - }, - { - "id": "Basic.extension:status.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:status.valueString", - "path": "Basic.extension.valueString", - "label": "Status", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:recoStatus", - "path": "Basic.extension", - "sliceName": "recoStatus", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:recoStatus.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:recoStatus.url", - "path": "Basic.extension.url", - "fixedUri": "recoStatus" - }, - { - "id": "Basic.extension:recoStatus.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:recoStatus.valueString", - "path": "Basic.extension.valueString", - "label": "Reconciliation Status", - "min": 0, - "max": "1", - "mustSupport": true - }, { "id": "Basic.code", "path": "Basic.code", diff --git a/fshcustom/build/input/profiles/StructureDefinition-gofr-datasource.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-datasource.json similarity index 84% rename from fshcustom/build/input/profiles/StructureDefinition-gofr-datasource.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-gofr-datasource.json index f5b86bc54..7506e09d7 100644 --- a/fshcustom/build/input/profiles/StructureDefinition-gofr-datasource.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-datasource.json @@ -353,7 +353,7 @@ "extensions", "user content" ], - "min": 3, + "min": 1, "max": "*", "base": { "path": "DomainResource.extension", @@ -393,9 +393,9 @@ ] }, { - "id": "Basic.extension:partition", + "id": "Basic.extension:datasource", "path": "Basic.extension", - "sliceName": "partition", + "sliceName": "datasource", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", @@ -412,7 +412,10 @@ }, "type": [ { - "code": "Extension" + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource" + ] } ], "constraint": [ @@ -444,7 +447,7 @@ ] }, { - "id": "Basic.extension:partition.id", + "id": "Basic.extension:datasource.id", "path": "Basic.extension.id", "representation": [ "xmlAttr" @@ -479,8 +482,153 @@ ] }, { - "id": "Basic.extension:partition.extension", + "id": "Basic.extension:datasource.extension", + "path": "Basic.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 3, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:datasource.extension:partition", "path": "Basic.extension.extension", + "sliceName": "partition", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:datasource.extension:partition.id", + "path": "Basic.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:datasource.extension:partition.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -538,8 +686,8 @@ ] }, { - "id": "Basic.extension:partition.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:partition.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -575,8 +723,8 @@ ] }, { - "id": "Basic.extension:partition.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:partition.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -624,8 +772,8 @@ ] }, { - "id": "Basic.extension:partition.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:partition.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", "label": "partition ID", "short": "Value of extension", @@ -666,11 +814,11 @@ ] }, { - "id": "Basic.extension:display", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:display", + "path": "Basic.extension.extension", "sliceName": "display", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -679,7 +827,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -712,13 +860,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:display.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:display.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -752,8 +900,8 @@ ] }, { - "id": "Basic.extension:display.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:display.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -811,8 +959,8 @@ ] }, { - "id": "Basic.extension:display.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:display.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -848,8 +996,8 @@ ] }, { - "id": "Basic.extension:display.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:display.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -894,8 +1042,8 @@ ] }, { - "id": "Basic.extension:display.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:display.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Display", "short": "Value of extension", @@ -933,11 +1081,11 @@ ] }, { - "id": "Basic.extension:host", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:host", + "path": "Basic.extension.extension", "sliceName": "host", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -946,7 +1094,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -979,13 +1127,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:host.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:host.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1019,8 +1167,8 @@ ] }, { - "id": "Basic.extension:host.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:host.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1078,8 +1226,8 @@ ] }, { - "id": "Basic.extension:host.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:host.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1115,8 +1263,8 @@ ] }, { - "id": "Basic.extension:host.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:host.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1161,8 +1309,8 @@ ] }, { - "id": "Basic.extension:host.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:host.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Host", "short": "Value of extension", @@ -1200,11 +1348,11 @@ ] }, { - "id": "Basic.extension:sourceType", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:sourceType", + "path": "Basic.extension.extension", "sliceName": "sourceType", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1213,7 +1361,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1246,13 +1394,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:sourceType.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:sourceType.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1286,8 +1434,8 @@ ] }, { - "id": "Basic.extension:sourceType.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:sourceType.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1345,8 +1493,8 @@ ] }, { - "id": "Basic.extension:sourceType.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:sourceType.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1382,8 +1530,8 @@ ] }, { - "id": "Basic.extension:sourceType.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:sourceType.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1428,8 +1576,8 @@ ] }, { - "id": "Basic.extension:sourceType.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:sourceType.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Source Type", "short": "Value of extension", @@ -1467,11 +1615,11 @@ ] }, { - "id": "Basic.extension:source", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:source", + "path": "Basic.extension.extension", "sliceName": "source", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1480,7 +1628,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1513,13 +1661,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:source.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:source.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1553,8 +1701,8 @@ ] }, { - "id": "Basic.extension:source.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:source.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1612,8 +1760,8 @@ ] }, { - "id": "Basic.extension:source.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:source.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1649,8 +1797,8 @@ ] }, { - "id": "Basic.extension:source.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:source.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1695,8 +1843,8 @@ ] }, { - "id": "Basic.extension:source.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:source.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Source", "short": "Value of extension", @@ -1734,11 +1882,11 @@ ] }, { - "id": "Basic.extension:username", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:username", + "path": "Basic.extension.extension", "sliceName": "username", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1747,7 +1895,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1780,13 +1928,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:username.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:username.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1820,8 +1968,8 @@ ] }, { - "id": "Basic.extension:username.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:username.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1879,8 +2027,8 @@ ] }, { - "id": "Basic.extension:username.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:username.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1916,8 +2064,8 @@ ] }, { - "id": "Basic.extension:username.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:username.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1962,8 +2110,8 @@ ] }, { - "id": "Basic.extension:username.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:username.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Username", "short": "Value of extension", @@ -2001,11 +2149,11 @@ ] }, { - "id": "Basic.extension:password", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:password", + "path": "Basic.extension.extension", "sliceName": "password", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -2014,7 +2162,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -2047,13 +2195,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:password.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:password.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2087,8 +2235,8 @@ ] }, { - "id": "Basic.extension:password.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:password.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2146,8 +2294,8 @@ ] }, { - "id": "Basic.extension:password.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:password.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -2183,8 +2331,8 @@ ] }, { - "id": "Basic.extension:password.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:password.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -2229,8 +2377,8 @@ ] }, { - "id": "Basic.extension:password.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:password.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Password", "short": "Value of extension", @@ -2268,11 +2416,11 @@ ] }, { - "id": "Basic.extension:levelMapping", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:levelMapping", + "path": "Basic.extension.extension", "sliceName": "levelMapping", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -2281,7 +2429,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -2314,13 +2462,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:levelMapping.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:levelMapping.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2354,8 +2502,8 @@ ] }, { - "id": "Basic.extension:levelMapping.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:levelMapping.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2413,8 +2561,8 @@ ] }, { - "id": "Basic.extension:levelMapping.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:levelMapping.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -2450,8 +2598,8 @@ ] }, { - "id": "Basic.extension:levelMapping.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:levelMapping.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -2496,8 +2644,8 @@ ] }, { - "id": "Basic.extension:levelMapping.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:levelMapping.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Level Mapping", "short": "Value of extension", @@ -2535,11 +2683,11 @@ ] }, { - "id": "Basic.extension:lastUpdated", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:lastUpdated", + "path": "Basic.extension.extension", "sliceName": "lastUpdated", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -2548,7 +2696,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -2581,13 +2729,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:lastUpdated.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:lastUpdated.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2621,8 +2769,8 @@ ] }, { - "id": "Basic.extension:lastUpdated.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:lastUpdated.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2680,8 +2828,8 @@ ] }, { - "id": "Basic.extension:lastUpdated.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:lastUpdated.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -2717,8 +2865,8 @@ ] }, { - "id": "Basic.extension:lastUpdated.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:lastUpdated.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -2763,8 +2911,8 @@ ] }, { - "id": "Basic.extension:lastUpdated.value[x]:valueDateTime", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:lastUpdated.value[x]:valueDateTime", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueDateTime", "label": "Last Updated", "short": "Value of extension", @@ -2802,11 +2950,11 @@ ] }, { - "id": "Basic.extension:autoSync", - "path": "Basic.extension", + "id": "Basic.extension:datasource.extension:autoSync", + "path": "Basic.extension.extension", "sliceName": "autoSync", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -2815,7 +2963,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -2848,13 +2996,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:autoSync.id", - "path": "Basic.extension.id", + "id": "Basic.extension:datasource.extension:autoSync.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2888,8 +3036,8 @@ ] }, { - "id": "Basic.extension:autoSync.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:datasource.extension:autoSync.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2947,8 +3095,8 @@ ] }, { - "id": "Basic.extension:autoSync.url", - "path": "Basic.extension.url", + "id": "Basic.extension:datasource.extension:autoSync.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -2984,8 +3132,8 @@ ] }, { - "id": "Basic.extension:autoSync.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:autoSync.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -3030,8 +3178,8 @@ ] }, { - "id": "Basic.extension:autoSync.value[x]:valueBoolean", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:datasource.extension:autoSync.value[x]:valueBoolean", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueBoolean", "label": "Auto Sync", "short": "Value of extension", @@ -3068,6 +3216,226 @@ } ] }, + { + "id": "Basic.extension:datasource.url", + "path": "Basic.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.extension:datasource.value[x]", + "path": "Basic.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, { "id": "Basic.modifierExtension", "path": "Basic.modifierExtension", @@ -3376,461 +3744,22 @@ "ordered": false, "rules": "open" }, - "min": 3 + "min": 1 }, { - "id": "Basic.extension:partition", + "id": "Basic.extension:datasource", "path": "Basic.extension", - "sliceName": "partition", + "sliceName": "datasource", "min": 1, "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:partition.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:partition.url", - "path": "Basic.extension.url", - "fixedUri": "partition" - }, - { - "id": "Basic.extension:partition.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, "type": [ { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Basic" + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource" ] } - ] - }, - { - "id": "Basic.extension:partition.valueReference", - "path": "Basic.extension.valueReference", - "label": "partition ID", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:display", - "path": "Basic.extension", - "sliceName": "display", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:display.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:display.url", - "path": "Basic.extension.url", - "fixedUri": "display" - }, - { - "id": "Basic.extension:display.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:display.valueString", - "path": "Basic.extension.valueString", - "label": "Display", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:host", - "path": "Basic.extension", - "sliceName": "host", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:host.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:host.url", - "path": "Basic.extension.url", - "fixedUri": "host" - }, - { - "id": "Basic.extension:host.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:host.valueString", - "path": "Basic.extension.valueString", - "label": "Host", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:sourceType", - "path": "Basic.extension", - "sliceName": "sourceType", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:sourceType.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:sourceType.url", - "path": "Basic.extension.url", - "fixedUri": "sourceType" - }, - { - "id": "Basic.extension:sourceType.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:sourceType.valueString", - "path": "Basic.extension.valueString", - "label": "Source Type", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:source", - "path": "Basic.extension", - "sliceName": "source", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:source.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:source.url", - "path": "Basic.extension.url", - "fixedUri": "source" - }, - { - "id": "Basic.extension:source.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:source.valueString", - "path": "Basic.extension.valueString", - "label": "Source", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:username", - "path": "Basic.extension", - "sliceName": "username", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:username.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:username.url", - "path": "Basic.extension.url", - "fixedUri": "username" - }, - { - "id": "Basic.extension:username.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:username.valueString", - "path": "Basic.extension.valueString", - "label": "Username", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:password", - "path": "Basic.extension", - "sliceName": "password", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:password.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:password.url", - "path": "Basic.extension.url", - "fixedUri": "password" - }, - { - "id": "Basic.extension:password.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:password.valueString", - "path": "Basic.extension.valueString", - "label": "Password", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:levelMapping", - "path": "Basic.extension", - "sliceName": "levelMapping", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:levelMapping.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:levelMapping.url", - "path": "Basic.extension.url", - "fixedUri": "levelMapping" - }, - { - "id": "Basic.extension:levelMapping.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:levelMapping.valueString", - "path": "Basic.extension.valueString", - "label": "Level Mapping", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:lastUpdated", - "path": "Basic.extension", - "sliceName": "lastUpdated", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:lastUpdated.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:lastUpdated.url", - "path": "Basic.extension.url", - "fixedUri": "lastUpdated" - }, - { - "id": "Basic.extension:lastUpdated.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "dateTime" - } - ] - }, - { - "id": "Basic.extension:lastUpdated.valueDateTime", - "path": "Basic.extension.valueDateTime", - "label": "Last Updated", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:autoSync", - "path": "Basic.extension", - "sliceName": "autoSync", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:autoSync.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:autoSync.url", - "path": "Basic.extension.url", - "fixedUri": "autoSync" - }, - { - "id": "Basic.extension:autoSync.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "boolean" - } - ] - }, - { - "id": "Basic.extension:autoSync.valueBoolean", - "path": "Basic.extension.valueBoolean", - "label": "Auto Sync", - "min": 0, - "max": "1", + ], "mustSupport": true }, { diff --git a/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-dataSource-pair.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-dataSource-pair.json new file mode 100644 index 000000000..bd5a2ef58 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-dataSource-pair.json @@ -0,0 +1,2331 @@ +{ + "resourceType": "StructureDefinition", + "id": "gofr-ext-dataSource-pair", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource-pair", + "version": "0.1.0", + "name": "GofrExtDataSourcePair", + "title": "Data source pair extension", + "status": "active", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Element" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "path": "Extension", + "short": "Data source pair extension", + "definition": "Optional Extension Element - found in all resources.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 6, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition", + "path": "Extension.extension", + "sliceName": "partition", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "partition", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:partition.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:partition.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "partition ID", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "name", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Name", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source1", + "path": "Extension.extension", + "sliceName": "source1", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source1.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source1.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source1.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "source1", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source1.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source1.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Source1", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-datasource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source2", + "path": "Extension.extension", + "sliceName": "source2", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source2.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source2.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source2.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "source2", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source2.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source2.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Source2", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-datasource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:status", + "path": "Extension.extension", + "sliceName": "status", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:status.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:status.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:status.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "status", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:status.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:status.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Status", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:recoStatus", + "path": "Extension.extension", + "sliceName": "recoStatus", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:recoStatus.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:recoStatus.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:recoStatus.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "recoStatus", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:recoStatus.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:recoStatus.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Reconciliation Status", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource-pair", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Data source pair extension" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "min": 6 + }, + { + "id": "Extension.extension:partition", + "path": "Extension.extension", + "sliceName": "partition", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:partition.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:partition.url", + "path": "Extension.extension.url", + "fixedUri": "partition" + }, + { + "id": "Extension.extension:partition.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ] + }, + { + "id": "Extension.extension:partition.valueReference", + "path": "Extension.extension.valueReference", + "label": "partition ID", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:name.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:name.url", + "path": "Extension.extension.url", + "fixedUri": "name" + }, + { + "id": "Extension.extension:name.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:name.valueString", + "path": "Extension.extension.valueString", + "label": "Name", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:source1", + "path": "Extension.extension", + "sliceName": "source1", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:source1.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:source1.url", + "path": "Extension.extension.url", + "fixedUri": "source1" + }, + { + "id": "Extension.extension:source1.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference" + } + ] + }, + { + "id": "Extension.extension:source1.valueReference", + "path": "Extension.extension.valueReference", + "label": "Source1", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-datasource" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:source2", + "path": "Extension.extension", + "sliceName": "source2", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:source2.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:source2.url", + "path": "Extension.extension.url", + "fixedUri": "source2" + }, + { + "id": "Extension.extension:source2.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference" + } + ] + }, + { + "id": "Extension.extension:source2.valueReference", + "path": "Extension.extension.valueReference", + "label": "Source2", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-datasource" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:status", + "path": "Extension.extension", + "sliceName": "status", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:status.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:status.url", + "path": "Extension.extension.url", + "fixedUri": "status" + }, + { + "id": "Extension.extension:status.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:status.valueString", + "path": "Extension.extension.valueString", + "label": "Status", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:recoStatus", + "path": "Extension.extension", + "sliceName": "recoStatus", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:recoStatus.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:recoStatus.url", + "path": "Extension.extension.url", + "fixedUri": "recoStatus" + }, + { + "id": "Extension.extension:recoStatus.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:recoStatus.valueString", + "path": "Extension.extension.valueString", + "label": "Reconciliation Status", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource-pair" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "max": "0" + } + ] + } +} diff --git a/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-dataSource.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-dataSource.json new file mode 100644 index 000000000..e39a7c93f --- /dev/null +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-dataSource.json @@ -0,0 +1,3555 @@ +{ + "resourceType": "StructureDefinition", + "id": "gofr-ext-dataSource", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource", + "version": "0.1.0", + "name": "GofrExtDataSource", + "title": "Data source extension", + "status": "active", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Element" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "path": "Extension", + "short": "Data source extension", + "definition": "Optional Extension Element - found in all resources.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 3, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition", + "path": "Extension.extension", + "sliceName": "partition", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partition.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "partition", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:partition.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:partition.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "partition ID", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:display", + "path": "Extension.extension", + "sliceName": "display", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:display.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:display.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:display.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "display", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:display.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:display.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Display", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:host", + "path": "Extension.extension", + "sliceName": "host", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:host.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:host.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:host.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "host", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:host.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:host.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Host", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:sourceType", + "path": "Extension.extension", + "sliceName": "sourceType", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:sourceType.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:sourceType.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:sourceType.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "sourceType", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:sourceType.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:sourceType.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Source Type", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source", + "path": "Extension.extension", + "sliceName": "source", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:source.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "source", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:source.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Source", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:username", + "path": "Extension.extension", + "sliceName": "username", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:username.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:username.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:username.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "username", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:username.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:username.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Username", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:password", + "path": "Extension.extension", + "sliceName": "password", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:password.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:password.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:password.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "password", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:password.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:password.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Password", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:levelMapping", + "path": "Extension.extension", + "sliceName": "levelMapping", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:levelMapping.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:levelMapping.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:levelMapping.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "levelMapping", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:levelMapping.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:levelMapping.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Level Mapping", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:lastUpdated", + "path": "Extension.extension", + "sliceName": "lastUpdated", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:lastUpdated.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:lastUpdated.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:lastUpdated.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "lastUpdated", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:lastUpdated.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:lastUpdated.value[x]:valueDateTime", + "path": "Extension.extension.value[x]", + "sliceName": "valueDateTime", + "label": "Last Updated", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:autoSync", + "path": "Extension.extension", + "sliceName": "autoSync", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:autoSync.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:autoSync.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:autoSync.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "autoSync", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:autoSync.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:autoSync.value[x]:valueBoolean", + "path": "Extension.extension.value[x]", + "sliceName": "valueBoolean", + "label": "Auto Sync", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Data source extension" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "min": 3 + }, + { + "id": "Extension.extension:partition", + "path": "Extension.extension", + "sliceName": "partition", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:partition.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:partition.url", + "path": "Extension.extension.url", + "fixedUri": "partition" + }, + { + "id": "Extension.extension:partition.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ] + }, + { + "id": "Extension.extension:partition.valueReference", + "path": "Extension.extension.valueReference", + "label": "partition ID", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:display", + "path": "Extension.extension", + "sliceName": "display", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:display.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:display.url", + "path": "Extension.extension.url", + "fixedUri": "display" + }, + { + "id": "Extension.extension:display.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:display.valueString", + "path": "Extension.extension.valueString", + "label": "Display", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:host", + "path": "Extension.extension", + "sliceName": "host", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:host.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:host.url", + "path": "Extension.extension.url", + "fixedUri": "host" + }, + { + "id": "Extension.extension:host.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:host.valueString", + "path": "Extension.extension.valueString", + "label": "Host", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:sourceType", + "path": "Extension.extension", + "sliceName": "sourceType", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:sourceType.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:sourceType.url", + "path": "Extension.extension.url", + "fixedUri": "sourceType" + }, + { + "id": "Extension.extension:sourceType.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:sourceType.valueString", + "path": "Extension.extension.valueString", + "label": "Source Type", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:source", + "path": "Extension.extension", + "sliceName": "source", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:source.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:source.url", + "path": "Extension.extension.url", + "fixedUri": "source" + }, + { + "id": "Extension.extension:source.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:source.valueString", + "path": "Extension.extension.valueString", + "label": "Source", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:username", + "path": "Extension.extension", + "sliceName": "username", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:username.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:username.url", + "path": "Extension.extension.url", + "fixedUri": "username" + }, + { + "id": "Extension.extension:username.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:username.valueString", + "path": "Extension.extension.valueString", + "label": "Username", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:password", + "path": "Extension.extension", + "sliceName": "password", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:password.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:password.url", + "path": "Extension.extension.url", + "fixedUri": "password" + }, + { + "id": "Extension.extension:password.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:password.valueString", + "path": "Extension.extension.valueString", + "label": "Password", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:levelMapping", + "path": "Extension.extension", + "sliceName": "levelMapping", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:levelMapping.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:levelMapping.url", + "path": "Extension.extension.url", + "fixedUri": "levelMapping" + }, + { + "id": "Extension.extension:levelMapping.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:levelMapping.valueString", + "path": "Extension.extension.valueString", + "label": "Level Mapping", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:lastUpdated", + "path": "Extension.extension", + "sliceName": "lastUpdated", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:lastUpdated.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:lastUpdated.url", + "path": "Extension.extension.url", + "fixedUri": "lastUpdated" + }, + { + "id": "Extension.extension:lastUpdated.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "dateTime" + } + ] + }, + { + "id": "Extension.extension:lastUpdated.valueDateTime", + "path": "Extension.extension.valueDateTime", + "label": "Last Updated", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:autoSync", + "path": "Extension.extension", + "sliceName": "autoSync", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:autoSync.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:autoSync.url", + "path": "Extension.extension.url", + "fixedUri": "autoSync" + }, + { + "id": "Extension.extension:autoSync.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "boolean" + } + ] + }, + { + "id": "Extension.extension:autoSync.valueBoolean", + "path": "Extension.extension.valueBoolean", + "label": "Auto Sync", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-dataSource" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "max": "0" + } + ] + } +} diff --git a/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-partition.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-partition.json new file mode 100644 index 000000000..f396f48f6 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-partition.json @@ -0,0 +1,6182 @@ +{ + "resourceType": "StructureDefinition", + "id": "gofr-ext-partition", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-partition", + "version": "0.1.0", + "name": "GofrExtPartition", + "title": "GOFR partition extension", + "status": "active", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Element" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "path": "Extension", + "short": "GOFR partition extension", + "definition": "Optional Extension Element - found in all resources.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 5, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partitionID", + "path": "Extension.extension", + "sliceName": "partitionID", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partitionID.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partitionID.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:partitionID.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "partitionID", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:partitionID.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "integer" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:partitionID.value[x]:valueInteger", + "path": "Extension.extension.value[x]", + "sliceName": "valueInteger", + "label": "partition ID", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "integer" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "name", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Name", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:organization", + "path": "Extension.extension", + "sliceName": "organization", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:organization.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:organization.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:organization.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "organization", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:organization.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:organization.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Owning Organization", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:createdTime", + "path": "Extension.extension", + "sliceName": "createdTime", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:createdTime.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:createdTime.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:createdTime.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "createdTime", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:createdTime.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:createdTime.value[x]:valueDateTime", + "path": "Extension.extension.value[x]", + "sliceName": "valueDateTime", + "label": "Created Time", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner", + "path": "Extension.extension", + "sliceName": "owner", + "label": "Owner Details", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/partition-owner" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID", + "path": "Extension.extension.extension", + "sliceName": "userID", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "userID", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]", + "path": "Extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference", + "path": "Extension.extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Owner", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Person" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference.id", + "path": "Extension.extension.extension.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference.extension", + "path": "Extension.extension.extension.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference.reference", + "path": "Extension.extension.extension.value[x].reference", + "short": "Literal reference, Relative, internal or absolute URL", + "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", + "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "ref-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference.type", + "path": "Extension.extension.extension.value[x].type", + "short": "Type the reference refers to (e.g. \"Patient\")", + "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", + "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRResourceTypeExt" + } + ], + "strength": "extensible", + "description": "Aa resource (or, for logical models, the URI of the logical model).", + "valueSet": "http://hl7.org/fhir/ValueSet/resource-types" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference.identifier", + "path": "Extension.extension.extension.value[x].identifier", + "short": "Logical reference, when literal reference is not known", + "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", + "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", + "min": 0, + "max": "1", + "base": { + "path": "Reference.identifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".identifier" + } + ] + }, + { + "id": "Extension.extension:owner.extension:userID.value[x]:valueReference.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Extension.extension.extension.value[x].display", + "short": "Text alternative for the resource", + "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", + "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:dhis2OrgId", + "path": "Extension.extension.extension", + "sliceName": "dhis2OrgId", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:dhis2OrgId.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:dhis2OrgId.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:owner.extension:dhis2OrgId.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "dhis2OrgId", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:dhis2OrgId.value[x]", + "path": "Extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.extension:dhis2OrgId.value[x]:valueString", + "path": "Extension.extension.extension.value[x]", + "sliceName": "valueString", + "label": "DHIS2 Org ID", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/partition-owner", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:owner.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared", + "path": "Extension.extension", + "sliceName": "shared", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/partition-sharing" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser", + "path": "Extension.extension.extension", + "sliceName": "shareduser", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/shared-user" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user", + "path": "Extension.extension.extension.extension", + "sliceName": "user", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.id", + "path": "Extension.extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.extension", + "path": "Extension.extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.url", + "path": "Extension.extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "user", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]", + "path": "Extension.extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference", + "path": "Extension.extension.extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Shared User", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Person" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.id", + "path": "Extension.extension.extension.extension.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.extension", + "path": "Extension.extension.extension.extension.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.reference", + "path": "Extension.extension.extension.extension.value[x].reference", + "short": "Literal reference, Relative, internal or absolute URL", + "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", + "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "ref-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.type", + "path": "Extension.extension.extension.extension.value[x].type", + "short": "Type the reference refers to (e.g. \"Patient\")", + "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", + "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRResourceTypeExt" + } + ], + "strength": "extensible", + "description": "Aa resource (or, for logical models, the URI of the logical model).", + "valueSet": "http://hl7.org/fhir/ValueSet/resource-types" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.identifier", + "path": "Extension.extension.extension.extension.value[x].identifier", + "short": "Logical reference, when literal reference is not known", + "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", + "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", + "min": 0, + "max": "1", + "base": { + "path": "Reference.identifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".identifier" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Extension.extension.extension.extension.value[x].display", + "short": "Text alternative for the resource", + "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", + "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit", + "path": "Extension.extension.extension.extension", + "sliceName": "locationLimit", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.id", + "path": "Extension.extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.extension", + "path": "Extension.extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.url", + "path": "Extension.extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "locationLimit", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]", + "path": "Extension.extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference", + "path": "Extension.extension.extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Limit Location", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.id", + "path": "Extension.extension.extension.extension.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.extension", + "path": "Extension.extension.extension.extension.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.reference", + "path": "Extension.extension.extension.extension.value[x].reference", + "short": "Literal reference, Relative, internal or absolute URL", + "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", + "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "ref-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.type", + "path": "Extension.extension.extension.extension.value[x].type", + "short": "Type the reference refers to (e.g. \"Patient\")", + "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", + "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRResourceTypeExt" + } + ], + "strength": "extensible", + "description": "Aa resource (or, for logical models, the URI of the logical model).", + "valueSet": "http://hl7.org/fhir/ValueSet/resource-types" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.identifier", + "path": "Extension.extension.extension.extension.value[x].identifier", + "short": "Logical reference, when literal reference is not known", + "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", + "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", + "min": 0, + "max": "1", + "base": { + "path": "Reference.identifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".identifier" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Extension.extension.extension.extension.value[x].display", + "short": "Text alternative for the resource", + "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", + "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/shared-user", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareduser.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:activeUsers", + "path": "Extension.extension.extension", + "sliceName": "activeUsers", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:activeUsers.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:activeUsers.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:activeUsers.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "activeUsers", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:activeUsers.value[x]", + "path": "Extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:activeUsers.value[x]:valueReference", + "path": "Extension.extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Active Users", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Person" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToSameOrgid", + "path": "Extension.extension.extension", + "sliceName": "shareToSameOrgid", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToSameOrgid.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToSameOrgid.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToSameOrgid.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "shareToSameOrgid", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToSameOrgid.value[x]", + "path": "Extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToSameOrgid.value[x]:valueBoolean", + "path": "Extension.extension.extension.value[x]", + "sliceName": "valueBoolean", + "label": "Share to same orgid (DHIS2)", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll", + "path": "Extension.extension.extension", + "sliceName": "shareToAll", + "label": "Share to all", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/shared-toall" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:activated", + "path": "Extension.extension.extension.extension", + "sliceName": "activated", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:activated.id", + "path": "Extension.extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:activated.extension", + "path": "Extension.extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:activated.url", + "path": "Extension.extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "activated", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:activated.value[x]", + "path": "Extension.extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:activated.value[x]:valueBoolean", + "path": "Extension.extension.extension.extension.value[x]", + "sliceName": "valueBoolean", + "label": "Activated", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:limitByUserLocation", + "path": "Extension.extension.extension.extension", + "sliceName": "limitByUserLocation", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:limitByUserLocation.id", + "path": "Extension.extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:limitByUserLocation.extension", + "path": "Extension.extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:limitByUserLocation.url", + "path": "Extension.extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "limitByUserLocation", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:limitByUserLocation.value[x]", + "path": "Extension.extension.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.extension:limitByUserLocation.value[x]:valueBoolean", + "path": "Extension.extension.extension.extension.value[x]", + "sliceName": "valueBoolean", + "label": "Limit by user location", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/shared-toall", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.extension:shareToAll.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/partition-sharing", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:shared.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-partition", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR partition extension" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "min": 5 + }, + { + "id": "Extension.extension:partitionID", + "path": "Extension.extension", + "sliceName": "partitionID", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:partitionID.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:partitionID.url", + "path": "Extension.extension.url", + "fixedUri": "partitionID" + }, + { + "id": "Extension.extension:partitionID.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "integer" + } + ] + }, + { + "id": "Extension.extension:partitionID.valueInteger", + "path": "Extension.extension.valueInteger", + "label": "partition ID", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:name.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:name.url", + "path": "Extension.extension.url", + "fixedUri": "name" + }, + { + "id": "Extension.extension:name.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.extension:name.valueString", + "path": "Extension.extension.valueString", + "label": "Name", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:organization", + "path": "Extension.extension", + "sliceName": "organization", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:organization.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:organization.url", + "path": "Extension.extension.url", + "fixedUri": "organization" + }, + { + "id": "Extension.extension:organization.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ] + }, + { + "id": "Extension.extension:organization.valueReference", + "path": "Extension.extension.valueReference", + "label": "Owning Organization", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:createdTime", + "path": "Extension.extension", + "sliceName": "createdTime", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:createdTime.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:createdTime.url", + "path": "Extension.extension.url", + "fixedUri": "createdTime" + }, + { + "id": "Extension.extension:createdTime.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "dateTime" + } + ] + }, + { + "id": "Extension.extension:createdTime.valueDateTime", + "path": "Extension.extension.valueDateTime", + "label": "Created Time", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.extension:owner", + "path": "Extension.extension", + "sliceName": "owner", + "label": "Owner Details", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/partition-owner" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:owner.extension:userID", + "path": "Extension.extension.extension", + "sliceName": "userID" + }, + { + "id": "Extension.extension:owner.extension:userID.valueReference", + "path": "Extension.extension.extension.valueReference" + }, + { + "id": "Extension.extension:owner.extension:userID.valueReference.reference", + "path": "Extension.extension.extension.valueReference.reference", + "mustSupport": true + }, + { + "id": "Extension.extension:shared", + "path": "Extension.extension", + "sliceName": "shared", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/partition-sharing" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:shared.extension:shareduser", + "path": "Extension.extension.extension", + "sliceName": "shareduser" + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user", + "path": "Extension.extension.extension.extension", + "sliceName": "user" + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.valueReference", + "path": "Extension.extension.extension.extension.valueReference" + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:user.valueReference.reference", + "path": "Extension.extension.extension.extension.valueReference.reference", + "mustSupport": true + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit", + "path": "Extension.extension.extension.extension", + "sliceName": "locationLimit" + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.valueReference", + "path": "Extension.extension.extension.extension.valueReference" + }, + { + "id": "Extension.extension:shared.extension:shareduser.extension:locationLimit.valueReference.reference", + "path": "Extension.extension.extension.extension.valueReference.reference", + "mustSupport": true + }, + { + "id": "Extension.extension:shared.extension:shareToAll", + "path": "Extension.extension.extension", + "sliceName": "shareToAll", + "label": "Share to all" + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-partition" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "max": "0" + } + ] + } +} diff --git a/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-role.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-role.json new file mode 100644 index 000000000..b4d7a50d6 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-role.json @@ -0,0 +1,1166 @@ +{ + "resourceType": "StructureDefinition", + "id": "gofr-ext-role", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role", + "version": "0.1.0", + "name": "GofrExtRole", + "title": "GOFR role extension", + "status": "active", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Element" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "path": "Extension", + "short": "GOFR role extension", + "definition": "Optional Extension Element - found in all resources.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 2, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Name", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:primary", + "path": "Extension.extension", + "sliceName": "primary", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-role-primary" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:role", + "path": "Extension.extension", + "sliceName": "role", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-assign-role" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:task", + "path": "Extension.extension", + "sliceName": "task", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:task.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:task.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:task.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "task", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:task.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:task.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Task", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR role extension" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "min": 2 + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:primary", + "path": "Extension.extension", + "sliceName": "primary", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-role-primary" + ] + } + ] + }, + { + "id": "Extension.extension:role", + "path": "Extension.extension", + "sliceName": "role", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-assign-role" + ] + } + ] + }, + { + "id": "Extension.extension:task", + "path": "Extension.extension", + "sliceName": "task", + "min": 0, + "max": "*" + }, + { + "id": "Extension.extension:task.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:task.url", + "path": "Extension.extension.url", + "fixedUri": "task" + }, + { + "id": "Extension.extension:task.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ] + }, + { + "id": "Extension.extension:task.valueReference", + "path": "Extension.extension.valueReference", + "label": "Task", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "max": "0" + } + ] + } +} diff --git a/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-task.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-task.json new file mode 100644 index 000000000..6fb3d3e08 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-ext-task.json @@ -0,0 +1,1098 @@ +{ + "resourceType": "StructureDefinition", + "id": "gofr-ext-task", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "version": "0.1.0", + "name": "GofrExtTask", + "title": "GOFR task extension", + "status": "active", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Element" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "path": "Extension", + "short": "GOFR task extension", + "definition": "Optional Extension Element - found in all resources.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:name.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:name.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "label": "Name", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:attributes", + "path": "Extension.extension", + "sliceName": "attributes", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/task-attributes" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:compositeTask", + "path": "Extension.extension", + "sliceName": "compositeTask", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:compositeTask.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:compositeTask.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:compositeTask.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "compositeTask", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:compositeTask.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:compositeTask.value[x]:valueReference", + "path": "Extension.extension.value[x]", + "sliceName": "valueReference", + "label": "Composite Task", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR task extension" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "min": 1 + }, + { + "id": "Extension.extension:name", + "path": "Extension.extension", + "sliceName": "name", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:attributes", + "path": "Extension.extension", + "sliceName": "attributes", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/task-attributes" + ] + } + ] + }, + { + "id": "Extension.extension:compositeTask", + "path": "Extension.extension", + "sliceName": "compositeTask", + "min": 0, + "max": "*" + }, + { + "id": "Extension.extension:compositeTask.extension", + "path": "Extension.extension.extension", + "max": "0" + }, + { + "id": "Extension.extension:compositeTask.url", + "path": "Extension.extension.url", + "fixedUri": "compositeTask" + }, + { + "id": "Extension.extension:compositeTask.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ] + }, + { + "id": "Extension.extension:compositeTask.valueReference", + "path": "Extension.extension.valueReference", + "label": "Composite Task", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "max": "0" + } + ] + } +} diff --git a/fshmcsd/build/input/profiles/StructureDefinition-gofr-facility-add-request.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-facility-add-request.json similarity index 100% rename from fshmcsd/build/input/profiles/StructureDefinition-gofr-facility-add-request.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-gofr-facility-add-request.json diff --git a/fshmcsd/build/input/profiles/StructureDefinition-gofr-facility-update-request.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-facility-update-request.json similarity index 100% rename from fshmcsd/build/input/profiles/StructureDefinition-gofr-facility-update-request.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-gofr-facility-update-request.json diff --git a/fshmcsd/build/input/profiles/StructureDefinition-gofr-instance-organization.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-instance-organization.json similarity index 100% rename from fshmcsd/build/input/profiles/StructureDefinition-gofr-instance-organization.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-gofr-instance-organization.json diff --git a/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-owning-organization.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-owning-organization.json new file mode 100644 index 000000000..689e4ab21 --- /dev/null +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-owning-organization.json @@ -0,0 +1,630 @@ +{ + "resourceType": "StructureDefinition", + "id": "gofr-owning-organization", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization", + "version": "0.1.0", + "name": "GofrOwningOrganization", + "title": "GOFR Owning Organization", + "status": "active", + "description": "GOFR Owning Organization", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "GofrPersonUser" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "normative" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version", + "valueCode": "4.0.0" + } + ], + "path": "Extension", + "short": "GOFR Owning Organization", + "definition": "GOFR Owning Organization", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]:valueReference", + "path": "Extension.value[x]", + "sliceName": "valueReference", + "label": "Owning Organization", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]:valueReference.id", + "path": "Extension.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.value[x]:valueReference.extension", + "path": "Extension.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.value[x]:valueReference.reference", + "path": "Extension.value[x].reference", + "label": "Owning Organization", + "short": "Literal reference, Relative, internal or absolute URL", + "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", + "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "ref-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]:valueReference.type", + "path": "Extension.value[x].type", + "short": "Type the reference refers to (e.g. \"Patient\")", + "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", + "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRResourceTypeExt" + } + ], + "strength": "extensible", + "description": "Aa resource (or, for logical models, the URI of the logical model).", + "valueSet": "http://hl7.org/fhir/ValueSet/resource-types" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]:valueReference.identifier", + "path": "Extension.value[x].identifier", + "short": "Logical reference, when literal reference is not known", + "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", + "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", + "min": 0, + "max": "1", + "base": { + "path": "Reference.identifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".identifier" + } + ] + }, + { + "id": "Extension.value[x]:valueReference.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Extension.value[x].display", + "short": "Text alternative for the resource", + "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", + "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Owning Organization", + "definition": "GOFR Owning Organization" + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "max": "0" + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "Reference" + } + ] + }, + { + "id": "Extension.valueReference", + "path": "Extension.valueReference", + "label": "Owning Organization", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Basic" + ] + } + ], + "mustSupport": true + }, + { + "id": "Extension.valueReference.reference", + "path": "Extension.valueReference.reference", + "label": "Owning Organization" + } + ] + } +} diff --git a/fshcustom/build/input/profiles/StructureDefinition-gofr-partition.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-partition.json similarity index 89% rename from fshcustom/build/input/profiles/StructureDefinition-gofr-partition.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-gofr-partition.json index 483e1cb6c..55b7d4235 100644 --- a/fshcustom/build/input/profiles/StructureDefinition-gofr-partition.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-partition.json @@ -353,7 +353,7 @@ "extensions", "user content" ], - "min": 5, + "min": 1, "max": "*", "base": { "path": "DomainResource.extension", @@ -393,9 +393,9 @@ ] }, { - "id": "Basic.extension:partitionID", + "id": "Basic.extension:partition", "path": "Basic.extension", - "sliceName": "partitionID", + "sliceName": "partition", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", @@ -412,7 +412,10 @@ }, "type": [ { - "code": "Extension" + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-ext-partition" + ] } ], "constraint": [ @@ -444,7 +447,7 @@ ] }, { - "id": "Basic.extension:partitionID.id", + "id": "Basic.extension:partition.id", "path": "Basic.extension.id", "representation": [ "xmlAttr" @@ -479,8 +482,153 @@ ] }, { - "id": "Basic.extension:partitionID.extension", + "id": "Basic.extension:partition.extension", + "path": "Basic.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 5, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:partition.extension:partitionID", "path": "Basic.extension.extension", + "sliceName": "partitionID", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:partition.extension:partitionID.id", + "path": "Basic.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:partition.extension:partitionID.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -538,8 +686,8 @@ ] }, { - "id": "Basic.extension:partitionID.url", - "path": "Basic.extension.url", + "id": "Basic.extension:partition.extension:partitionID.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -575,8 +723,8 @@ ] }, { - "id": "Basic.extension:partitionID.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:partitionID.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -621,8 +769,8 @@ ] }, { - "id": "Basic.extension:partitionID.value[x]:valueInteger", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:partitionID.value[x]:valueInteger", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueInteger", "label": "partition ID", "short": "Value of extension", @@ -660,11 +808,11 @@ ] }, { - "id": "Basic.extension:name", - "path": "Basic.extension", + "id": "Basic.extension:partition.extension:name", + "path": "Basic.extension.extension", "sliceName": "name", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -673,7 +821,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -706,13 +854,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:name.id", - "path": "Basic.extension.id", + "id": "Basic.extension:partition.extension:name.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -746,8 +894,8 @@ ] }, { - "id": "Basic.extension:name.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:name.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -805,8 +953,8 @@ ] }, { - "id": "Basic.extension:name.url", - "path": "Basic.extension.url", + "id": "Basic.extension:partition.extension:name.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -842,8 +990,8 @@ ] }, { - "id": "Basic.extension:name.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:name.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -888,8 +1036,8 @@ ] }, { - "id": "Basic.extension:name.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:name.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Name", "short": "Value of extension", @@ -927,11 +1075,11 @@ ] }, { - "id": "Basic.extension:organization", - "path": "Basic.extension", + "id": "Basic.extension:partition.extension:organization", + "path": "Basic.extension.extension", "sliceName": "organization", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -940,7 +1088,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -973,13 +1121,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:organization.id", - "path": "Basic.extension.id", + "id": "Basic.extension:partition.extension:organization.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1013,8 +1161,8 @@ ] }, { - "id": "Basic.extension:organization.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:organization.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1072,8 +1220,8 @@ ] }, { - "id": "Basic.extension:organization.url", - "path": "Basic.extension.url", + "id": "Basic.extension:partition.extension:organization.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1109,8 +1257,8 @@ ] }, { - "id": "Basic.extension:organization.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:organization.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1158,8 +1306,8 @@ ] }, { - "id": "Basic.extension:organization.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:organization.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", "label": "Owning Organization", "short": "Value of extension", @@ -1200,11 +1348,11 @@ ] }, { - "id": "Basic.extension:createdTime", - "path": "Basic.extension", + "id": "Basic.extension:partition.extension:createdTime", + "path": "Basic.extension.extension", "sliceName": "createdTime", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1213,7 +1361,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1246,13 +1394,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:createdTime.id", - "path": "Basic.extension.id", + "id": "Basic.extension:partition.extension:createdTime.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1286,8 +1434,8 @@ ] }, { - "id": "Basic.extension:createdTime.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:createdTime.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1345,8 +1493,8 @@ ] }, { - "id": "Basic.extension:createdTime.url", - "path": "Basic.extension.url", + "id": "Basic.extension:partition.extension:createdTime.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1382,8 +1530,8 @@ ] }, { - "id": "Basic.extension:createdTime.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:createdTime.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1428,8 +1576,8 @@ ] }, { - "id": "Basic.extension:createdTime.value[x]:valueDateTime", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:createdTime.value[x]:valueDateTime", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueDateTime", "label": "Created Time", "short": "Value of extension", @@ -1467,12 +1615,12 @@ ] }, { - "id": "Basic.extension:owner", - "path": "Basic.extension", + "id": "Basic.extension:partition.extension:owner", + "path": "Basic.extension.extension", "sliceName": "owner", "label": "Owner Details", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -1481,7 +1629,7 @@ "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -1517,13 +1665,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:owner.id", - "path": "Basic.extension.id", + "id": "Basic.extension:partition.extension:owner.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1557,8 +1705,8 @@ ] }, { - "id": "Basic.extension:owner.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:owner.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1616,8 +1764,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:owner.extension:userID", + "path": "Basic.extension.extension.extension", "sliceName": "userID", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -1667,8 +1815,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.id", - "path": "Basic.extension.extension.id", + "id": "Basic.extension:partition.extension:owner.extension:userID.id", + "path": "Basic.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -1702,8 +1850,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.extension", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:owner.extension:userID.extension", + "path": "Basic.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -1761,8 +1909,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.url", - "path": "Basic.extension.extension.url", + "id": "Basic.extension:partition.extension:owner.extension:userID.url", + "path": "Basic.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -1798,8 +1946,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]", + "path": "Basic.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -1844,8 +1992,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference", + "path": "Basic.extension.extension.extension.value[x]", "sliceName": "valueReference", "label": "Owner", "short": "Value of extension", @@ -1886,8 +2034,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference.id", - "path": "Basic.extension.extension.value[x].id", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference.id", + "path": "Basic.extension.extension.extension.value[x].id", "representation": [ "xmlAttr" ], @@ -1921,8 +2069,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference.extension", - "path": "Basic.extension.extension.value[x].extension", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference.extension", + "path": "Basic.extension.extension.extension.value[x].extension", "slicing": { "discriminator": [ { @@ -1980,8 +2128,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference.reference", - "path": "Basic.extension.extension.value[x].reference", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference.reference", + "path": "Basic.extension.extension.extension.value[x].reference", "short": "Literal reference, Relative, internal or absolute URL", "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", @@ -2021,8 +2169,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference.type", - "path": "Basic.extension.extension.value[x].type", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference.type", + "path": "Basic.extension.extension.extension.value[x].type", "short": "Type the reference refers to (e.g. \"Patient\")", "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", @@ -2069,8 +2217,8 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference.identifier", - "path": "Basic.extension.extension.value[x].identifier", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference.identifier", + "path": "Basic.extension.extension.extension.value[x].identifier", "short": "Logical reference, when literal reference is not known", "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", @@ -2106,14 +2254,14 @@ ] }, { - "id": "Basic.extension:owner.extension:userID.value[x]:valueReference.display", + "id": "Basic.extension:partition.extension:owner.extension:userID.value[x]:valueReference.display", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], - "path": "Basic.extension.extension.value[x].display", + "path": "Basic.extension.extension.extension.value[x].display", "short": "Text alternative for the resource", "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", @@ -2149,8 +2297,8 @@ ] }, { - "id": "Basic.extension:owner.extension:dhis2OrgId", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:owner.extension:dhis2OrgId", + "path": "Basic.extension.extension.extension", "sliceName": "dhis2OrgId", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -2200,8 +2348,8 @@ ] }, { - "id": "Basic.extension:owner.extension:dhis2OrgId.id", - "path": "Basic.extension.extension.id", + "id": "Basic.extension:partition.extension:owner.extension:dhis2OrgId.id", + "path": "Basic.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2235,8 +2383,8 @@ ] }, { - "id": "Basic.extension:owner.extension:dhis2OrgId.extension", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:owner.extension:dhis2OrgId.extension", + "path": "Basic.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2294,8 +2442,8 @@ ] }, { - "id": "Basic.extension:owner.extension:dhis2OrgId.url", - "path": "Basic.extension.extension.url", + "id": "Basic.extension:partition.extension:owner.extension:dhis2OrgId.url", + "path": "Basic.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -2331,8 +2479,8 @@ ] }, { - "id": "Basic.extension:owner.extension:dhis2OrgId.value[x]", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:owner.extension:dhis2OrgId.value[x]", + "path": "Basic.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -2377,8 +2525,8 @@ ] }, { - "id": "Basic.extension:owner.extension:dhis2OrgId.value[x]:valueString", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:owner.extension:dhis2OrgId.value[x]:valueString", + "path": "Basic.extension.extension.extension.value[x]", "sliceName": "valueString", "label": "DHIS2 Org ID", "short": "Value of extension", @@ -2416,8 +2564,8 @@ ] }, { - "id": "Basic.extension:owner.url", - "path": "Basic.extension.url", + "id": "Basic.extension:partition.extension:owner.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -2453,8 +2601,8 @@ ] }, { - "id": "Basic.extension:owner.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:owner.value[x]", + "path": "Basic.extension.extension.value[x]", "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 0, @@ -2636,11 +2784,11 @@ ] }, { - "id": "Basic.extension:shared", - "path": "Basic.extension", + "id": "Basic.extension:partition.extension:shared", + "path": "Basic.extension.extension", "sliceName": "shared", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -2649,7 +2797,7 @@ "min": 0, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -2685,13 +2833,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:shared.id", - "path": "Basic.extension.id", + "id": "Basic.extension:partition.extension:shared.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2725,8 +2873,8 @@ ] }, { - "id": "Basic.extension:shared.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2784,8 +2932,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser", + "path": "Basic.extension.extension.extension", "sliceName": "shareduser", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -2838,8 +2986,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.id", - "path": "Basic.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.id", + "path": "Basic.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -2873,8 +3021,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension", + "path": "Basic.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -2932,8 +3080,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user", + "path": "Basic.extension.extension.extension.extension", "sliceName": "user", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -2983,8 +3131,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.id", - "path": "Basic.extension.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.id", + "path": "Basic.extension.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -3018,8 +3166,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.extension", - "path": "Basic.extension.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.extension", + "path": "Basic.extension.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -3077,8 +3225,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.url", - "path": "Basic.extension.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.url", + "path": "Basic.extension.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -3114,8 +3262,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]", + "path": "Basic.extension.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -3160,8 +3308,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference", + "path": "Basic.extension.extension.extension.extension.value[x]", "sliceName": "valueReference", "label": "Shared User", "short": "Value of extension", @@ -3202,8 +3350,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.id", - "path": "Basic.extension.extension.extension.value[x].id", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.id", + "path": "Basic.extension.extension.extension.extension.value[x].id", "representation": [ "xmlAttr" ], @@ -3237,8 +3385,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.extension", - "path": "Basic.extension.extension.extension.value[x].extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.extension", + "path": "Basic.extension.extension.extension.extension.value[x].extension", "slicing": { "discriminator": [ { @@ -3296,8 +3444,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.reference", - "path": "Basic.extension.extension.extension.value[x].reference", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.reference", + "path": "Basic.extension.extension.extension.extension.value[x].reference", "short": "Literal reference, Relative, internal or absolute URL", "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", @@ -3337,8 +3485,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.type", - "path": "Basic.extension.extension.extension.value[x].type", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.type", + "path": "Basic.extension.extension.extension.extension.value[x].type", "short": "Type the reference refers to (e.g. \"Patient\")", "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", @@ -3385,8 +3533,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.identifier", - "path": "Basic.extension.extension.extension.value[x].identifier", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.identifier", + "path": "Basic.extension.extension.extension.extension.value[x].identifier", "short": "Logical reference, when literal reference is not known", "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", @@ -3422,14 +3570,14 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.display", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:user.value[x]:valueReference.display", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], - "path": "Basic.extension.extension.extension.value[x].display", + "path": "Basic.extension.extension.extension.extension.value[x].display", "short": "Text alternative for the resource", "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", @@ -3465,8 +3613,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit", + "path": "Basic.extension.extension.extension.extension", "sliceName": "locationLimit", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -3516,8 +3664,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.id", - "path": "Basic.extension.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.id", + "path": "Basic.extension.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -3551,8 +3699,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.extension", - "path": "Basic.extension.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.extension", + "path": "Basic.extension.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -3610,8 +3758,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.url", - "path": "Basic.extension.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.url", + "path": "Basic.extension.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -3647,8 +3795,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]", + "path": "Basic.extension.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -3693,8 +3841,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference", + "path": "Basic.extension.extension.extension.extension.value[x]", "sliceName": "valueReference", "label": "Limit Location", "short": "Value of extension", @@ -3735,8 +3883,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.id", - "path": "Basic.extension.extension.extension.value[x].id", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.id", + "path": "Basic.extension.extension.extension.extension.value[x].id", "representation": [ "xmlAttr" ], @@ -3770,8 +3918,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.extension", - "path": "Basic.extension.extension.extension.value[x].extension", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.extension", + "path": "Basic.extension.extension.extension.extension.value[x].extension", "slicing": { "discriminator": [ { @@ -3829,8 +3977,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.reference", - "path": "Basic.extension.extension.extension.value[x].reference", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.reference", + "path": "Basic.extension.extension.extension.extension.value[x].reference", "short": "Literal reference, Relative, internal or absolute URL", "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", @@ -3870,8 +4018,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.type", - "path": "Basic.extension.extension.extension.value[x].type", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.type", + "path": "Basic.extension.extension.extension.extension.value[x].type", "short": "Type the reference refers to (e.g. \"Patient\")", "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", @@ -3918,8 +4066,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.identifier", - "path": "Basic.extension.extension.extension.value[x].identifier", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.identifier", + "path": "Basic.extension.extension.extension.extension.value[x].identifier", "short": "Logical reference, when literal reference is not known", "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", @@ -3955,14 +4103,14 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.display", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.extension:locationLimit.value[x]:valueReference.display", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], - "path": "Basic.extension.extension.extension.value[x].display", + "path": "Basic.extension.extension.extension.extension.value[x].display", "short": "Text alternative for the resource", "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", @@ -3998,8 +4146,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.url", - "path": "Basic.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.url", + "path": "Basic.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -4035,8 +4183,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareduser.value[x]", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareduser.value[x]", + "path": "Basic.extension.extension.extension.value[x]", "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 0, @@ -4218,8 +4366,8 @@ ] }, { - "id": "Basic.extension:shared.extension:activeUsers", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:activeUsers", + "path": "Basic.extension.extension.extension", "sliceName": "activeUsers", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -4269,8 +4417,8 @@ ] }, { - "id": "Basic.extension:shared.extension:activeUsers.id", - "path": "Basic.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:activeUsers.id", + "path": "Basic.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -4304,8 +4452,8 @@ ] }, { - "id": "Basic.extension:shared.extension:activeUsers.extension", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:activeUsers.extension", + "path": "Basic.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -4363,8 +4511,8 @@ ] }, { - "id": "Basic.extension:shared.extension:activeUsers.url", - "path": "Basic.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:activeUsers.url", + "path": "Basic.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -4400,8 +4548,8 @@ ] }, { - "id": "Basic.extension:shared.extension:activeUsers.value[x]", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:activeUsers.value[x]", + "path": "Basic.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -4446,8 +4594,8 @@ ] }, { - "id": "Basic.extension:shared.extension:activeUsers.value[x]:valueReference", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:activeUsers.value[x]:valueReference", + "path": "Basic.extension.extension.extension.value[x]", "sliceName": "valueReference", "label": "Active Users", "short": "Value of extension", @@ -4488,8 +4636,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToSameOrgid", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToSameOrgid", + "path": "Basic.extension.extension.extension", "sliceName": "shareToSameOrgid", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -4539,8 +4687,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToSameOrgid.id", - "path": "Basic.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareToSameOrgid.id", + "path": "Basic.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -4574,8 +4722,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToSameOrgid.extension", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToSameOrgid.extension", + "path": "Basic.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -4633,8 +4781,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToSameOrgid.url", - "path": "Basic.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareToSameOrgid.url", + "path": "Basic.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -4670,8 +4818,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToSameOrgid.value[x]", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToSameOrgid.value[x]", + "path": "Basic.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -4716,8 +4864,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToSameOrgid.value[x]:valueBoolean", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToSameOrgid.value[x]:valueBoolean", + "path": "Basic.extension.extension.extension.value[x]", "sliceName": "valueBoolean", "label": "Share to same orgid (DHIS2)", "short": "Value of extension", @@ -4755,8 +4903,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll", - "path": "Basic.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll", + "path": "Basic.extension.extension.extension", "sliceName": "shareToAll", "label": "Share to all", "short": "Additional content defined by implementations", @@ -4810,8 +4958,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.id", - "path": "Basic.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.id", + "path": "Basic.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -4845,8 +4993,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension", + "path": "Basic.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -4904,8 +5052,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:activated", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:activated", + "path": "Basic.extension.extension.extension.extension", "sliceName": "activated", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -4955,8 +5103,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:activated.id", - "path": "Basic.extension.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:activated.id", + "path": "Basic.extension.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -4990,8 +5138,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:activated.extension", - "path": "Basic.extension.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:activated.extension", + "path": "Basic.extension.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -5049,8 +5197,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:activated.url", - "path": "Basic.extension.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:activated.url", + "path": "Basic.extension.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -5086,8 +5234,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:activated.value[x]", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:activated.value[x]", + "path": "Basic.extension.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -5132,8 +5280,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:activated.value[x]:valueBoolean", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:activated.value[x]:valueBoolean", + "path": "Basic.extension.extension.extension.extension.value[x]", "sliceName": "valueBoolean", "label": "Activated", "short": "Value of extension", @@ -5171,8 +5319,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:limitByUserLocation", - "path": "Basic.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:limitByUserLocation", + "path": "Basic.extension.extension.extension.extension", "sliceName": "limitByUserLocation", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", @@ -5222,8 +5370,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:limitByUserLocation.id", - "path": "Basic.extension.extension.extension.id", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:limitByUserLocation.id", + "path": "Basic.extension.extension.extension.extension.id", "representation": [ "xmlAttr" ], @@ -5257,8 +5405,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:limitByUserLocation.extension", - "path": "Basic.extension.extension.extension.extension", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:limitByUserLocation.extension", + "path": "Basic.extension.extension.extension.extension.extension", "slicing": { "discriminator": [ { @@ -5316,8 +5464,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:limitByUserLocation.url", - "path": "Basic.extension.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:limitByUserLocation.url", + "path": "Basic.extension.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -5353,8 +5501,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:limitByUserLocation.value[x]", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:limitByUserLocation.value[x]", + "path": "Basic.extension.extension.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -5399,8 +5547,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.extension:limitByUserLocation.value[x]:valueBoolean", - "path": "Basic.extension.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.extension:limitByUserLocation.value[x]:valueBoolean", + "path": "Basic.extension.extension.extension.extension.value[x]", "sliceName": "valueBoolean", "label": "Limit by user location", "short": "Value of extension", @@ -5438,8 +5586,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.url", - "path": "Basic.extension.extension.url", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.url", + "path": "Basic.extension.extension.extension.url", "representation": [ "xmlAttr" ], @@ -5475,8 +5623,8 @@ ] }, { - "id": "Basic.extension:shared.extension:shareToAll.value[x]", - "path": "Basic.extension.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.extension:shareToAll.value[x]", + "path": "Basic.extension.extension.extension.value[x]", "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 0, @@ -5658,8 +5806,8 @@ ] }, { - "id": "Basic.extension:shared.url", - "path": "Basic.extension.url", + "id": "Basic.extension:partition.extension:shared.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -5695,8 +5843,8 @@ ] }, { - "id": "Basic.extension:shared.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:partition.extension:shared.value[x]", + "path": "Basic.extension.extension.value[x]", "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 0, @@ -5878,48 +6026,34 @@ ] }, { - "id": "Basic.modifierExtension", - "path": "Basic.modifierExtension", - "short": "Extensions that cannot be ignored", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content" + "id": "Basic.extension:partition.url", + "path": "Basic.extension.url", + "representation": [ + "xmlAttr" ], - "min": 0, - "max": "*", + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", "base": { - "path": "DomainResource.modifierExtension", - "min": 0, - "max": "*" + "path": "Extension.url", + "min": 1, + "max": "1" }, "type": [ { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] } ], - "isModifier": true, - "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-partition", + "isModifier": false, "isSummary": false, "mapping": [ { @@ -5929,106 +6063,340 @@ ] }, { - "id": "Basic.identifier", - "path": "Basic.identifier", - "short": "Business identifier", - "definition": "Identifier assigned to the resource for business purposes, outside the context of FHIR.", + "id": "Basic.extension:partition.value[x]", + "path": "Basic.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 0, - "max": "*", + "max": "0", "base": { - "path": "Basic.identifier", + "path": "Extension.value[x]", "min": 0, - "max": "*" + "max": "1" }, "type": [ { - "code": "Identifier" - } - ], - "constraint": [ + "code": "base64Binary" + }, { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ + "code": "boolean" + }, { - "identity": "w5", - "map": "FiveWs.identifier" + "code": "canonical" }, { - "identity": "rim", - "map": "./identifier" - } - ] - }, - { - "id": "Basic.code", - "path": "Basic.code", - "short": "Kind of Resource", - "definition": "Identifies the 'type' of resource - equivalent to the resource name for other resources.", - "comment": "Because resource references will only be able to indicate 'Basic', the type of reference will need to be specified in a Profile identified as part of the resource. Refer to the resource notes section for information on appropriate terminologies for this code.\n\nThis element is labeled as a modifier because it defines the meaning of the resource and cannot be ignored.", - "requirements": "Must be able to distinguish different types of Basic resources.", - "min": 1, - "max": "1", - "base": { - "path": "Basic.code", - "min": 1, - "max": "1" - }, - "type": [ + "code": "code" + }, { - "code": "CodeableConcept" - } - ], - "patternCodeableConcept": { - "coding": [ - { - "code": "partition", - "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" - } - ] - }, - "constraint": [ + "code": "date" + }, { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": true, - "isModifierReason": "This element determines what kind of resource is being represented which drives the meaning of all of the other elements.", - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "BasicResourceType" - } - ], - "strength": "example", - "description": "Codes for identifying types of resources not yet defined by FHIR.", - "valueSet": "http://hl7.org/fhir/ValueSet/basic-resource-type" - }, - "mapping": [ + "code": "dateTime" + }, { - "identity": "w5", - "map": "FiveWs.what[x]" + "code": "decimal" }, { - "identity": "rim", - "map": "./code" - } - ] + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.modifierExtension", + "path": "Basic.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.identifier", + "path": "Basic.identifier", + "short": "Business identifier", + "definition": "Identifier assigned to the resource for business purposes, outside the context of FHIR.", + "min": 0, + "max": "*", + "base": { + "path": "Basic.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": "./identifier" + } + ] + }, + { + "id": "Basic.code", + "path": "Basic.code", + "short": "Kind of Resource", + "definition": "Identifies the 'type' of resource - equivalent to the resource name for other resources.", + "comment": "Because resource references will only be able to indicate 'Basic', the type of reference will need to be specified in a Profile identified as part of the resource. Refer to the resource notes section for information on appropriate terminologies for this code.\n\nThis element is labeled as a modifier because it defines the meaning of the resource and cannot be ignored.", + "requirements": "Must be able to distinguish different types of Basic resources.", + "min": 1, + "max": "1", + "base": { + "path": "Basic.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "code": "partition", + "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element determines what kind of resource is being represented which drives the meaning of all of the other elements.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BasicResourceType" + } + ], + "strength": "example", + "description": "Codes for identifying types of resources not yet defined by FHIR.", + "valueSet": "http://hl7.org/fhir/ValueSet/basic-resource-type" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": "./code" + } + ] }, { "id": "Basic.subject", @@ -6185,281 +6553,24 @@ "ordered": false, "rules": "open" }, - "min": 5 - }, - { - "id": "Basic.extension:partitionID", - "path": "Basic.extension", - "sliceName": "partitionID", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:partitionID.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:partitionID.url", - "path": "Basic.extension.url", - "fixedUri": "partitionID" - }, - { - "id": "Basic.extension:partitionID.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "integer" - } - ] - }, - { - "id": "Basic.extension:partitionID.valueInteger", - "path": "Basic.extension.valueInteger", - "label": "partition ID", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:name", - "path": "Basic.extension", - "sliceName": "name", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:name.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:name.url", - "path": "Basic.extension.url", - "fixedUri": "name" - }, - { - "id": "Basic.extension:name.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "string" - } - ] - }, - { - "id": "Basic.extension:name.valueString", - "path": "Basic.extension.valueString", - "label": "Name", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:organization", - "path": "Basic.extension", - "sliceName": "organization", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:organization.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:organization.url", - "path": "Basic.extension.url", - "fixedUri": "organization" - }, - { - "id": "Basic.extension:organization.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Basic" - ] - } - ] - }, - { - "id": "Basic.extension:organization.valueReference", - "path": "Basic.extension.valueReference", - "label": "Owning Organization", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:createdTime", - "path": "Basic.extension", - "sliceName": "createdTime", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:createdTime.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:createdTime.url", - "path": "Basic.extension.url", - "fixedUri": "createdTime" - }, - { - "id": "Basic.extension:createdTime.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "dateTime" - } - ] + "min": 1 }, { - "id": "Basic.extension:createdTime.valueDateTime", - "path": "Basic.extension.valueDateTime", - "label": "Created Time", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Basic.extension:owner", + "id": "Basic.extension:partition", "path": "Basic.extension", - "sliceName": "owner", - "label": "Owner Details", + "sliceName": "partition", "min": 1, "max": "1", "type": [ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/partition-owner" + "http://gofr.org/fhir/StructureDefinition/gofr-ext-partition" ] } ], "mustSupport": true }, - { - "id": "Basic.extension:owner.extension:userID", - "path": "Basic.extension.extension", - "sliceName": "userID" - }, - { - "id": "Basic.extension:owner.extension:userID.valueReference", - "path": "Basic.extension.extension.valueReference" - }, - { - "id": "Basic.extension:owner.extension:userID.valueReference.reference", - "path": "Basic.extension.extension.valueReference.reference", - "mustSupport": true - }, - { - "id": "Basic.extension:shared", - "path": "Basic.extension", - "sliceName": "shared", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "http://gofr.org/fhir/StructureDefinition/partition-sharing" - ] - } - ], - "mustSupport": true - }, - { - "id": "Basic.extension:shared.extension:shareduser", - "path": "Basic.extension.extension", - "sliceName": "shareduser" - }, - { - "id": "Basic.extension:shared.extension:shareduser.extension:user", - "path": "Basic.extension.extension.extension", - "sliceName": "user" - }, - { - "id": "Basic.extension:shared.extension:shareduser.extension:user.valueReference", - "path": "Basic.extension.extension.extension.valueReference" - }, - { - "id": "Basic.extension:shared.extension:shareduser.extension:user.valueReference.reference", - "path": "Basic.extension.extension.extension.valueReference.reference", - "mustSupport": true - }, - { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit", - "path": "Basic.extension.extension.extension", - "sliceName": "locationLimit" - }, - { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.valueReference", - "path": "Basic.extension.extension.extension.valueReference" - }, - { - "id": "Basic.extension:shared.extension:shareduser.extension:locationLimit.valueReference.reference", - "path": "Basic.extension.extension.extension.valueReference.reference", - "mustSupport": true - }, - { - "id": "Basic.extension:shared.extension:shareToAll", - "path": "Basic.extension.extension", - "sliceName": "shareToAll", - "label": "Share to all" - }, { "id": "Basic.code", "path": "Basic.code", diff --git a/fshmcsd/build/input/extensions/StructureDefinition-gofr-password.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-password.json similarity index 99% rename from fshmcsd/build/input/extensions/StructureDefinition-gofr-password.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-gofr-password.json index 64e09cc2d..5a9eebb97 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-gofr-password.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-password.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Password", + "definition": "GOFR password extension for local users.", "min": 0, "max": "*", "base": { @@ -934,6 +934,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Password", + "definition": "GOFR password extension for local users." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshmcsd/build/input/profiles/StructureDefinition-gofr-person-user.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-person-user.json similarity index 89% rename from fshmcsd/build/input/profiles/StructureDefinition-gofr-person-user.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-gofr-person-user.json index 99ae7cab4..7f7d0997b 100644 --- a/fshmcsd/build/input/profiles/StructureDefinition-gofr-person-user.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-person-user.json @@ -413,7 +413,10 @@ }, "type": [ { - "code": "Extension" + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization" + ] } ], "constraint": [ @@ -565,7 +568,7 @@ ] } ], - "fixedUri": "organization", + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization", "isModifier": false, "isSummary": false, "mapping": [ @@ -599,10 +602,7 @@ }, "type": [ { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Basic" - ] + "code": "Reference" } ], "constraint": [ @@ -666,6 +666,269 @@ } ] }, + { + "id": "Person.extension:organization.value[x]:valueReference.id", + "path": "Person.extension.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Person.extension:organization.value[x]:valueReference.extension", + "path": "Person.extension.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Person.extension:organization.value[x]:valueReference.reference", + "path": "Person.extension.value[x].reference", + "label": "Owning Organization", + "short": "Literal reference, Relative, internal or absolute URL", + "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", + "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "ref-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Person.extension:organization.value[x]:valueReference.type", + "path": "Person.extension.value[x].type", + "short": "Type the reference refers to (e.g. \"Patient\")", + "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", + "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRResourceTypeExt" + } + ], + "strength": "extensible", + "description": "Aa resource (or, for logical models, the URI of the logical model).", + "valueSet": "http://hl7.org/fhir/ValueSet/resource-types" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Person.extension:organization.value[x]:valueReference.identifier", + "path": "Person.extension.value[x].identifier", + "short": "Logical reference, when literal reference is not known", + "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", + "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", + "min": 0, + "max": "1", + "base": { + "path": "Reference.identifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".identifier" + } + ] + }, + { + "id": "Person.extension:organization.value[x]:valueReference.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Person.extension.value[x].display", + "short": "Text alternative for the resource", + "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", + "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, { "id": "Person.extension:password", "path": "Person.extension", @@ -2774,47 +3037,14 @@ "sliceName": "organization", "min": 1, "max": "1", - "mustSupport": true - }, - { - "id": "Person.extension:organization.extension", - "path": "Person.extension.extension", - "max": "0" - }, - { - "id": "Person.extension:organization.url", - "path": "Person.extension.url", - "fixedUri": "organization" - }, - { - "id": "Person.extension:organization.value[x]", - "path": "Person.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, "type": [ { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Basic" + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-owning-organization" ] } - ] - }, - { - "id": "Person.extension:organization.valueReference", - "path": "Person.extension.valueReference", - "label": "Owning Organization", - "min": 1, - "max": "1", + ], "mustSupport": true }, { diff --git a/fshmcsd/build/input/extensions/StructureDefinition-gofr-role-primary.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-role-primary.json similarity index 96% rename from fshmcsd/build/input/extensions/StructureDefinition-gofr-role-primary.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-gofr-role-primary.json index 327ce1e72..31ab8f02f 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-gofr-role-primary.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-role-primary.json @@ -45,8 +45,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Role Primary", + "definition": "GOFR flag for roles to indicate a primary role for assignment to users.", "min": 0, "max": "*", "base": { @@ -304,6 +304,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Role Primary", + "definition": "GOFR flag for roles to indicate a primary role for assignment to users." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshmcsd/build/input/profiles/StructureDefinition-gofr-task.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-role.json similarity index 76% rename from fshmcsd/build/input/profiles/StructureDefinition-gofr-task.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-gofr-role.json index f3bfbbfd4..ee02a0643 100644 --- a/fshmcsd/build/input/profiles/StructureDefinition-gofr-task.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-role.json @@ -1,6 +1,6 @@ { "resourceType": "StructureDefinition", - "id": "gofr-task", + "id": "gofr-role", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", @@ -11,12 +11,12 @@ "valueCode": "not-classified" } ], - "url": "http://gofr.org/fhir/StructureDefinition/gofr-task", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-role", "version": "0.1.0", - "name": "GofrTask", - "title": "GOFR Task", + "name": "GofrRole", + "title": "GOFR Role", "status": "active", - "description": "GOFR Profile of the Basic resource to manage tasks.", + "description": "GOFR Profile of the Basic resource to manage roles.", "fhirVersion": "4.0.1", "mapping": [ { @@ -393,9 +393,9 @@ ] }, { - "id": "Basic.extension:name", + "id": "Basic.extension:role", "path": "Basic.extension", - "sliceName": "name", + "sliceName": "role", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", @@ -414,7 +414,7 @@ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + "http://gofr.org/fhir/StructureDefinition/gofr-ext-role" ] } ], @@ -447,7 +447,7 @@ ] }, { - "id": "Basic.extension:name.id", + "id": "Basic.extension:role.id", "path": "Basic.extension.id", "representation": [ "xmlAttr" @@ -482,7 +482,7 @@ ] }, { - "id": "Basic.extension:name.extension", + "id": "Basic.extension:role.extension", "path": "Basic.extension.extension", "slicing": { "discriminator": [ @@ -501,6 +501,154 @@ "extensions", "user content" ], + "min": 2, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:role.extension:name", + "path": "Basic.extension.extension", + "sliceName": "name", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:role.extension:name.id", + "path": "Basic.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ] + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:role.extension:name.extension", + "path": "Basic.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], "min": 0, "max": "0", "base": { @@ -541,8 +689,8 @@ ] }, { - "id": "Basic.extension:name.url", - "path": "Basic.extension.url", + "id": "Basic.extension:role.extension:name.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -578,8 +726,8 @@ ] }, { - "id": "Basic.extension:name.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:role.extension:name.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -624,8 +772,8 @@ ] }, { - "id": "Basic.extension:name.value[x]:valueString", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:role.extension:name.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueString", "label": "Name", "short": "Value of extension", @@ -663,20 +811,20 @@ ] }, { - "id": "Basic.extension:attributes", - "path": "Basic.extension", - "sliceName": "attributes", + "id": "Basic.extension:role.extension:primary", + "path": "Basic.extension.extension", + "sliceName": "primary", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], - "min": 0, + "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -684,7 +832,7 @@ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/task-attributes" + "http://gofr.org/fhir/StructureDefinition/gofr-role-primary" ] } ], @@ -711,16 +859,16 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:compositeTask", - "path": "Basic.extension", - "sliceName": "compositeTask", + "id": "Basic.extension:role.extension:role", + "path": "Basic.extension.extension", + "sliceName": "role", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -729,7 +877,60 @@ "min": 0, "max": "*", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-assign-role" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:role.extension:task", + "path": "Basic.extension.extension", + "sliceName": "task", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", "min": 0, "max": "*" }, @@ -761,13 +962,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:compositeTask.id", - "path": "Basic.extension.id", + "id": "Basic.extension:role.extension:task.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -801,8 +1002,8 @@ ] }, { - "id": "Basic.extension:compositeTask.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:role.extension:task.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -860,8 +1061,8 @@ ] }, { - "id": "Basic.extension:compositeTask.url", - "path": "Basic.extension.url", + "id": "Basic.extension:role.extension:task.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -886,7 +1087,7 @@ ] } ], - "fixedUri": "compositeTask", + "fixedUri": "task", "isModifier": false, "isSummary": false, "mapping": [ @@ -897,8 +1098,8 @@ ] }, { - "id": "Basic.extension:compositeTask.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:role.extension:task.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -946,10 +1147,10 @@ ] }, { - "id": "Basic.extension:compositeTask.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:role.extension:task.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", - "label": "Composite Task", + "label": "Task", "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 1, @@ -987,6 +1188,226 @@ } ] }, + { + "id": "Basic.extension:role.url", + "path": "Basic.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-role", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.extension:role.value[x]", + "path": "Basic.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, { "id": "Basic.modifierExtension", "path": "Basic.modifierExtension", @@ -1100,7 +1521,7 @@ "patternCodeableConcept": { "coding": [ { - "code": "task", + "code": "role", "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" } ] @@ -1298,91 +1719,28 @@ "min": 1 }, { - "id": "Basic.extension:name", + "id": "Basic.extension:role", "path": "Basic.extension", - "sliceName": "name", + "sliceName": "role", "min": 1, "max": "1", "type": [ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + "http://gofr.org/fhir/StructureDefinition/gofr-ext-role" ] } ], "mustSupport": true }, - { - "id": "Basic.extension:attributes", - "path": "Basic.extension", - "sliceName": "attributes", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "http://gofr.org/fhir/StructureDefinition/task-attributes" - ] - } - ] - }, - { - "id": "Basic.extension:compositeTask", - "path": "Basic.extension", - "sliceName": "compositeTask", - "min": 0, - "max": "*" - }, - { - "id": "Basic.extension:compositeTask.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:compositeTask.url", - "path": "Basic.extension.url", - "fixedUri": "compositeTask" - }, - { - "id": "Basic.extension:compositeTask.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Basic" - ] - } - ] - }, - { - "id": "Basic.extension:compositeTask.valueReference", - "path": "Basic.extension.valueReference", - "label": "Composite Task", - "min": 1, - "max": "1", - "mustSupport": true - }, { "id": "Basic.code", "path": "Basic.code", "patternCodeableConcept": { "coding": [ { - "code": "task", + "code": "role", "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" } ] diff --git a/fshcustom/build/input/profiles/StructureDefinition-gofr-role.json b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-task.json similarity index 82% rename from fshcustom/build/input/profiles/StructureDefinition-gofr-role.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-gofr-task.json index 8ef27238b..c5888be03 100644 --- a/fshcustom/build/input/profiles/StructureDefinition-gofr-role.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-gofr-task.json @@ -1,6 +1,6 @@ { "resourceType": "StructureDefinition", - "id": "gofr-role", + "id": "gofr-task", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", @@ -11,12 +11,12 @@ "valueCode": "not-classified" } ], - "url": "http://gofr.org/fhir/StructureDefinition/gofr-role", + "url": "http://gofr.org/fhir/StructureDefinition/gofr-task", "version": "0.1.0", - "name": "GofrRole", - "title": "GOFR Role", + "name": "GofrTask", + "title": "GOFR Task", "status": "active", - "description": "GOFR Profile of the Basic resource to manage roles.", + "description": "GOFR Profile of the Basic resource to manage tasks.", "fhirVersion": "4.0.1", "mapping": [ { @@ -353,7 +353,7 @@ "extensions", "user content" ], - "min": 2, + "min": 1, "max": "*", "base": { "path": "DomainResource.extension", @@ -393,9 +393,9 @@ ] }, { - "id": "Basic.extension:name", + "id": "Basic.extension:task", "path": "Basic.extension", - "sliceName": "name", + "sliceName": "task", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", @@ -414,7 +414,7 @@ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + "http://gofr.org/fhir/StructureDefinition/gofr-ext-task" ] } ], @@ -447,7 +447,7 @@ ] }, { - "id": "Basic.extension:name.id", + "id": "Basic.extension:task.id", "path": "Basic.extension.id", "representation": [ "xmlAttr" @@ -482,7 +482,7 @@ ] }, { - "id": "Basic.extension:name.extension", + "id": "Basic.extension:task.extension", "path": "Basic.extension.extension", "slicing": { "discriminator": [ @@ -501,8 +501,8 @@ "extensions", "user content" ], - "min": 0, - "max": "0", + "min": 1, + "max": "*", "base": { "path": "Element.extension", "min": 0, @@ -541,19 +541,72 @@ ] }, { - "id": "Basic.extension:name.url", - "path": "Basic.extension.url", + "id": "Basic.extension:task.extension:name", + "path": "Basic.extension.extension", + "sliceName": "name", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Basic.extension:task.extension:name.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], - "short": "identifies the meaning of the extension", - "definition": "Source of the definition for the extension code - a logical name or a URL.", - "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", - "min": 1, + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, "max": "1", "base": { - "path": "Extension.url", - "min": 1, + "path": "Element.id", + "min": 0, "max": "1" }, "type": [ @@ -562,46 +615,50 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "uri" + "valueUrl": "string" } ] } ], - "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", "isModifier": false, "isSummary": false, "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:name.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:task.extension:name.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { - "type": "type", - "path": "$this" + "type": "value", + "path": "url" } ], - "ordered": false, + "description": "Extensions are always sliced by (at least) url", "rules": "open" }, - "short": "Value of extension", - "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", - "min": 1, - "max": "1", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "0", "base": { - "path": "Extension.value[x]", + "path": "Element.extension", "min": 0, - "max": "1" + "max": "*" }, "type": [ { - "code": "string" + "code": "Extension" } ], "constraint": [ @@ -612,8 +669,53 @@ "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" } + ] + }, + { + "id": "Basic.extension:task.extension:name.url", + "path": "Basic.extension.extension.url", + "representation": [ + "xmlAttr" ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-basic-name", "isModifier": false, "isSummary": false, "mapping": [ @@ -624,10 +726,18 @@ ] }, { - "id": "Basic.extension:name.value[x]:valueString", - "path": "Basic.extension.value[x]", - "sliceName": "valueString", - "label": "Name", + "id": "Basic.extension:task.extension:name.value[x]", + "path": "Basic.extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 1, @@ -652,7 +762,6 @@ "source": "http://hl7.org/fhir/StructureDefinition/Element" } ], - "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [ @@ -663,29 +772,22 @@ ] }, { - "id": "Basic.extension:primary", - "path": "Basic.extension", - "sliceName": "primary", - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], + "id": "Basic.extension:task.extension:name.value[x]:valueString", + "path": "Basic.extension.extension.value[x]", + "sliceName": "valueString", + "label": "Name", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 1, "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Extension.value[x]", "min": 0, - "max": "*" + "max": "1" }, "type": [ { - "code": "Extension", - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-role-primary" - ] + "code": "string" } ], "constraint": [ @@ -696,16 +798,9 @@ "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" } ], + "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [ @@ -716,20 +811,20 @@ ] }, { - "id": "Basic.extension:role", - "path": "Basic.extension", - "sliceName": "role", + "id": "Basic.extension:task.extension:attributes", + "path": "Basic.extension.extension", + "sliceName": "attributes", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, - "max": "*", + "max": "1", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -737,7 +832,7 @@ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-assign-role" + "http://gofr.org/fhir/StructureDefinition/task-attributes" ] } ], @@ -764,16 +859,16 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:task", - "path": "Basic.extension", - "sliceName": "task", + "id": "Basic.extension:task.extension:compositeTask", + "path": "Basic.extension.extension", + "sliceName": "compositeTask", "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", @@ -782,7 +877,7 @@ "min": 0, "max": "*", "base": { - "path": "DomainResource.extension", + "path": "Element.extension", "min": 0, "max": "*" }, @@ -814,13 +909,13 @@ "mapping": [ { "identity": "rim", - "map": "N/A" + "map": "n/a" } ] }, { - "id": "Basic.extension:task.id", - "path": "Basic.extension.id", + "id": "Basic.extension:task.extension:compositeTask.id", + "path": "Basic.extension.extension.id", "representation": [ "xmlAttr" ], @@ -854,8 +949,8 @@ ] }, { - "id": "Basic.extension:task.extension", - "path": "Basic.extension.extension", + "id": "Basic.extension:task.extension:compositeTask.extension", + "path": "Basic.extension.extension.extension", "slicing": { "discriminator": [ { @@ -913,8 +1008,8 @@ ] }, { - "id": "Basic.extension:task.url", - "path": "Basic.extension.url", + "id": "Basic.extension:task.extension:compositeTask.url", + "path": "Basic.extension.extension.url", "representation": [ "xmlAttr" ], @@ -939,7 +1034,7 @@ ] } ], - "fixedUri": "task", + "fixedUri": "compositeTask", "isModifier": false, "isSummary": false, "mapping": [ @@ -950,8 +1045,8 @@ ] }, { - "id": "Basic.extension:task.value[x]", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:task.extension:compositeTask.value[x]", + "path": "Basic.extension.extension.value[x]", "slicing": { "discriminator": [ { @@ -999,10 +1094,10 @@ ] }, { - "id": "Basic.extension:task.value[x]:valueReference", - "path": "Basic.extension.value[x]", + "id": "Basic.extension:task.extension:compositeTask.value[x]:valueReference", + "path": "Basic.extension.extension.value[x]", "sliceName": "valueReference", - "label": "Task", + "label": "Composite Task", "short": "Value of extension", "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", "min": 1, @@ -1040,6 +1135,226 @@ } ] }, + { + "id": "Basic.extension:task.url", + "path": "Basic.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "http://hl7.org/fhirpath/System.String", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ] + } + ], + "fixedUri": "http://gofr.org/fhir/StructureDefinition/gofr-ext-task", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic.extension:task.value[x]", + "path": "Basic.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, { "id": "Basic.modifierExtension", "path": "Basic.modifierExtension", @@ -1153,7 +1468,7 @@ "patternCodeableConcept": { "coding": [ { - "code": "role", + "code": "task", "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" } ] @@ -1348,109 +1663,31 @@ "ordered": false, "rules": "open" }, - "min": 2 + "min": 1 }, { - "id": "Basic.extension:name", + "id": "Basic.extension:task", "path": "Basic.extension", - "sliceName": "name", + "sliceName": "task", "min": 1, "max": "1", "type": [ { "code": "Extension", "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-basic-name" + "http://gofr.org/fhir/StructureDefinition/gofr-ext-task" ] } ], "mustSupport": true }, - { - "id": "Basic.extension:primary", - "path": "Basic.extension", - "sliceName": "primary", - "min": 1, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-role-primary" - ] - } - ] - }, - { - "id": "Basic.extension:role", - "path": "Basic.extension", - "sliceName": "role", - "min": 0, - "max": "*", - "type": [ - { - "code": "Extension", - "profile": [ - "http://gofr.org/fhir/StructureDefinition/gofr-assign-role" - ] - } - ] - }, - { - "id": "Basic.extension:task", - "path": "Basic.extension", - "sliceName": "task", - "min": 0, - "max": "*" - }, - { - "id": "Basic.extension:task.extension", - "path": "Basic.extension.extension", - "max": "0" - }, - { - "id": "Basic.extension:task.url", - "path": "Basic.extension.url", - "fixedUri": "task" - }, - { - "id": "Basic.extension:task.value[x]", - "path": "Basic.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "min": 1, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Basic" - ] - } - ] - }, - { - "id": "Basic.extension:task.valueReference", - "path": "Basic.extension.valueReference", - "label": "Task", - "min": 1, - "max": "1", - "mustSupport": true - }, { "id": "Basic.code", "path": "Basic.code", "patternCodeableConcept": { "coding": [ { - "code": "role", + "code": "task", "system": "http://gofr.org/fhir/CodeSystem/gofr-resource-codesystem" } ] diff --git a/fshmcsd/build/input/extensions/StructureDefinition-ihris-page-display.json b/fshmcsd/fsh-generated/resources/StructureDefinition-ihris-page-display.json similarity index 99% rename from fshmcsd/build/input/extensions/StructureDefinition-ihris-page-display.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-ihris-page-display.json index 4b8318288..0cea24429 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-ihris-page-display.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-ihris-page-display.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "iHRIS Page Display", + "definition": "iHRIS Page Display details.", "min": 0, "max": "*", "base": { @@ -5508,6 +5508,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "iHRIS Page Display", + "definition": "iHRIS Page Display details." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshmcsd/build/input/extensions/StructureDefinition-ihris-page-section.json b/fshmcsd/fsh-generated/resources/StructureDefinition-ihris-page-section.json similarity index 99% rename from fshmcsd/build/input/extensions/StructureDefinition-ihris-page-section.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-ihris-page-section.json index 45fd29f29..543aefef5 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-ihris-page-section.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-ihris-page-section.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "iHRIS Page Section", + "definition": "iHRIS Page Section information.", "min": 0, "max": "*", "base": { @@ -5503,6 +5503,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "iHRIS Page Section", + "definition": "iHRIS Page Section information." + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshmcsd/build/input/profiles/StructureDefinition-ihris-page.json b/fshmcsd/fsh-generated/resources/StructureDefinition-ihris-page.json similarity index 100% rename from fshmcsd/build/input/profiles/StructureDefinition-ihris-page.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-ihris-page.json diff --git a/fshmcsd/build/input/profiles/StructureDefinition-ihris-questionnaire.json b/fshmcsd/fsh-generated/resources/StructureDefinition-ihris-questionnaire.json similarity index 100% rename from fshmcsd/build/input/profiles/StructureDefinition-ihris-questionnaire.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-ihris-questionnaire.json diff --git a/fshcustom/build/input/extensions/StructureDefinition-partition-owner.json b/fshmcsd/fsh-generated/resources/StructureDefinition-partition-owner.json similarity index 99% rename from fshcustom/build/input/extensions/StructureDefinition-partition-owner.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-partition-owner.json index 6c468a885..1ff103414 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-partition-owner.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-partition-owner.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Partition Owner", + "definition": "GOFR Partition Owner", "min": 0, "max": "*", "base": { @@ -937,6 +937,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Partition Owner", + "definition": "GOFR Partition Owner" + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshmcsd/build/input/extensions/StructureDefinition-partition-sharing.json b/fshmcsd/fsh-generated/resources/StructureDefinition-partition-sharing.json similarity index 99% rename from fshmcsd/build/input/extensions/StructureDefinition-partition-sharing.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-partition-sharing.json index 8e5041930..0ebfbb285 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-partition-sharing.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-partition-sharing.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Partition Shared Users", + "definition": "GOFR Partition Shared Users", "min": 0, "max": "*", "base": { @@ -2747,6 +2747,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Partition Shared Users", + "definition": "GOFR Partition Shared Users" + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshmcsd/build/input/extensions/StructureDefinition-request-affected-resource.json b/fshmcsd/fsh-generated/resources/StructureDefinition-request-affected-resource.json similarity index 98% rename from fshmcsd/build/input/extensions/StructureDefinition-request-affected-resource.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-request-affected-resource.json index b74560f67..3110ba86c 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-request-affected-resource.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-request-affected-resource.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "Resource changed/added following this request", + "definition": "Resource changed/added following this request", "min": 0, "max": "*", "base": { @@ -569,6 +569,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Resource changed/added following this request", + "definition": "Resource changed/added following this request" + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshcustom/build/input/extensions/StructureDefinition-request-status.json b/fshmcsd/fsh-generated/resources/StructureDefinition-request-status.json similarity index 96% rename from fshcustom/build/input/extensions/StructureDefinition-request-status.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-request-status.json index 3ad415311..05117d2be 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-request-status.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-request-status.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "Status of a request to add/update facility", + "definition": "Status of a request to add/update facility", "min": 0, "max": "*", "base": { @@ -306,6 +306,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Status of a request to add/update facility", + "definition": "Status of a request to add/update facility" + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshcustom/build/input/extensions/StructureDefinition-shared-toall.json b/fshmcsd/fsh-generated/resources/StructureDefinition-shared-toall.json similarity index 99% rename from fshcustom/build/input/extensions/StructureDefinition-shared-toall.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-shared-toall.json index 2d7353f30..795fe934f 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-shared-toall.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-shared-toall.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Partition Shared to All", + "definition": "GOFR Partition Shared to All", "min": 0, "max": "*", "base": { @@ -934,6 +934,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Partition Shared to All", + "definition": "GOFR Partition Shared to All" + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshmcsd/build/input/extensions/StructureDefinition-shared-user.json b/fshmcsd/fsh-generated/resources/StructureDefinition-shared-user.json similarity index 99% rename from fshmcsd/build/input/extensions/StructureDefinition-shared-user.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-shared-user.json index d2f876bdc..f8807efa1 100644 --- a/fshmcsd/build/input/extensions/StructureDefinition-shared-user.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-shared-user.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "GOFR Partition Shared Users", + "definition": "GOFR Partition Shared Users", "min": 0, "max": "*", "base": { @@ -940,6 +940,12 @@ }, "differential": { "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "GOFR Partition Shared Users", + "definition": "GOFR Partition Shared Users" + }, { "id": "Extension.extension", "path": "Extension.extension", diff --git a/fshcustom/build/input/extensions/StructureDefinition-task-attributes.json b/fshmcsd/fsh-generated/resources/StructureDefinition-task-attributes.json similarity index 98% rename from fshcustom/build/input/extensions/StructureDefinition-task-attributes.json rename to fshmcsd/fsh-generated/resources/StructureDefinition-task-attributes.json index c418c784d..d256ea0fd 100644 --- a/fshcustom/build/input/extensions/StructureDefinition-task-attributes.json +++ b/fshmcsd/fsh-generated/resources/StructureDefinition-task-attributes.json @@ -41,8 +41,8 @@ } ], "path": "Extension", - "short": "Optional Extensions Element", - "definition": "Optional Extension Element - found in all resources.", + "short": "Task Attributes", + "definition": "Task attributes.", "min": 0, "max": "*", "base": { @@ -1603,22 +1603,9 @@ { "id": "Extension", "path": "Extension", + "short": "Task Attributes", + "definition": "Task attributes.", "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" - }, { "key": "gofr-task-instance-constraint", "severity": "error", diff --git a/fshmcsd/build/input/vocabulary/ValueSet-gofr-jurisdiction-type.json b/fshmcsd/fsh-generated/resources/ValueSet-gofr-jurisdiction-type.json similarity index 100% rename from fshmcsd/build/input/vocabulary/ValueSet-gofr-jurisdiction-type.json rename to fshmcsd/fsh-generated/resources/ValueSet-gofr-jurisdiction-type.json diff --git a/fshmcsd/build/input/vocabulary/ValueSet-gofr-location-type-valueset.json b/fshmcsd/fsh-generated/resources/ValueSet-gofr-location-type-valueset.json similarity index 100% rename from fshmcsd/build/input/vocabulary/ValueSet-gofr-location-type-valueset.json rename to fshmcsd/fsh-generated/resources/ValueSet-gofr-location-type-valueset.json diff --git a/fshmcsd/build/input/vocabulary/ValueSet-gofr-organization-hiearchy-type-valueset.json b/fshmcsd/fsh-generated/resources/ValueSet-gofr-organization-hiearchy-type-valueset.json similarity index 100% rename from fshmcsd/build/input/vocabulary/ValueSet-gofr-organization-hiearchy-type-valueset.json rename to fshmcsd/fsh-generated/resources/ValueSet-gofr-organization-hiearchy-type-valueset.json diff --git a/fshmcsd/build/input/vocabulary/ValueSet-gofr-resource-valueset.json b/fshmcsd/fsh-generated/resources/ValueSet-gofr-resource-valueset.json similarity index 100% rename from fshmcsd/build/input/vocabulary/ValueSet-gofr-resource-valueset.json rename to fshmcsd/fsh-generated/resources/ValueSet-gofr-resource-valueset.json diff --git a/fshmcsd/build/input/vocabulary/ValueSet-gofr-task-permission.json b/fshmcsd/fsh-generated/resources/ValueSet-gofr-task-permission.json similarity index 100% rename from fshmcsd/build/input/vocabulary/ValueSet-gofr-task-permission.json rename to fshmcsd/fsh-generated/resources/ValueSet-gofr-task-permission.json diff --git a/fshmcsd/build/input/vocabulary/ValueSet-gofr-task-resource.json b/fshmcsd/fsh-generated/resources/ValueSet-gofr-task-resource.json similarity index 100% rename from fshmcsd/build/input/vocabulary/ValueSet-gofr-task-resource.json rename to fshmcsd/fsh-generated/resources/ValueSet-gofr-task-resource.json diff --git a/fshmcsd/build/input/vocabulary/ValueSet-ihris-resource-valueset.json b/fshmcsd/fsh-generated/resources/ValueSet-ihris-resource-valueset.json similarity index 100% rename from fshmcsd/build/input/vocabulary/ValueSet-ihris-resource-valueset.json rename to fshmcsd/fsh-generated/resources/ValueSet-ihris-resource-valueset.json diff --git a/fshmcsd/build/input/vocabulary/ValueSet-request-status-valueset.json b/fshmcsd/fsh-generated/resources/ValueSet-request-status-valueset.json similarity index 100% rename from fshmcsd/build/input/vocabulary/ValueSet-request-status-valueset.json rename to fshmcsd/fsh-generated/resources/ValueSet-request-status-valueset.json diff --git a/fshmcsd/input/fsh/Aliases.fsh b/fshmcsd/input/fsh/Aliases.fsh new file mode 100644 index 000000000..0e96dd576 --- /dev/null +++ b/fshmcsd/input/fsh/Aliases.fsh @@ -0,0 +1,6 @@ +Alias: SCT = http://snomed.info/sct +Alias: UCUM = http://unitsofmeasure.org +Alias: LOINC = http://loinc.org + +Alias: $BOUNDARY = http://hl7.org/fhir/StructureDefinition/location-boundary-geojson + diff --git a/fshmcsd/GOFRDatasourcePair.fsh b/fshmcsd/input/fsh/GOFRDatasourcePair.fsh similarity index 67% rename from fshmcsd/GOFRDatasourcePair.fsh rename to fshmcsd/input/fsh/GOFRDatasourcePair.fsh index 08b427731..715eb1dd8 100644 --- a/fshmcsd/GOFRDatasourcePair.fsh +++ b/fshmcsd/input/fsh/GOFRDatasourcePair.fsh @@ -4,6 +4,25 @@ Id: gofr-datasource-pair Title: "GOFR Data source Pair" Description: "GOFR Profile of the Basic resource to manage data sources." * code = GofrResourceCodeSystem#datasourcepair +* extension contains + GofrExtDataSourcePair named datasourcepair 1..1 MS +* extension[datasourcepair].extension[partition].valueReference MS +* extension[datasourcepair].extension[partition].valueReference ^label = "partition ID" +* extension[datasourcepair].extension[name].valueString MS +* extension[datasourcepair].extension[name].valueString ^label = "Name" +* extension[datasourcepair].extension[source1].valueReference MS +* extension[datasourcepair].extension[source1].valueReference ^label = "Source1" +* extension[datasourcepair].extension[source2].valueReference MS +* extension[datasourcepair].extension[source2].valueReference ^label = "Source2" +* extension[datasourcepair].extension[status].valueString MS +* extension[datasourcepair].extension[status].valueString ^label = "Status" +* extension[datasourcepair].extension[recoStatus].valueString MS +* extension[datasourcepair].extension[recoStatus].valueString ^label = "Reconciliation Status" + + +Extension: GofrExtDataSourcePair +Id: gofr-ext-dataSource-pair +Title: "Data source pair extension" * extension contains partition 1..1 MS and name 1..1 MS and @@ -44,8 +63,8 @@ Usage: #definition * code = #pairpartition * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasourcepair').extension('http://gofr.org/fhir/StructureDefinition/partition')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasourcepair']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']" * target[0] = #Basic Instance: gofr-search-pair-source1 @@ -60,8 +79,8 @@ Usage: #definition * code = #pairsource1 * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/source1')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/source1']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasourcepair').extension('http://gofr.org/fhir/StructureDefinition/source1')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasourcepair']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/source1']" * target[0] = #Basic Instance: gofr-search-pair-source2 @@ -76,8 +95,8 @@ Usage: #definition * code = #pairsource2 * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/source2')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/source2']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasourcepair').extension('http://gofr.org/fhir/StructureDefinition/source2')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasourcepair']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/source2']" * target[0] = #Basic Instance: gofr-search-pair-status @@ -92,5 +111,5 @@ Usage: #definition * code = #pairstatus * base[0] = #Basic * type = #string -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/status')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/status']" \ No newline at end of file +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasourcepair').extension('http://gofr.org/fhir/StructureDefinition/status')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasourcepair']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/status']" \ No newline at end of file diff --git a/fshmcsd/GOFRHealthcareService.fsh b/fshmcsd/input/fsh/GOFRHealthcareService.fsh similarity index 100% rename from fshmcsd/GOFRHealthcareService.fsh rename to fshmcsd/input/fsh/GOFRHealthcareService.fsh diff --git a/fshmcsd/GofrDataSource.fsh b/fshmcsd/input/fsh/GofrDataSource.fsh similarity index 62% rename from fshmcsd/GofrDataSource.fsh rename to fshmcsd/input/fsh/GofrDataSource.fsh index 796f54d6e..08e27ee34 100644 --- a/fshmcsd/GofrDataSource.fsh +++ b/fshmcsd/input/fsh/GofrDataSource.fsh @@ -4,6 +4,32 @@ Id: gofr-datasource Title: "GOFR Datasources" Description: "GOFR Profile of the Basic resource to manage data sources." * code = GofrResourceCodeSystem#datasource +* extension contains + GofrExtDataSource named datasource 1..1 MS +* extension[datasource].extension[partition].valueReference MS +* extension[datasource].extension[partition].valueReference ^label = "partition ID" +* extension[datasource].extension[display].valueString MS +* extension[datasource].extension[display].valueString ^label = "Display" +* extension[datasource].extension[host].valueString MS +* extension[datasource].extension[host].valueString ^label = "Host" +* extension[datasource].extension[sourceType].valueString MS +* extension[datasource].extension[sourceType].valueString ^label = "Source Type" +* extension[datasource].extension[source].valueString MS +* extension[datasource].extension[source].valueString ^label = "Source" +* extension[datasource].extension[username].valueString MS +* extension[datasource].extension[username].valueString ^label = "Username" +* extension[datasource].extension[password].valueString MS +* extension[datasource].extension[password].valueString ^label = "Password" +* extension[datasource].extension[levelMapping].valueString MS +* extension[datasource].extension[levelMapping].valueString ^label = "Level Mapping" +* extension[datasource].extension[autoSync].valueBoolean MS +* extension[datasource].extension[autoSync].valueBoolean ^label = "Auto Sync" +* extension[datasource].extension[lastUpdated].valueDateTime MS +* extension[datasource].extension[lastUpdated].valueDateTime ^label = "Last Updated" + +Extension: GofrExtDataSource +Id: gofr-ext-dataSource +Title: "Data source extension" * extension contains partition 1..1 MS and display 1..1 MS and @@ -59,8 +85,8 @@ Usage: #definition * code = #datasourcepartition * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasource').extension('http://gofr.org/fhir/StructureDefinition/partition')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasource']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']" * target[0] = #Basic Instance: gofr-search-sourceType @@ -75,5 +101,5 @@ Usage: #definition * code = #sourceType * base[0] = #Basic * type = #string -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/sourceType')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/sourceType']" \ No newline at end of file +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/datasource').extension('http://gofr.org/fhir/StructureDefinition/sourceType')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/datasource']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/sourceType']" \ No newline at end of file diff --git a/fshmcsd/GofrInstanceOrganization.fsh b/fshmcsd/input/fsh/GofrInstanceOrganization.fsh similarity index 100% rename from fshmcsd/GofrInstanceOrganization.fsh rename to fshmcsd/input/fsh/GofrInstanceOrganization.fsh diff --git a/fshmcsd/GofrLocation.fsh b/fshmcsd/input/fsh/GofrLocation.fsh similarity index 100% rename from fshmcsd/GofrLocation.fsh rename to fshmcsd/input/fsh/GofrLocation.fsh diff --git a/fshmcsd/GofrLocationQuestionnaire.fsh b/fshmcsd/input/fsh/GofrLocationQuestionnaire.fsh similarity index 99% rename from fshmcsd/GofrLocationQuestionnaire.fsh rename to fshmcsd/input/fsh/GofrLocationQuestionnaire.fsh index 4b6bd758b..7b28034da 100644 --- a/fshmcsd/GofrLocationQuestionnaire.fsh +++ b/fshmcsd/input/fsh/GofrLocationQuestionnaire.fsh @@ -69,7 +69,7 @@ Usage: #definition * item[0].item[6].required = true * item[0].item[6].repeats = false * item[0].item[6].readOnly = true -* item[0].item[6].answerOption.valueCoding = http://hl7.org/fhir/ValueSet/location-physical-type#bu +* item[0].item[6].answerOption.valueCoding = http://terminology.hl7.org/CodeSystem/location-physical-type#bu * item[0].item[6].answerOption.initialSelected = true * item[0].item[7].linkId = "Location.partOf#tree" @@ -641,7 +641,7 @@ Usage: #definition * item[0].item[5].required = true * item[0].item[5].repeats = false * item[0].item[5].readOnly = true -* item[0].item[5].answerOption.valueCoding = http://hl7.org/fhir/ValueSet/location-physical-type#bu "Building" +* item[0].item[5].answerOption.valueCoding = http://terminology.hl7.org/CodeSystem/location-physical-type#bu "Building" * item[0].item[5].answerOption.initialSelected = true * item[0].item[6].linkId = "Location.partOf#tree" diff --git a/fshmcsd/GofrOrganization.fsh b/fshmcsd/input/fsh/GofrOrganization.fsh similarity index 100% rename from fshmcsd/GofrOrganization.fsh rename to fshmcsd/input/fsh/GofrOrganization.fsh diff --git a/fshcustom/GofrPartition.fsh b/fshmcsd/input/fsh/GofrPartition.fsh similarity index 77% rename from fshcustom/GofrPartition.fsh rename to fshmcsd/input/fsh/GofrPartition.fsh index c89a8ef94..47888f265 100644 --- a/fshcustom/GofrPartition.fsh +++ b/fshmcsd/input/fsh/GofrPartition.fsh @@ -4,6 +4,30 @@ Id: gofr-partition Title: "GOFR Partition" Description: "GOFR Profile of the Basic resource to manage hapi partitions." * code = GofrResourceCodeSystem#partition +* extension contains + GofrExtPartition named partition 1..1 MS +* extension[partition].extension[partitionID].valueInteger MS +* extension[partition].extension[partitionID].valueInteger ^label = "partition ID" +* extension[partition].extension[name].valueString MS +* extension[partition].extension[name].valueString ^label = "Name" +* extension[partition].extension[organization].valueReference MS +* extension[partition].extension[organization].valueReference ^label = "Owning Organization" +* extension[partition].extension[owner] ^label = "Owner Details" +* extension[partition].extension[owner].extension[userID].valueReference.reference MS +* extension[partition].extension[owner].extension[dhis2OrgId].valueString MS +* extension[partition].extension[shared].extension[shareduser].extension[user].valueReference.reference MS +* extension[partition].extension[shared].extension[shareduser].extension[locationLimit].valueReference.reference MS +* extension[partition].extension[shared].extension[shareToSameOrgid].valueBoolean MS +* extension[partition].extension[shared].extension[shareToAll] ^label = "Share to all" +* extension[partition].extension[shared].extension[shareToAll].extension[activated].valueBoolean MS +* extension[partition].extension[shared].extension[shareToAll].extension[limitByUserLocation].valueBoolean MS +* extension[partition].extension[createdTime].valueDateTime MS +* extension[partition].extension[createdTime].valueDateTime ^label = "Created Time" + + +Extension: GofrExtPartition +Id: gofr-ext-partition +Title: "GOFR partition extension" * extension contains partitionID 1..1 MS and name 1..1 MS and @@ -130,8 +154,8 @@ Usage: #definition * code = #partitionowner * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/owner').extension('userID')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/owner']/f:extension[@url='userID']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/owner').extension('userID')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/owner']/f:extension[@url='userID']" * target[0] = #Person Instance: gofr-search-partition-dhis2orgid @@ -146,8 +170,8 @@ Usage: #definition * code = #partitiondhis2orgid * base[0] = #Basic * type = #string -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/pairowner').extension('dhis2orgid')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/pairowner']/f:extension[@url='dhis2OrgId']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/pairowner').extension('dhis2orgid')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/pairowner']/f:extension[@url='dhis2OrgId']" Instance: gofr-search-partitionid InstanceOf: SearchParameter @@ -161,8 +185,8 @@ Usage: #definition * code = #partitionid * base[0] = #Basic * type = #number -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partitionID')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partitionID']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/partitionID')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partitionID']" Instance: gofr-search-partition-shared-user InstanceOf: SearchParameter @@ -176,8 +200,8 @@ Usage: #definition * code = #partitionshareduser * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/shared').extension('http://gofr.org/fhir/StructureDefinition/shareduser').extension('user')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shareduser']/f:extension[@url='user']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/shared').extension('http://gofr.org/fhir/StructureDefinition/shareduser').extension('user')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shareduser']/f:extension[@url='user']" * target[0] = #Person Instance: gofr-search-partition-share-same-orgid @@ -192,8 +216,8 @@ Usage: #definition * code = #partitionsharesameorgid * base[0] = #Basic * type = #token -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/shared').extension('shareToSameOrgid')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='shareToSameOrgid']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/shared').extension('shareToSameOrgid')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='shareToSameOrgid']" Instance: gofr-search-partition-share-all InstanceOf: SearchParameter @@ -207,8 +231,8 @@ Usage: #definition * code = #partitionshareall * base[0] = #Basic * type = #token -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/shared').extension('http://gofr.org/fhir/StructureDefinition/shareToAll').extension('activated')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shareToAll']/f:extension[@url='activated']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/shared').extension('http://gofr.org/fhir/StructureDefinition/shareToAll').extension('activated')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shareToAll']/f:extension[@url='activated']" Instance: gofr-search-partition-shared-activated InstanceOf: SearchParameter @@ -222,6 +246,6 @@ Usage: #definition * code = #partitionsharedactiveuser * base[0] = #Basic * type = #reference -* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/shared').extension('activeUsers')" -* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='activeUsers']" +* expression = "Basic.extension('http://gofr.org/fhir/StructureDefinition/partition').extension('http://gofr.org/fhir/StructureDefinition/shared').extension('activeUsers')" +* xpath = "f:Basic/f:extension[@url='http://gofr.org/fhir/StructureDefinition/partition']/f:extension[@url='http://gofr.org/fhir/StructureDefinition/shared']/f:extension[@url='activeUsers']" * target[0] = #Person \ No newline at end of file diff --git a/fshmcsd/GofrResourceCodeSystem.fsh b/fshmcsd/input/fsh/GofrResourceCodeSystem.fsh similarity index 100% rename from fshmcsd/GofrResourceCodeSystem.fsh rename to fshmcsd/input/fsh/GofrResourceCodeSystem.fsh diff --git a/fshmcsd/input/fsh/GofrRole.fsh b/fshmcsd/input/fsh/GofrRole.fsh new file mode 100644 index 000000000..4dac691c6 --- /dev/null +++ b/fshmcsd/input/fsh/GofrRole.fsh @@ -0,0 +1,877 @@ +Profile: GofrRole +Parent: Basic +Id: gofr-role +Title: "GOFR Role" +Description: "GOFR Profile of the Basic resource to manage roles." +* code = GofrResourceCodeSystem#role +* extension contains + GofrExtRole named role 1..1 MS +* extension[role].extension[name].valueString MS +* extension[role].extension[task].valueReference MS +* extension[role].extension[task].valueReference ^label = "Task" + +Extension: GofrExtRole +Id: gofr-ext-role +Title: "GOFR role extension" +* extension contains + GofrBasicName named name 1..1 MS and + GofrRolePrimary named primary 1..1 and + GofrAssignRole named role 0..* and + task 0..* +* extension[name].valueString 1..1 MS +* extension[task].value[x] only Reference(Basic) +* extension[task].valueReference 1..1 MS +* extension[task].valueReference ^label = "Task" + +Profile: GofrTask +Parent: Basic +Id: gofr-task +Title: "GOFR Task" +Description: "GOFR Profile of the Basic resource to manage tasks." +* code = GofrResourceCodeSystem#task +* extension contains + GofrExtTask named task 1..1 MS +* extension[task].extension[name].valueString MS +* extension[task].extension[compositeTask].valueReference MS +* extension[task].extension[compositeTask].valueReference ^label = "Composite Task" + +Extension: GofrExtTask +Id: gofr-ext-task +Title: "GOFR task extension" +* extension contains + GofrBasicName named name 1..1 MS and + TaskAttributes named attributes 0..1 and + compositeTask 0..* +* extension[name].valueString 1..1 MS +* extension[compositeTask].value[x] only Reference(Basic) +* extension[compositeTask].valueReference 1..1 MS +* extension[compositeTask].valueReference ^label = "Composite Task" + +Invariant: gofr-task-instance-constraint +Description: "Only one of extension[instance].valueCode or extension[constraint].valueReference SHALL be present." +Expression: "extension(url = instance).exists() xor extension(url = constraint).exists()" +Severity: #error +XPath: "exists(f:extension(url = instance)) != exists(f:extension(url = constraint))" + +Extension: GofrBasicName +Id: gofr-basic-name +Title: "GOFR Basic Name" +Description: "GOFR name field for basic resources." +* ^context[0].type = #element +* ^context[0].expression = "Basic" +* value[x] only string +* valueString 1..1 MS +* valueString ^label = "Name" + +Extension: GofrRolePrimary +Id: gofr-role-primary +Title: "GOFR Role Primary" +Description: "GOFR flag for roles to indicate a primary role for assignment to users." +* ^context[1].type = #element +* ^context[1].expression = "GofrRole" +* value[x] only boolean +* valueBoolean 1..1 + +Extension: GofrAssignRole +Id: gofr-assign-role +Title: "GOFR Assign Role" +Description: "GOFR Assign Role to a user or other role." +* ^context[0].type = #element +* ^context[0].expression = "Person" +* ^context[1].type = #element +* ^context[1].expression = "GofrRole" +* value[x] only Reference +* valueReference 1..1 MS +* valueReference ^label = "Role" +* valueReference only Reference(GofrRole) +* valueReference.reference ^label = "Role" + +Extension: TaskAttributes +Id: task-attributes +Title: "Task Attributes" +Description: "Task attributes." +* ^context.type = #element +* ^context.expression = "GofrTask" +* obeys gofr-task-instance-constraint +* extension contains + permission 1..1 MS and + resource 0..1 MS and + instance 0..1 MS and + field 0..1 MS and + constraint 0..1 MS +* extension[permission].value[x] only code +* extension[permission].valueCode from GofrTaskPermissionValueSet (required) +* extension[resource].value[x] only code +* extension[resource].valueCode from GofrTaskResourceValueSet (extensible) +* extension[instance].value[x] only id +* extension[field].value[x] only string +* extension[constraint].value[x] only string + +CodeSystem: GofrTaskPermissionCodeSystem +Id: gofr-task-permission +Title: "Code system for task permissions." +* ^date = "2021-03-26T09:25:04.362Z" +* ^version = "0.3.0" +* #* "All" "Can do any task." +* #read "Read" "Can read the given resource." +* #write "Write" "Can write the given resource." +* #delete "Delete" "Can delete the given resource." +* #filter "Filter" "Search filter constraints." +* #special "Special" "Special non-resource permissions." + +ValueSet: GofrTaskPermissionValueSet +Id: gofr-task-permission +Title: "Code system for task permissions." +* ^date = "2021-03-26T09:25:04.362Z" +* ^version = "0.3.0" +* codes from system GofrTaskPermissionCodeSystem + +CodeSystem: GofrTaskResourceCodeSystem +Id: gofr-task-resource +Title: "Code system for task permissions." +* ^date = "2021-03-26T09:25:04.362Z" +* ^version = "0.3.0" +* #* "All" +* #Practitioner "Practitioner" +* #StructureDefinition "StructureDefinition" +* #ValueSet "ValueSet" +* #CodeSystem "CodeSystem" +* #Basic "Basic" +* #DocumentReference "DocumentReference" +* #Questionnaire "Questionnaire" +* #QuestionnaireResponse "QuestionnaireResponse" +* #PractitionerRole "PractitionerRole" +* #Location "Location" +* #Organization "Organization" +* #HealthcareService "HealthcareService" +* #Person "Person" +* #metadata "metadata" +* #Custom "Custom" +* #Navigation "Navigation" + +ValueSet: GofrTaskResourceValueSet +Id: gofr-task-resource +Title: "Code system for task permissions." +* ^date = "2021-03-26T09:25:04.362Z" +* ^version = "0.3.0" +* codes from system GofrTaskResourceCodeSystem + +Instance: gofr-role-open +InstanceOf: GofrRole +Title: "GOFR Open Role" +Usage: #example +* code = GofrResourceCodeSystem#role +* extension[role].extension[name].valueString = "Open Role" +* extension[role].extension[primary].valueBoolean = true +* extension[role].extension[task][0].valueReference = Reference(Basic/gofr-task-read-structure-definition) +* extension[role].extension[task][1].valueReference = Reference(Basic/gofr-task-read-code-system) +* extension[role].extension[task][2].valueReference = Reference(Basic/gofr-task-read-value-set) +* extension[role].extension[task][3].valueReference = Reference(Basic/gofr-task-read-document-reference) + +Instance: gofr-role-admin +InstanceOf: GofrRole +Title: "GOFR Admin Role" +Usage: #example +* code = GofrResourceCodeSystem#role +* extension[role].extension[name].valueString = "Admin" +* extension[role].extension[primary].valueBoolean = true +* extension[role].extension[task][0].valueReference = Reference(Basic/gofr-task-all-permissions-to-everything) +* extension[role].extension[role][0].valueReference = Reference(Basic/gofr-role-open) + +Instance: gofr-task-all-permissions-to-everything +InstanceOf: GofrTask +Title: "GOFR Task With All Permissions To Everything" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "all-permissions-to-everything" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#* +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#* + +Instance: gofr-task-read-structure-definition +InstanceOf: GofrTask +Title: "GOFR Task To Read StructureDefinition Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-structure-definition" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#StructureDefinition + +Instance: gofr-task-read-code-system +InstanceOf: GofrTask +Title: "GOFR Task To Read CodeSystem resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-code-system" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#CodeSystem + +Instance: gofr-task-read-value-set +InstanceOf: GofrTask +Title: "GOFR Task To Read Valueset Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-value-set" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#ValueSet + +Instance: gofr-task-read-document-reference +InstanceOf: GofrTask +Title: "GOFR Task To Read DocumentReference" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-document-reference" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#DocumentReference +* extension[task].extension[attributes][0].extension[constraint].valueString = "category.exists(coding.exists(code = 'open'))" + +Instance: gofr-task-read-location-resource +InstanceOf: GofrTask +Title: "GOFR Task To Read Location Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-location-resource" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Location + +Instance: gofr-task-read-metadata-resource +InstanceOf: GofrTask +Title: "GOFR Task To Read metadata Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-metadata-resource" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#metadata + +Instance: gofr-task-read-healthcareservice-resource +InstanceOf: GofrTask +Title: "GOFR Task To Read HealthcareService Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-healthcareservice-resource" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#HealthcareService + +Instance: gofr-task-read-organization-resource +InstanceOf: GofrTask +Title: "GOFR Task To Read Organization Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-organization-resource" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Organization + +Instance: gofr-task-read-gofr-page-service +InstanceOf: GofrTask +Title: "GOFR Task To Read Service Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-service" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-service" + +Instance: gofr-task-read-gofr-page-organization +InstanceOf: GofrTask +Title: "GOFR Task To Read Organization Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-organization" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-mcsd-organization" + +Instance: gofr-task-read-gofr-page-jurisdiction +InstanceOf: GofrTask +Title: "GOFR Task To Read Jurisdiction Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-jurisdiction" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-jurisdiction" + +Instance: gofr-task-read-gofr-page-facility +InstanceOf: GofrTask +Title: "GOFR Task To Read Facility Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-facility" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-facility" + +Instance: gofr-task-read-gofr-page-facility-add-request +InstanceOf: GofrTask +Title: "GOFR Task To Read Facility Add Request Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-facility-add-request" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-facility-add-request" + +Instance: gofr-task-read-gofr-page-facility-update-request +InstanceOf: GofrTask +Title: "GOFR Task To Read Facility Update Request Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-facility-update-request" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-facility-update-request" + +Instance: gofr-task-read-gofr-page-search +InstanceOf: GofrTask +Title: "GOFR Task To Read Search Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-gofr-page-search" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Basic +* extension[task].extension[attributes][0].extension[instance].valueId = "gofr-page-search" + +Instance: gofr-task-read-questionnaire-resource +InstanceOf: GofrTask +Title: "GOFR Task To Read Questionnaire Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "read-questionnaire-resource" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#read +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#Questionnaire + +Instance: gofr-task-write-questionnaireresponse-resource +InstanceOf: GofrTask +Title: "GOFR Task To Write QuestionnaireResponse Resource" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "write-questionnaireresponse-resource" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#write +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#QuestionnaireResponse + +Instance: gofr-task-view-search-organization-page +InstanceOf: GofrTask +Title: "GOFR Task To View Search Organization Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-search-organization-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-search-organization-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) + +Instance: gofr-task-view-search-service-page +InstanceOf: GofrTask +Title: "GOFR Task To View Search Service Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-search-service-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-search-service-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) + +Instance: gofr-task-view-search-jurisdiction-page +InstanceOf: GofrTask +Title: "GOFR Task To View Search Jurisdiction Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-search-jurisdiction-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-search-jurisdiction-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) + +Instance: gofr-task-view-search-facility-page +InstanceOf: GofrTask +Title: "GOFR Task To View Search Facility Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-search-facility-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-search-facility-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) + +Instance: gofr-task-view-config-page +InstanceOf: GofrTask +Title: "GOFR Task To View Configure Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-config-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-config-page" + +Instance: gofr-task-view-home-page +InstanceOf: GofrTask +Title: "GOFR Task To View Home Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-home-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-home-page" + +Instance: gofr-task-view-add-organization-page +InstanceOf: GofrTask +Title: "GOFR Task To View Add Organization Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-add-organization-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-add-organization-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-organization) + +Instance: gofr-task-view-add-facility-page +InstanceOf: GofrTask +Title: "GOFR Task To View Add Facility Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-add-facility-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-add-facility-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-facility) + +Instance: gofr-task-view-add-jurisdiction-page +InstanceOf: GofrTask +Title: "GOFR Task To View Add Jurisdiction Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-add-jurisdiction-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-add-jurisdiction-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-jurisdiction) + +Instance: gofr-task-view-add-healthcare-service-page +InstanceOf: GofrTask +Title: "GOFR Task To View Add Healthcare Service Page" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-add-healthcare-service-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-add-healthcare-service-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-service) + +Instance: gofr-task-process-add-facility-request +InstanceOf: GofrTask +Title: "GOFR Task To Approve/Reject Add Facilities Requests" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "process-add-facility-request" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "process-add-facility-request" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) + +Instance: gofr-task-process-update-facility-request +InstanceOf: GofrTask +Title: "GOFR Task To Approve/Reject Update Facilities Requests" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "process-update-facility-request" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "process-update-facility-request" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) + +Instance: gofr-task-search-records +InstanceOf: GofrTask +Title: "GOFR Task Search Records" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "search-records" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#navigation +* extension[task].extension[attributes][0].extension[instance].valueId = "search-records" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-search) + +Instance: gofr-task-make-facilityregistry-requests +InstanceOf: GofrTask +Title: "GOFR Task To View Parent Menu For Requesting Changes/Add Of Facilities" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "make-facilityregistry-requests" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "make-facilityregistry-requests" + +Instance: gofr-task-view-request-add-facility-page +InstanceOf: GofrTask +Title: "GOFR Task To View Page For Requesting Adding New Facilities" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-request-add-facility-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-request-add-facility-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-make-facilityregistry-requests) + +Instance: gofr-task-view-request-update-facility-page +InstanceOf: GofrTask +Title: "GOFR Task To View Page For Requesting Update Facility Details" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-request-update-facility-page" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-request-update-facility-page" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-make-facilityregistry-requests) + +Instance: gofr-task-view-update-facility-requests +InstanceOf: GofrTask +Title: "GOFR Task To View Requests For Facilities Update" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-update-facility-requests" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-update-facility-requests" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-search-records) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-facility-update-request) + +Instance: gofr-task-view-add-facility-requests +InstanceOf: GofrTask +Title: "GOFR Task To View Requests For Facilities Addition" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-add-facility-requests" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-add-facility-requests" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-registry-mod) +* extension[task].extension[compositeTask][1].valueReference = Reference(Basic/gofr-task-read-gofr-page-facility-add-request) + +Instance: gofr-task-manage-account +InstanceOf: GofrTask +Title: "GOFR Task To Manage Account" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "manage-account" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "manage-account" + +Instance: gofr-task-add-user +InstanceOf: GofrTask +Title: "GOFR Task To Add Users" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "add-user" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "add-user" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-account) + +Instance: gofr-task-view-user +InstanceOf: GofrTask +Title: "GOFR Task To View Users" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-user" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-user" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-account) + +Instance: gofr-task-change-password +InstanceOf: GofrTask +Title: "GOFR Task To Change Password" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "change-password" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "change-password" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-account) + +Instance: gofr-task-change-admin-config +InstanceOf: GofrTask +Title: "GOFR Task To Change Admin Config" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "change-admin-config" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "change-admin-config" + +Instance: gofr-task-access-facility-reconciliation-mod +InstanceOf: GofrTask +Title: "GOFR Task To Access Facility Reconciliation Module" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "access-facility-reconciliation-mod" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "access-facility-reconciliation-mod" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-home-page) + +Instance: gofr-task-access-facility-registry-mod +InstanceOf: GofrTask +Title: "GOFR Task To Access Facility Registry Module" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "access-facility-registry-mod" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "access-facility-registry-mod" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-home-page) + +Instance: gofr-task-manage-data-source +InstanceOf: GofrTask +Title: "GOFR Task To Manage Data Source" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "manage-data-source" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "manage-data-source" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-reconciliation-mod) + +Instance: gofr-task-manage-reconciliations +InstanceOf: GofrTask +Title: "GOFR Task To Manage Reconciliations" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "manage-reconciliations" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "manage-reconciliations" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-access-facility-reconciliation-mod) + +Instance: gofr-task-add-data-source +InstanceOf: GofrTask +Title: "GOFR Task To Add Data Source" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "add-data-source" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "add-data-source" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-data-source) + +Instance: gofr-task-view-data-source +InstanceOf: GofrTask +Title: "GOFR Task To View Data Source" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-data-source" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-data-source" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-data-source) + +Instance: gofr-task-share-data-source +InstanceOf: GofrTask +Title: "GOFR Task To Share Data Source" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "share-data-source" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "share-data-source" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-data-source) + +Instance: gofr-task-create-source-pair +InstanceOf: GofrTask +Title: "GOFR Task To Create Data Source Pairs" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "create-source-pair" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "create-source-pair" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) + +Instance: gofr-task-share-source-pair +InstanceOf: GofrTask +Title: "GOFR Task To Share Data Source Pairs" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "share-source-pair" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "share-source-pair" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) + +Instance: gofr-task-activate-source-pair +InstanceOf: GofrTask +Title: "GOFR Task To Activate Data Source Pair" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "activate-source-pair" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "activate-source-pair" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) + +Instance: gofr-task-deactivate-source-pair +InstanceOf: GofrTask +Title: "GOFR Task To Deactivate Data Source Pair" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "deactivate-source-pair" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "deactivate-source-pair" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) + +Instance: gofr-task-view-source-pair +InstanceOf: GofrTask +Title: "GOFR Task To View Data Source Pair" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-source-pair" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-source-pair" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-manage-reconciliations) + +Instance: gofr-task-delete-data-source +InstanceOf: GofrTask +Title: "GOFR Task To Delete Data Source" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "delete-data-source" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "delete-data-source" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-data-source) + +Instance: gofr-task-delete-source-pair +InstanceOf: GofrTask +Title: "GOFR Task To Delete Data Source Pair" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "delete-source-pair" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "delete-source-pair" +* extension[task].extension[compositeTask][0].valueReference = Reference(Basic/gofr-task-view-source-pair) + +Instance: gofr-task-view-matching-status +InstanceOf: GofrTask +Title: "GOFR Task To View Matching Status" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "view-matching-status" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "view-matching-status" + +Instance: gofr-task-data-source-reconciliation +InstanceOf: GofrTask +Title: "GOFR Task To Perform Data Source Reconciliation" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "data-source-reconciliation" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "data-source-reconciliation" + +Instance: gofr-task-match-location +InstanceOf: GofrTask +Title: "GOFR Task To Match Location" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "match-location" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "match-location" + +Instance: gofr-task-accept-flagged-location +InstanceOf: GofrTask +Title: "GOFR Task To Accept Flagged Location" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "accept-flagged-location" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "accept-flagged-location" + +Instance: gofr-task-break-matched-location +InstanceOf: GofrTask +Title: "GOFR Task To Break Matched Location" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "break-matched-location" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "break-matched-location" + +Instance: gofr-task-open-matching +InstanceOf: GofrTask +Title: "GOFR Task To Open Matching Process" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "open-matching" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "open-matching" + +Instance: gofr-task-close-matching +InstanceOf: GofrTask +Title: "GOFR Task To Close Matching Process" +Usage: #example +* code = GofrResourceCodeSystem#task +* extension[task].extension[name].valueString = "close-matching" +* extension[task].extension[attributes][0].extension[permission].valueCode = GofrTaskPermissionCodeSystem#special +* extension[task].extension[attributes][0].extension[resource].valueCode = GofrTaskResourceCodeSystem#custom +* extension[task].extension[attributes][0].extension[instance].valueId = "close-matching" + +Instance: gofr-role-data-manager +InstanceOf: GofrRole +Title: "GOFR Data Manager Role" +Usage: #example +* code = GofrResourceCodeSystem#role +* extension[role].extension[name].valueString = "Data Manager" +* extension[role].extension[primary].valueBoolean = false +* extension[role].extension[task][0].valueReference = Reference(Basic/gofr-task-view-search-organization-page) +* extension[role].extension[task][1].valueReference = Reference(Basic/gofr-task-break-matched-location) +* extension[role].extension[task][2].valueReference = Reference(Basic/gofr-task-accept-flagged-location) +* extension[role].extension[task][3].valueReference = Reference(Basic/gofr-task-match-location) +* extension[role].extension[task][4].valueReference = Reference(Basic/gofr-task-data-source-reconciliation) +* extension[role].extension[task][5].valueReference = Reference(Basic/gofr-task-view-matching-status) +* extension[role].extension[task][6].valueReference = Reference(Basic/gofr-task-delete-source-pair) +* extension[role].extension[task][7].valueReference = Reference(Basic/gofr-task-delete-data-source) +* extension[role].extension[task][8].valueReference = Reference(Basic/gofr-task-view-source-pair) +* extension[role].extension[task][9].valueReference = Reference(Basic/gofr-task-deactivate-source-pair) +* extension[role].extension[task][10].valueReference = Reference(Basic/gofr-task-activate-source-pair) +* extension[role].extension[task][11].valueReference = Reference(Basic/gofr-task-share-source-pair) +* extension[role].extension[task][12].valueReference = Reference(Basic/gofr-task-create-source-pair) +* extension[role].extension[task][13].valueReference = Reference(Basic/gofr-task-share-data-source) +* extension[role].extension[task][14].valueReference = Reference(Basic/gofr-task-view-data-source) +* extension[role].extension[task][15].valueReference = Reference(Basic/gofr-task-add-data-source) +* extension[role].extension[task][16].valueReference = Reference(Basic/gofr-task-view-add-facility-requests) +* extension[role].extension[task][17].valueReference = Reference(Basic/gofr-task-view-update-facility-requests) +* extension[role].extension[task][18].valueReference = Reference(Basic/gofr-task-process-update-facility-request) +* extension[role].extension[task][19].valueReference = Reference(Basic/gofr-task-process-add-facility-request) +* extension[role].extension[task][20].valueReference = Reference(Basic/gofr-task-view-add-healthcare-service-page) +* extension[role].extension[task][21].valueReference = Reference(Basic/gofr-task-view-add-jurisdiction-page) +* extension[role].extension[task][22].valueReference = Reference(Basic/gofr-task-view-add-facility-page) +* extension[role].extension[task][23].valueReference = Reference(Basic/gofr-task-view-add-organization-page) +* extension[role].extension[task][24].valueReference = Reference(Basic/gofr-task-view-config-page) +* extension[role].extension[task][24].valueReference = Reference(Basic/gofr-task-view-home-page) +* extension[role].extension[task][25].valueReference = Reference(Basic/gofr-task-view-search-facility-page) +* extension[role].extension[task][26].valueReference = Reference(Basic/gofr-task-view-search-jurisdiction-page) +* extension[role].extension[task][27].valueReference = Reference(Basic/gofr-task-view-search-service-page) +* extension[role].extension[task][28].valueReference = Reference(Basic/gofr-task-view-search-organization-page) +* extension[role].extension[task][29].valueReference = Reference(Basic/gofr-task-write-questionnaireresponse-resource) +* extension[role].extension[task][30].valueReference = Reference(Basic/gofr-task-read-questionnaire-resource) +* extension[role].extension[task][31].valueReference = Reference(Basic/gofr-task-read-location-resource) +* extension[role].extension[task][32].valueReference = Reference(Basic/gofr-task-read-organization-resource) +* extension[role].extension[task][33].valueReference = Reference(Basic/gofr-task-read-healthcareservice-resource) +* extension[role].extension[task][34].valueReference = Reference(Basic/gofr-task-read-document-reference) +* extension[role].extension[task][35].valueReference = Reference(Basic/gofr-task-read-value-set) +* extension[role].extension[task][36].valueReference = Reference(Basic/gofr-task-read-code-system) +* extension[role].extension[task][37].valueReference = Reference(Basic/gofr-task-read-structure-definition) +* extension[role].extension[task][38].valueReference = Reference(Basic/gofr-task-close-matching) +* extension[role].extension[task][39].valueReference = Reference(Basic/gofr-task-open-matching) \ No newline at end of file diff --git a/fshcustom/GofrUser.fsh b/fshmcsd/input/fsh/GofrUser.fsh similarity index 81% rename from fshcustom/GofrUser.fsh rename to fshmcsd/input/fsh/GofrUser.fsh index 71d0c619d..e09d67a67 100644 --- a/fshcustom/GofrUser.fsh +++ b/fshmcsd/input/fsh/GofrUser.fsh @@ -22,7 +22,7 @@ Description: "GOFR profile of the Person resource to manage user access." * active 1..1 MS * active ^label = "Active" * extension contains - organization 1..1 MS and + GofrOwningOrganization named organization 1..1 MS and GofrPassword named password 1..1 MS and GofrAssignRole named role 1..1 MS * extension[password] MS @@ -30,10 +30,21 @@ Description: "GOFR profile of the Person resource to manage user access." * extension[role].value[x] only Reference * extension[role].valueReference 1..1 MS * extension[role].valueReference ^label = "Role" -* extension[organization].value[x] only Reference(Basic) -* extension[organization].valueReference 1..1 MS +* extension[organization].valueReference MS * extension[organization].valueReference ^label = "Owning Organization" +Extension: GofrOwningOrganization +Id: gofr-owning-organization +Title: "GOFR Owning Organization" +Description: "GOFR Owning Organization" +* ^context[0].type = #element +* ^context[0].expression = "GofrPersonUser" +* value[x] only Reference +* valueReference 1..1 MS +* valueReference ^label = "Owning Organization" +* valueReference only Reference(Basic) +* valueReference.reference ^label = "Owning Organization" + Extension: GofrPassword Id: gofr-password Title: "GOFR Password" diff --git a/fshmcsd/IhrisPage.fsh b/fshmcsd/input/fsh/IhrisPage.fsh similarity index 100% rename from fshmcsd/IhrisPage.fsh rename to fshmcsd/input/fsh/IhrisPage.fsh diff --git a/fshmcsd/IhrisQuestionnaire.fsh b/fshmcsd/input/fsh/IhrisQuestionnaire.fsh similarity index 100% rename from fshmcsd/IhrisQuestionnaire.fsh rename to fshmcsd/input/fsh/IhrisQuestionnaire.fsh diff --git a/fshmcsd/IhrisResourceCodeSystem.fsh b/fshmcsd/input/fsh/IhrisResourceCodeSystem.fsh similarity index 100% rename from fshmcsd/IhrisResourceCodeSystem.fsh rename to fshmcsd/input/fsh/IhrisResourceCodeSystem.fsh diff --git a/fshmcsd/location.fsh b/fshmcsd/input/fsh/location.fsh similarity index 100% rename from fshmcsd/location.fsh rename to fshmcsd/input/fsh/location.fsh diff --git a/fshmcsd/config.yaml b/fshmcsd/sushi-config.yaml similarity index 98% rename from fshmcsd/config.yaml rename to fshmcsd/sushi-config.yaml index 68d94ae21..34bcf3cb4 100644 --- a/fshmcsd/config.yaml +++ b/fshmcsd/sushi-config.yaml @@ -39,7 +39,7 @@ menu: Table of Contents: toc.html Artifact Index: artifacts.html Support: - FHIR Spec: new-tab external http://hl7.org/fhir/R4/index.html + FHIR Spec: new-tab http://hl7.org/fhir/R4/index.html # ╭────────────────────────────────────────────index.md────────────────────────────────────────────╮ # │ To use a provided ig-data/input/[pagecontent | pages]/index.[md | xml], delete the │ diff --git a/gofr-backend/lib/cronjobs.js b/gofr-backend/lib/cronjobs.js index 3fe83ba73..e963f667e 100644 --- a/gofr-backend/lib/cronjobs.js +++ b/gofr-backend/lib/cronjobs.js @@ -12,6 +12,7 @@ const fhirAxios = require('./modules/fhirAxios'); const topOrgName = config.get('mCSD:fakeOrgName'); function getCrontime(callback) { + return fhirAxios.read('Parameters', 'gofr-general-config', '', 'DEFAULT').then((response) => { const resData = response.parameter.find(param => param.name === 'config'); const adminConfig = JSON.parse(resData.valueString); diff --git a/gofr-backend/lib/defaultSetup.js b/gofr-backend/lib/defaultSetup.js index 8f4b3d3d5..1bdb860a4 100644 --- a/gofr-backend/lib/defaultSetup.js +++ b/gofr-backend/lib/defaultSetup.js @@ -91,37 +91,40 @@ const addDataPartition = () => new Promise((resolve, reject) => { profile: ['http://gofr.org/fhir/StructureDefinition/gofr-partition'], }, extension: [{ - url: 'http://gofr.org/fhir/StructureDefinition/partitionID', - valueInteger: 0, - }, { - url: 'http://gofr.org/fhir/StructureDefinition/name', - valueString: 'DEFAULT', - }, { - url: 'http://gofr.org/fhir/StructureDefinition/owner', - extension: [{ - url: 'userID', - valueReference: { - reference: 'Person/e9b41c35-7c85-46df-aeea-a4e8dbf0364e', - }, - }], - }, { - url: 'http://gofr.org/fhir/StructureDefinition/shared', + url: 'http://gofr.org/fhir/StructureDefinition/partition', extension: [{ - url: 'shareToSameOrgid', - valueBoolean: false, + url: 'http://gofr.org/fhir/StructureDefinition/partitionID', + valueInteger: 0, + }, { + url: 'http://gofr.org/fhir/StructureDefinition/name', + valueString: 'DEFAULT', }, { - url: 'http://gofr.org/fhir/StructureDefinition/shareToAll', + url: 'http://gofr.org/fhir/StructureDefinition/owner', extension: [{ - url: 'activated', - valueBoolean: true, - }, { - url: 'limitByUserLocation', + url: 'userID', + valueReference: { + reference: 'Person/e9b41c35-7c85-46df-aeea-a4e8dbf0364e', + }, + }], + }, { + url: 'http://gofr.org/fhir/StructureDefinition/shared', + extension: [{ + url: 'shareToSameOrgid', valueBoolean: false, + }, { + url: 'http://gofr.org/fhir/StructureDefinition/shareToAll', + extension: [{ + url: 'activated', + valueBoolean: true, + }, { + url: 'limitByUserLocation', + valueBoolean: false, + }], }], + }, { + url: 'http://gofr.org/fhir/StructureDefinition/createdTime', + valueDateTime: moment().format(), }], - }, { - url: 'http://gofr.org/fhir/StructureDefinition/createdTime', - valueDateTime: moment().format(), }], }, request: { @@ -136,19 +139,22 @@ const addDataPartition = () => new Promise((resolve, reject) => { profile: ['http://gofr.org/fhir/StructureDefinition/gofr-datasource'], }, extension: [{ - url: 'http://gofr.org/fhir/StructureDefinition/partition', - valueReference: { - reference: 'Basic/default-partition', - }, - }, { - url: 'http://gofr.org/fhir/StructureDefinition/name', - valueString: 'DEFAULT', - }, { - url: 'http://gofr.org/fhir/StructureDefinition/sourceType', - valueString: 'upload', - }, { - url: 'http://gofr.org/fhir/StructureDefinition/source', - valueString: 'upload', + url: 'http://gofr.org/fhir/StructureDefinition/datasource', + extension: [{ + url: 'http://gofr.org/fhir/StructureDefinition/partition', + valueReference: { + reference: 'Basic/default-partition', + }, + }, { + url: 'http://gofr.org/fhir/StructureDefinition/name', + valueString: 'DEFAULT', + }, { + url: 'http://gofr.org/fhir/StructureDefinition/sourceType', + valueString: 'upload', + }, { + url: 'http://gofr.org/fhir/StructureDefinition/source', + valueString: 'upload', + }], }], }, request: { @@ -194,11 +200,34 @@ const loadFSHFiles = () => new Promise(async (resolvePar, rejectPar) => { } const fshDir = config.get('builtFSHFIles'); const dirs = await fs.readdirSync(`${__dirname}/${fshDir}`); - async.eachSeries(dirs, (dir, nxtDir) => { - fs.readdir(`${__dirname}/${fshDir}/${dir}`, (err, files) => { + const promises = []; + dirs.forEach((dir) => { + promises.push(new Promise(async (resolve, reject) => { + let files = []; + if (dir.split('.').length >= 2 && dir.split('.')[dir.split('.').length - 1] === 'json') { + files.push(dir); + dir = null; + } else { + try { + files = await fs.readdirSync(`${__dirname}/${fshDir}/${dir}`); + } catch (error) { + logger.error(error); + return reject(); + } + } + let errorOccured = false; async.eachSeries(files, (file, nxtFile) => { - fs.readFile(`${__dirname}/${fshDir}/${dir}/${file}`, { encoding: 'utf8', flag: 'r' }, (err, data) => { - if (err) throw err; + let fullpath; + if (dir) { + fullpath = `${__dirname}/${fshDir}/${dir}/${file}`; + } else { + fullpath = `${__dirname}/${fshDir}/${file}`; + } + fs.readFile(fullpath, { encoding: 'utf8', flag: 'r' }, (err, data) => { + if (err) { + logger.error(err); + errorOccured = true; + } const fhir = JSON.parse(data); if (fhir.resourceType === 'Bundle' && (fhir.type === 'transaction' || fhir.type === 'batch')) { @@ -209,8 +238,9 @@ const loadFSHFiles = () => new Promise(async (resolvePar, rejectPar) => { logger.info(JSON.stringify(res.data, null, 2)); return nxtFile(); }).catch((err) => { + errorOccured = true; logger.error(err); - logger.error(`${__dirname}/${fshDir}/${dir}/${file} ${JSON.stringify(err.response.data, null, 2)}`); + logger.error(`fullpath ${JSON.stringify(err.response.data, null, 2)}`); return nxtFile(); }); } else { @@ -221,17 +251,28 @@ const loadFSHFiles = () => new Promise(async (resolvePar, rejectPar) => { logger.info(res.headers['content-location']); return nxtFile(); }).catch((err) => { + errorOccured = true; logger.error(err); - logger.error(`${__dirname}/${fshDir}/${dir}/${file} ${JSON.stringify(err.response.data, null, 2)}`); + logger.error(`fullpath ${JSON.stringify(err.response.data, null, 2)}`); return nxtFile(); }); } }); - }, () => nxtDir()); - }); - }, () => { + }, () => { + if (errorOccured) { + return reject(); + } + return resolve(); + }); + })); + }); + + Promise.all(promises).then(() => { logger.info('Done loading FSH files'); resolvePar(); + }).catch(() => { + logger.error('reject'); + rejectPar(true); }); }); diff --git a/gofr-backend/lib/hapi.js b/gofr-backend/lib/hapi.js index 2baf10256..7c678a8e5 100644 --- a/gofr-backend/lib/hapi.js +++ b/gofr-backend/lib/hapi.js @@ -89,7 +89,6 @@ function addPartition({ }, data: parameters, }; - logger.error(JSON.stringify(options, 0, 2)); axios(options).then(() => { const resource = { resourceType: 'Basic', @@ -97,22 +96,25 @@ function addPartition({ profile: ['http://gofr.org/fhir/StructureDefinition/gofr-partition'], }, extension: [{ - url: 'http://gofr.org/fhir/StructureDefinition/partitionID', - valueInteger: id, - }, { - url: 'http://gofr.org/fhir/StructureDefinition/name', - valueString: name, - }, { - url: 'http://gofr.org/fhir/StructureDefinition/owner', + url: 'http://gofr.org/fhir/StructureDefinition/partition', extension: [{ - url: 'userID', - valueReference: { - reference: `Person/${userID}`, - }, + url: 'http://gofr.org/fhir/StructureDefinition/partitionID', + valueInteger: id, + }, { + url: 'http://gofr.org/fhir/StructureDefinition/name', + valueString: name, + }, { + url: 'http://gofr.org/fhir/StructureDefinition/owner', + extension: [{ + url: 'userID', + valueReference: { + reference: `Person/${userID}`, + }, + }], + }, { + url: 'http://gofr.org/fhir/StructureDefinition/createdTime', + valueDateTime: moment().format(), }], - }, { - url: 'http://gofr.org/fhir/StructureDefinition/createdTime', - valueDateTime: moment().format(), }], }; fhirAxios.create(resource, 'DEFAULT').then((response) => { diff --git a/gofr-backend/lib/routes/dataSources.js b/gofr-backend/lib/routes/dataSources.js index 7bb721b45..ccfa29e2e 100644 --- a/gofr-backend/lib/routes/dataSources.js +++ b/gofr-backend/lib/routes/dataSources.js @@ -16,7 +16,7 @@ const hapi = require('../hapi'); const outcomes = require('../../config/operationOutcomes'); function destroyPartition(partitionName, partitionID) { - logger.info('Destroying partition ' + partitionName); + logger.info(`Destroying partition ${partitionName}`); return new Promise((resolve, reject) => { const deleteResources = ['Location', 'Organization', 'HealthcareService', 'Basic', 'StructureDefinition', 'SearchParameter']; const promises = []; @@ -499,47 +499,51 @@ router.post('/addSource', (req, res) => { profile: ['http://gofr.org/fhir/StructureDefinition/gofr-datasource'], }, extension: [{ - url: 'http://gofr.org/fhir/StructureDefinition/partition', - valueReference: { - reference: partitionID, - }, + url: 'http://gofr.org/fhir/StructureDefinition/datasource', + extension: [{ + url: 'http://gofr.org/fhir/StructureDefinition/partition', + valueReference: { + reference: partitionID, + }, + }], }], }; - resource.extension.push({ + resource.extension[0].extension.push({ url: 'http://gofr.org/fhir/StructureDefinition/name', valueString: fields.name, }); if (fields.host) { - resource.extension.push({ + resource.extension[0].extension.push({ url: 'http://gofr.org/fhir/StructureDefinition/host', valueString: fields.host, }); } if (fields.sourceType) { - resource.extension.push({ + resource.extension[0].extension.push({ url: 'http://gofr.org/fhir/StructureDefinition/sourceType', valueString: fields.sourceType, }); } if (fields.source) { - resource.extension.push({ + resource.extension[0].extension.push({ url: 'http://gofr.org/fhir/StructureDefinition/source', valueString: fields.source, }); } if (fields.username) { - resource.extension.push({ + resource.extension[0].extension.push({ url: 'http://gofr.org/fhir/StructureDefinition/username', valueString: fields.username, }); } if (fields.password) { - resource.extension.push({ + resource.extension[0].extension.push({ url: 'http://gofr.org/fhir/StructureDefinition/password', valueString: mixin.encrypt(fields.password), }); } - partition.extension.push({ + const partitionExtInd = partition.extension.findIndex(ext => ext.url === 'http://gofr.org/fhir/StructureDefinition/partition'); + partition.extension[partitionExtInd].extension.push({ url: 'http://gofr.org/fhir/StructureDefinition/shared', extension: [{ url: 'shareToSameOrgid', @@ -571,7 +575,7 @@ router.post('/addSource', (req, res) => { } dbLevel.code = levelData.code; dbLevel.facility = levelData.facility; - resource.extension.push({ + resource.extension[0].extension.push({ url: 'http://gofr.org/fhir/StructureDefinition/levelMapping', valueString: JSON.stringify(dbLevel), }); @@ -763,14 +767,16 @@ router.get('/getSource/:userID/:orgId?', (req, res) => { if (exists) { return; } - const sourceExt = mixin.flattenExtension(entry.resource.extension); + const dsDetails = entry.resource.extension.find(ext => ext.url === 'http://gofr.org/fhir/StructureDefinition/datasource'); + const sourceExt = mixin.flattenExtension(dsDetails.extension); const partId = sourceExt['http://gofr.org/fhir/StructureDefinition/partition'].reference; const partRes = partsRes.find(part => part.resource.id === partId.split('/')[1]); - const partExt = mixin.flattenExtension(partRes.resource.extension); + const partDetails = partRes.resource.extension.find(ext => ext.url === 'http://gofr.org/fhir/StructureDefinition/partition'); + const partExt = mixin.flattenExtension(partDetails.extension); const userId = partExt['http://gofr.org/fhir/StructureDefinition/owner'][0].find(ext => ext.url === 'userID').valueReference.reference; const owner = usersRes.find(usr => usr.resource.id === userId.split('/')[1]).resource.name[0].text; - const whereShareToAll = "Basic.extension.where(url='http://gofr.org/fhir/StructureDefinition/shared').extension.where(url='http://gofr.org/fhir/StructureDefinition/shareToAll').extension"; + const whereShareToAll = "Basic.extension.where('http://gofr.org/fhir/StructureDefinition/partition').extension.where(url='http://gofr.org/fhir/StructureDefinition/shared').extension.where(url='http://gofr.org/fhir/StructureDefinition/shareToAll').extension"; const _shareToAll = fhirpath.evaluate(partRes.resource, whereShareToAll); const shareToAll = {}; _shareToAll.forEach((shall) => { @@ -782,7 +788,7 @@ router.get('/getSource/:userID/:orgId?', (req, res) => { } }); - const whereSharedUsers = "Basic.extension.where(url='http://gofr.org/fhir/StructureDefinition/shared').extension.where(url='http://gofr.org/fhir/StructureDefinition/shareduser')"; + const whereSharedUsers = "Basic.extension.where('http://gofr.org/fhir/StructureDefinition/partition').extension.where(url='http://gofr.org/fhir/StructureDefinition/shared').extension.where(url='http://gofr.org/fhir/StructureDefinition/shareduser')"; const _sharedUsers = fhirpath.evaluate(partRes.resource, whereSharedUsers); const sharedUsers = []; _sharedUsers.forEach((shareduser) => { diff --git a/gofr-backend/lib/routes/keycloakAuth.js b/gofr-backend/lib/routes/keycloakAuth.js index 3bded83b1..ea935d3df 100644 --- a/gofr-backend/lib/routes/keycloakAuth.js +++ b/gofr-backend/lib/routes/keycloakAuth.js @@ -12,6 +12,7 @@ router.post('/', (req, res) => { let userResource = req.body; if (!userResource || !userResource.id) { const userDetails = jwtDecode(req.headers.authorization.split(' ')[1]); + logger.error(userDetails); if (!userDetails.sub) { logger.error('User details are missing'); return res.status(401).send();