-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract characteristics for Logicals (#250)
* Extract characteristics for Logicals Logical models use special extensions to set their type characteristics. Check for these extensions when extracting keywords. Do not create caret rules for these extensions. * Add non-characteristic extension to Logical with characteristics
- Loading branch information
1 parent
a8eee62
commit da09f9b
Showing
6 changed files
with
154 additions
and
1 deletion.
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
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
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,30 @@ | ||
{ | ||
"resourceType": "StructureDefinition", | ||
"id": "logical-with-characteristics", | ||
"url": "http://hl7.org/fhir/sushi-test/StructureDefinition/logical-with-characteristics", | ||
"kind": "logical", | ||
"derivation": "specialization", | ||
"type": "Base", | ||
"name": "LogicalWithCharacteristics", | ||
"title": "My Logical Model with Characteristics", | ||
"description": "This is my fancy new logical model that has several characteristics.", | ||
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base", | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics", | ||
"valueCode": "has-units" | ||
}, | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics", | ||
"valueCode": "has-length" | ||
}, | ||
{ | ||
"url": "http://hl7.org/fhir/tools/StructureDefinition/logical-target", | ||
"valueBoolean": true | ||
}, | ||
{ | ||
"url": "http://hl7.org/fhir/sushi-test/StructureDefinition/other-extension", | ||
"valueString": "something else" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"resourceType": "StructureDefinition", | ||
"id": "logical-with-characteristics", | ||
"url": "http://hl7.org/fhir/sushi-test/StructureDefinition/logical-with-characteristics", | ||
"kind": "logical", | ||
"derivation": "specialization", | ||
"type": "Base", | ||
"name": "LogicalWithCharacteristics", | ||
"title": "My Logical Model with Characteristics", | ||
"description": "This is my fancy new logical model that has several characteristics.", | ||
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base", | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics", | ||
"valueCode": "has-units" | ||
}, | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics", | ||
"valueCode": "has-length" | ||
}, | ||
{ | ||
"url": "http://hl7.org/fhir/tools/StructureDefinition/logical-target", | ||
"valueBoolean": true | ||
}, | ||
{ | ||
"url": "http://hl7.org/fhir/sushi-test/StructureDefinition/other-extension", | ||
"valueString": "something else" | ||
} | ||
] | ||
} |