-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from Alvearie/basic-resource
Basic resource Review
- Loading branch information
Showing
7 changed files
with
64 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
data/input/fsh/vocabulary/WhBasicResourceTypeCodeSystem.fsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 http://terminology.hl7.org/CodeSystem/basic-resource-type | ||
* codes from system WhBasicResourceTypeCodeSystem | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters