Skip to content

Commit

Permalink
add example of logical model
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamegrieve committed Sep 1, 2021
1 parent f814edc commit 2a1f5c1
Show file tree
Hide file tree
Showing 12 changed files with 1,701 additions and 921 deletions.
2 changes: 1 addition & 1 deletion ig.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# see comments below for instructions

ig = input/myig.xml
template = fhir.base.template
template = fhir.base.template#current



Expand Down
2,246 changes: 1,450 additions & 796 deletions input-cache/schemas/R5/fhir-single.xsd

Large diffs are not rendered by default.

84 changes: 66 additions & 18 deletions input-cache/txcache/all-systems.cache
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "text/cql",
"severity" : null,
"error" : ""
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
{"code" : {
Expand All @@ -26,9 +28,11 @@ v: {
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "application/elm+xml",
"severity" : null,
"error" : ""
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
{"code" : {
Expand All @@ -42,9 +46,11 @@ v: {
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "application/elm+json",
"severity" : null,
"error" : ""
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
{"code" : {
Expand All @@ -58,9 +64,11 @@ v: {
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "image/png",
"severity" : null,
"error" : ""
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
{"code" : {
Expand All @@ -74,9 +82,11 @@ v: {
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "text/x-sql",
"severity" : null,
"error" : ""
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
{"code" : {
Expand All @@ -90,8 +100,46 @@ v: {
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "application/pdf",
"severity" : null,
"error" : ""
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
{"code" : {
"code" : "application/xml"
}, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"include" : [{
"system" : "urn:ietf:bcp:13"
}]
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
{"code" : {
"code" : "image/jpeg"
}, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"include" : [{
"system" : "urn:ietf:bcp:13"
}]
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"true", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
13 changes: 13 additions & 0 deletions input-cache/txcache/hl7.org_fhir_resource-types.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-------------------------------------------------------------------------------------
{"code" : {
"system" : "hl7.org/fhir/resource-types",
"code" : "Patient"
}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
129 changes: 70 additions & 59 deletions input-cache/txcache/http___not-a-known-code-system.cache
Original file line number Diff line number Diff line change
@@ -1,59 +1,70 @@
-------------------------------------------------------------------------------------
{"hierarchical" : true, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"include" : [{
"system" : "http://not-a-known-code-system",
"version" : "2.36",
"concept" : [{
"code" : "not-known-code"
},
{
"code" : "not-known-code"
}]
}]
}
}}####
e: {
"error" : "Error from server: Unable to provide support for code system http://not-a-known-code-system"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://not-a-known-code-system",
"code" : "not-known-code"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "",
"severity" : "error",
"error" : "The code system \"http://not-a-known-code-system\" is not known (encountered paired with code = \"not-known-code\"); The code provided (http://not-a-known-code-system#not-known-code) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://not-a-known-code-system",
"code" : "not-known-code2"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "",
"severity" : "error",
"error" : "The code system \"http://not-a-known-code-system\" is not known (encountered paired with code = \"not-known-code2\"); The code provided (http://not-a-known-code-system#not-known-code2) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)"
}
-------------------------------------------------------------------------------------
{"hierarchical" : true, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"include" : [{
"system" : "http://not-a-known-code-system",
"version" : "2.36",
"concept" : [{
"code" : "not-known-code"
},
{
"code" : "not-known-code2"
}]
}]
}
}}####
e: {
"error" : "Error from server: Unable to provide support for code system http://not-a-known-code-system"
}
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://not-a-known-code-system",
"code" : "not-known-code"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "The code system \"http://not-a-known-code-system\" is not known (encountered paired with code = \"not-known-code\"); The code provided (http://not-a-known-code-system#not-known-code) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://not-a-known-code-system",
"code" : "not-known-code2"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "The code system \"http://not-a-known-code-system\" is not known (encountered paired with code = \"not-known-code2\"); The code provided (http://not-a-known-code-system#not-known-code2) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://not-a-known-code-system",
"version" : "2.36",
"code" : "not-known-code"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://not-a-known-code-system",
"version" : "2.36",
"code" : "not-known-code2"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "The code system \"http://not-a-known-code-system\" is not known (encountered paired with code = \"not-known-code2\"); The code provided (http://not-a-known-code-system#not-known-code2) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4)"
}
-------------------------------------------------------------------------------------
{"hierarchical" : true, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"include" : [{
"system" : "http://not-a-known-code-system",
"version" : "2.36",
"concept" : [{
"code" : "not-known-code"
},
{
"code" : "not-known-code2"
}]
}]
}
}}####
e: {
"error" : "Error from server: Unable to provide support for code system http://not-a-known-code-system"
}
-------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
"code" : "001"
}, "valueSet" :null, "lang":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "World",
"severity" : null,
"error" : ""
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
{"code" : {
Expand All @@ -26,46 +28,22 @@ v: {
}
}, "lang":"null", "useServer":"true", "useClient":"false", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "World",
"severity" : null,
"error" : ""
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}, "valueSet" :{
"resourceType" : "ValueSet",
"compose" : {
"include" : [{
"system" : "urn:iso:std:iso:3166"
},
{
"system" : "urn:iso:std:iso:3166:-2"
},
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"filter" : [{
"property" : "class",
"op" : "=",
"value" : "region"
}]
}]
}
}, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"NO_MEMBERSHIP_CHECK"}####
v: {
"display" : "World",
"severity" : null,
"error" : ""
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "World",
"severity" : null,
"error" : ""
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
24 changes: 15 additions & 9 deletions input-cache/txcache/loinc.cache
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,34 @@
"code" : "85354-9"
}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "Blood pressure panel with all children optional",
"severity" : null,
"error" : ""
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://loinc.org",
"code" : "8480-6"
}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "Systolic blood pressure",
"severity" : null,
"error" : ""
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://loinc.org",
"code" : "8462-4"
}, "valueSet" :null, "lang":"null", "useServer":"true", "useClient":"true", "guessSystem":"false", "valueSetMode":"ALL_CHECKS"}####
v: {
"display" : "Diastolic blood pressure",
"severity" : null,
"error" : ""
"display" : "",
"code" : "",
"system" : "",
"severity" : "error",
"error" : "Error performing operation 'validate-code: null' (parameters = \"\")"
}
-------------------------------------------------------------------------------------
2 changes: 1 addition & 1 deletion input-cache/txcache/version.ctl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.372
1.9.382
Binary file added input/examples/Binary-image-example.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2a1f5c1

Please sign in to comment.