From 293bbb3dca576dd77736b1a479a855be0fb8e20e Mon Sep 17 00:00:00 2001 From: Robert Carroll Date: Fri, 29 May 2026 15:41:43 -0500 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8=20Add=20global=20id=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../schema/common_access_model.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/common_access_model/schema/common_access_model.yaml b/src/common_access_model/schema/common_access_model.yaml index c00ca5b..9a40ae8 100644 --- a/src/common_access_model/schema/common_access_model.yaml +++ b/src/common_access_model/schema/common_access_model.yaml @@ -33,6 +33,16 @@ default_range: string imports: - linkml:types +types: + ptGlobalID: + uri: xsd:string + base: str + description: Dewrangle pt global ID. For FHIR Patient Resources. + obGlobalID: + uri: xsd:string + base: str + description: Dewrangle ob global ID. For FHIR Observation Resources. + classes: Record: description: One row / entity within the database @@ -170,7 +180,7 @@ classes: - organism_type slot_usage: subject_id: - range: string + range: ptGlobalID required: true identifier: true Demographics: @@ -263,7 +273,7 @@ classes: - value_unit_source slot_usage: assertion_id: - range: string + range: obGlobalID required: true identifier: true Concept: From f949cbad6a5f9796db5780ec831fd725f9377c28 Mon Sep 17 00:00:00 2001 From: Robert Carroll Date: Fri, 12 Jun 2026 15:18:28 -0500 Subject: [PATCH 2/2] =?UTF-8?q?=E2=9C=A8=20Expand=20global=20ID=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Increases the number of leveraged global id types. --- .../schema/common_access_model.yaml | 80 ++++++++++++++++--- 1 file changed, 69 insertions(+), 11 deletions(-) diff --git a/src/common_access_model/schema/common_access_model.yaml b/src/common_access_model/schema/common_access_model.yaml index 9a40ae8..3c52204 100644 --- a/src/common_access_model/schema/common_access_model.yaml +++ b/src/common_access_model/schema/common_access_model.yaml @@ -42,6 +42,61 @@ types: uri: xsd:string base: str description: Dewrangle ob global ID. For FHIR Observation Resources. + lsGlobalID: + uri: xsd:string + base: str + description: Dewrangle ls global ID. For FHIR List Resources. + orGlobalID: + uri: xsd:string + base: str + description: Dewrangle or global ID. For FHIR Organization Resources. + grGlobalID: + uri: xsd:string + base: str + description: Dewrangle gr global ID. For FHIR Group Resources. + sdGlobalID: + uri: xsd:string + base: str + description: Dewrangle sd global ID. For FHIR ResearchStudy Resources. + deGlobalID: + uri: xsd:string + base: str + description: Dewrangle de global ID. For FHIR Device Resources. + bsGlobalID: + uri: xsd:string + base: str + description: Dewrangle bs global ID. For FHIR Specimen Resources. + adGlobalID: + uri: xsd:string + base: str + description: Dewrangle ad global ID. For FHIR ActivityDefinition Resources. + drGlobalID: + uri: xsd:string + base: str + description: Dewrangle dr global ID. For FHIR DocumentReference Resources. + enGlobalID: + uri: xsd:string + base: str + description: Dewrangle en global ID. For FHIR Encounter Resources. + coGlobalID: + uri: xsd:string + base: str + description: Dewrangle co global ID. For FHIR Consent Resources. + +# To be created + fmGlobalID: + uri: xsd:string + base: str + description: Dewrangle __ global ID. For FHIR FamilyMemberHistory Resources. + pdGlobalID: + uri: xsd:string + base: str + description: Dewrangle __ global ID. For FHIR PlanDefinition Resources. + msGlobalID: + uri: xsd:string + base: str + description: Dewrangle __ global ID. For FHIR MedicationStatement Resources. + classes: Record: @@ -65,7 +120,7 @@ classes: - website slot_usage: access_policy_id: - range: string + range: coGlobalID required: true identifier: true Study: @@ -92,7 +147,7 @@ classes: - do_id slot_usage: study_id: - range: string + range: sdGlobalID required: true identifier: true StudyMetadata: @@ -134,7 +189,7 @@ classes: - vbr_readme slot_usage: vbr_id: - range: string + range: orGlobalID required: true identifier: true @@ -211,7 +266,7 @@ classes: - family_study_focus slot_usage: family_id: - range: string + range: grGlobalID required: true identifier: true FamilyRelationship: @@ -227,7 +282,7 @@ classes: - subject_id slot_usage: family_relationship_id: - range: string + range: fmGlobalID required: true identifier: true subject_id: @@ -274,6 +329,9 @@ classes: slot_usage: assertion_id: range: obGlobalID + any_of: + - range: deGlobalID + - range: msGlobalID required: true identifier: true Concept: @@ -302,7 +360,7 @@ classes: - quantity_unit slot_usage: sample_id: - range: string + range: bsGlobalID required: true identifier: true biospecimen_collection_id: @@ -354,7 +412,7 @@ classes: - age_at_event slot_usage: encounter_id: - range: string + range: enGlobalID required: true identifier: true EncounterDefinition: @@ -372,7 +430,7 @@ classes: - activity_definition_id slot_usage: encounter_definition_id: - range: string + range: pdGlobalID required: true identifier: true activity_definition_id: @@ -391,7 +449,7 @@ classes: #observation definitions or dd refs slot_usage: activity_definition_id: - range: string + range: adGlobalID required: true identifier: true File: @@ -415,7 +473,7 @@ classes: - hash slot_usage: file_id: - range: string + range: drGlobalID required: true identifier: true subject_id: @@ -444,7 +502,7 @@ classes: slot_usage: dataset_id: - range: string + range: lsGlobalID required: true identifier: true file_id: