From fdd8c1bb992428cb85f2c638946d713b2eb8d9a0 Mon Sep 17 00:00:00 2001 From: "Debra L. Mangum" Date: Wed, 1 Jun 2022 16:20:03 -0400 Subject: [PATCH 1/4] Add Basic resource to CDM issue #81 Signed-off-by: Debra L. Mangum --- data/input/fsh/resources/basic/CDM_Basic.fsh | 17 ++++++++++++ .../resources/basic/CDM_BasicPII_Instance.fsh | 26 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 data/input/fsh/resources/basic/CDM_Basic.fsh create mode 100644 data/input/fsh/resources/basic/CDM_BasicPII_Instance.fsh diff --git a/data/input/fsh/resources/basic/CDM_Basic.fsh b/data/input/fsh/resources/basic/CDM_Basic.fsh new file mode 100644 index 0000000000..9ac6d2d783 --- /dev/null +++ b/data/input/fsh/resources/basic/CDM_Basic.fsh @@ -0,0 +1,17 @@ +Profile: CDMBasic +Parent: Basic +Id: cdm-basic +Title: "CDM Basic" +Description: "Basic is a special type of resource that doesn't correspond to a specific pre-defined HL7 concept. The CDMBasic profile extends the base FHIR Basic resource with support for additional code types." + +* contained 0..0 +* meta only ProcessMeta + +// Must support at least one identifier +// Identifiers to have one system and value +* identifier 1..* +* identifier.system 1..1 +* identifier.value 1..1 +* identifier.type from IdentifierTypeValueSet (extensible) + +* code from WhBasicResourceTypeValueSet (preferred) diff --git a/data/input/fsh/resources/basic/CDM_BasicPII_Instance.fsh b/data/input/fsh/resources/basic/CDM_BasicPII_Instance.fsh new file mode 100644 index 0000000000..c57d096c7c --- /dev/null +++ b/data/input/fsh/resources/basic/CDM_BasicPII_Instance.fsh @@ -0,0 +1,26 @@ +Instance: CDMBasicPIIInstance +InstanceOf: CDMBasic +Usage: #example +Title: "CDM Claim - Basic Resource Example" +Description: "Sample of a CDM Basic Resource with PII token" + +* meta.source = "http://ibm.com/ApplicationA" +* meta.profile = "http://ibm.com/fhir/cdm/StructureDefinition/cdm-basic" + +* meta.extension[tenantId].valueString = "tenant12345" +* meta.extension[ingestionBatchId].valueString = "zgVCJnQBxvshkKBI8Hzz" +* meta.extension[processName].valueString = "HDP" +* meta.extension[processClientId].valueString = "1234" +* meta.extension[processRecordId].valueIdentifier.system = "http://ibm.com/AppicationA" +* meta.extension[processRecordId].valueIdentifier.value = "7209_07869_e00080779_3938586_2516181" +* meta.extension[sourceFileId].valueString = "e00014543" + +* identifier.use = #official +* identifier.type = IdentifierTypeCodeSystem#TKN +* identifier.system = "http://ibm.com/CodeSystem/local-pii-identifier" +* identifier.value = "2d86c4246a3c1eb516628bf324w6b9b3" + +* code = WhBasicResourceTypeCodeSystem#patient-tokens +* subject = Reference(CDMPatientInstance) +* created = "2017-07-25" + From 45bff45766ca65242a6c6304d91f2a1d551c2ab5 Mon Sep 17 00:00:00 2001 From: "Debra L. Mangum" Date: Wed, 1 Jun 2022 16:21:01 -0400 Subject: [PATCH 2/4] Adding code system for Basic resource issue #81 Signed-off-by: Debra L. Mangum --- data/input/fsh/vocabulary/AliasCodingSystems.fsh | 3 +++ data/input/fsh/vocabulary/IdentifierTypeCodes.fsh | 1 + .../vocabulary/WhBasicResourceTypeCodeSystem.fsh | 15 +++++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 data/input/fsh/vocabulary/WhBasicResourceTypeCodeSystem.fsh diff --git a/data/input/fsh/vocabulary/AliasCodingSystems.fsh b/data/input/fsh/vocabulary/AliasCodingSystems.fsh index 424c6def7b..9472a3a7e9 100644 --- a/data/input/fsh/vocabulary/AliasCodingSystems.fsh +++ b/data/input/fsh/vocabulary/AliasCodingSystems.fsh @@ -112,3 +112,6 @@ Alias: NUBC-PATIENT-DISCHARGE = https://www.nubc.org/patient-discharge Alias: NUBC-OCCURRENCE-CODE-CS = http://terminology.hl7.org/CodeSystem/v2-0350 Alias: CURRENCIES = https://www.hl7.org/fhir/valueset-currencies Alias: REMIT-ADVICE-REMARK-CODE = https://x12.org/codes/remittance-advice-remark-codes + +// Basic +Alias: BASIC-RESOURCE-TYPE = http://terminology.hl7.org/CodeSystem/basic-resource-type diff --git a/data/input/fsh/vocabulary/IdentifierTypeCodes.fsh b/data/input/fsh/vocabulary/IdentifierTypeCodes.fsh index 38b6edec73..ccb2800dd5 100644 --- a/data/input/fsh/vocabulary/IdentifierTypeCodes.fsh +++ b/data/input/fsh/vocabulary/IdentifierTypeCodes.fsh @@ -9,6 +9,7 @@ Description: "Extended set of Identifier type code for Health Data Connect Co * #SSRI "Source System Row Identifier" "Represents the primary id from the original source system" * #ADKEY "Advantage Database Key" "Advantage Database Key" * #CUSTKEY "Advantage customer key" "Advantage customer key" +* #TKN "Token identifier" "Data tokenization service token" ValueSet: IdentifierTypeValueSet Id: identifier-type diff --git a/data/input/fsh/vocabulary/WhBasicResourceTypeCodeSystem.fsh b/data/input/fsh/vocabulary/WhBasicResourceTypeCodeSystem.fsh new file mode 100644 index 0000000000..7b625e70fe --- /dev/null +++ b/data/input/fsh/vocabulary/WhBasicResourceTypeCodeSystem.fsh @@ -0,0 +1,15 @@ +CodeSystem: WhBasicResourceTypeCodeSystem +Id: wh-basic-resource-type +Title: "Health Data Connect Basic Resource Type Codes" +Description: "Health Data Connect standard codes for the basic resource type" +* ^caseSensitive = true +* #patient-tokens "Patient Tokens" "A set of anonymous patient identifiers created by hashing Personally identifiable information (PII)" + + +ValueSet: WhBasicResourceTypeValueSet +Id: wh-basic-resource-type +Title: "Health Data Connect Basic Resource Value Set" +Description: "Health Data Connect value set for the basic resource type" +* codes from system WhBasicResourceTypeCodeSystem +* codes from system BASIC-RESOURCE-TYPE + From 64c459cc9491f2d8018ada36bb96e745a3c7662b Mon Sep 17 00:00:00 2001 From: "Debra L. Mangum" Date: Fri, 3 Jun 2022 15:00:43 -0400 Subject: [PATCH 3/4] Changed code system from alias to value Signed-off-by: Debra L. Mangum --- data/input/fsh/vocabulary/WhBasicResourceTypeCodeSystem.fsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/input/fsh/vocabulary/WhBasicResourceTypeCodeSystem.fsh b/data/input/fsh/vocabulary/WhBasicResourceTypeCodeSystem.fsh index 7b625e70fe..a8f39b82b8 100644 --- a/data/input/fsh/vocabulary/WhBasicResourceTypeCodeSystem.fsh +++ b/data/input/fsh/vocabulary/WhBasicResourceTypeCodeSystem.fsh @@ -10,6 +10,6 @@ ValueSet: WhBasicResourceTypeValueSet Id: wh-basic-resource-type Title: "Health Data Connect Basic Resource Value Set" Description: "Health Data Connect value set for the basic resource type" +* codes from system http://terminology.hl7.org/CodeSystem/basic-resource-type * codes from system WhBasicResourceTypeCodeSystem -* codes from system BASIC-RESOURCE-TYPE From 68792d59c042f0033722633b7113eaad89430243 Mon Sep 17 00:00:00 2001 From: "Debra L. Mangum" Date: Mon, 6 Jun 2022 11:38:15 -0400 Subject: [PATCH 4/4] Bump version - issue#81 Signed-off-by: Debra L. Mangum --- data/sushi-config.yaml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/sushi-config.yaml b/data/sushi-config.yaml index 126d35ef55..cb6b8b5c34 100644 --- a/data/sushi-config.yaml +++ b/data/sushi-config.yaml @@ -9,7 +9,7 @@ name: AlvearieFHIRImplementationGuide title: Alvearie FHIR Implementation Guide description: Alvearie FHIR Profiles status: active # draft | active | retired | unknown -version: 6.1.0 +version: 6.1.1 fhirVersion: 4.0.1 # https://www.hl7.org/fhir/valueset-FHIR-version.html copyrightYear: 2021+ releaseLabel: draft # ci-build | draft | qa-preview | ballot | trial-use | release | update | normative+trial-use diff --git a/package.json b/package.json index 11bc24519a..3b005e6618 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "alvearie.fhir.ig", - "version": "6.1.0", + "version": "6.1.1", "canonical": "http://alvearie.github.io/alvearie-fhir-ig", "url": "http://alvearie.github.io/alvearie-fhir-ig", "title": "Alvearie FHIR Implementation Guide",