Made changes as recommended by Grahame and Elliot

This commit is contained in:
Lloyd McKenzie 2024-09-10 08:07:43 -06:00
parent 16e91ba23b
commit c5b2d3cc42
6 changed files with 251 additions and 32 deletions

View File

@ -138,7 +138,6 @@ v: {
"code" : "text/cql", "code" : "text/cql",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -159,7 +158,6 @@ v: {
"code" : "text/cql", "code" : "text/cql",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -187,7 +185,6 @@ v: {
"code" : "application/elm+xml", "code" : "application/elm+xml",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -208,7 +205,6 @@ v: {
"code" : "application/elm+xml", "code" : "application/elm+xml",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -236,7 +232,6 @@ v: {
"code" : "application/elm+json", "code" : "application/elm+json",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -257,7 +252,6 @@ v: {
"code" : "application/elm+json", "code" : "application/elm+json",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -285,7 +279,6 @@ v: {
"code" : "image/png", "code" : "image/png",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -306,7 +299,6 @@ v: {
"code" : "image/png", "code" : "image/png",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -334,7 +326,6 @@ v: {
"code" : "text/x-sql", "code" : "text/x-sql",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -355,7 +346,6 @@ v: {
"code" : "text/x-sql", "code" : "text/x-sql",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -383,7 +373,6 @@ v: {
"code" : "application/pdf", "code" : "application/pdf",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -404,7 +393,6 @@ v: {
"code" : "application/pdf", "code" : "application/pdf",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -432,7 +420,6 @@ v: {
"code" : "image/jpeg", "code" : "image/jpeg",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -453,6 +440,47 @@ v: {
"code" : "image/jpeg", "code" : "image/jpeg",
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"issues" : {
"resourceType" : "OperationOutcome"
}
}
-------------------------------------------------------------------------------------
{"code" : {
"code" : "de"
}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"en-CA", "useServer":"true", "useClient":"true", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": {
"resourceType" : "Parameters",
"parameter" : [{
"name" : "x-system-cache-id",
"valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891"
}]
}}####
v: {
"display" : "German",
"code" : "de",
"system" : "urn:ietf:bcp:47",
"server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : {
"resourceType" : "OperationOutcome"
}
}
-------------------------------------------------------------------------------------
{"code" : {
"code" : "fr"
}, "url": "http://hl7.org/fhir/ValueSet/languages", "version": "4.0.1", "langs":"en-CA", "useServer":"true", "useClient":"true", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": {
"resourceType" : "Parameters",
"parameter" : [{
"name" : "x-system-cache-id",
"valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891"
}]
}}####
v: {
"display" : "French",
"code" : "fr",
"system" : "urn:ietf:bcp:47",
"server" : "http://tx.fhir.org/r4",
"unknown-systems" : "", "unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"

View File

@ -15,7 +15,6 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"version" : "2.78", "version" : "2.78",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -38,7 +37,6 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"version" : "2.78", "version" : "2.78",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -61,7 +59,6 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"version" : "2.78", "version" : "2.78",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -84,7 +81,6 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"version" : "2.78", "version" : "2.78",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -107,7 +103,6 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"version" : "2.78", "version" : "2.78",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -130,7 +125,6 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"version" : "2.78", "version" : "2.78",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -153,7 +147,6 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"version" : "2.78", "version" : "2.78",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -176,7 +169,6 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"version" : "2.78", "version" : "2.78",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -199,6 +191,97 @@ v: {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"version" : "2.78", "version" : "2.78",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"issues" : {
"resourceType" : "OperationOutcome"
}
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://loinc.org",
"code" : "8480-6"
}, "valueSet" :null, "langs":"en, en-US, de", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": {
"resourceType" : "Parameters",
"parameter" : [{
"name" : "x-system-cache-id",
"valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891"
}]
}}####
v: {
"display" : "Systolic blood pressure",
"code" : "8480-6",
"system" : "http://loinc.org",
"version" : "2.78",
"server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : {
"resourceType" : "OperationOutcome"
}
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://loinc.org",
"code" : "8462-4"
}, "valueSet" :null, "langs":"en, en-US, de", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": {
"resourceType" : "Parameters",
"parameter" : [{
"name" : "x-system-cache-id",
"valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891"
}]
}}####
v: {
"display" : "Diastolic blood pressure",
"code" : "8462-4",
"system" : "http://loinc.org",
"version" : "2.78",
"server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : {
"resourceType" : "OperationOutcome"
}
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://loinc.org",
"code" : "8480-6"
}, "valueSet" :null, "langs":"en, en-US, fr", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": {
"resourceType" : "Parameters",
"parameter" : [{
"name" : "x-system-cache-id",
"valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891"
}]
}}####
v: {
"display" : "Systolic blood pressure",
"code" : "8480-6",
"system" : "http://loinc.org",
"version" : "2.78",
"server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : {
"resourceType" : "OperationOutcome"
}
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://loinc.org",
"code" : "8462-4"
}, "valueSet" :null, "langs":"en, en-US, fr", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": {
"resourceType" : "Parameters",
"parameter" : [{
"name" : "x-system-cache-id",
"valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891"
}]
}}####
v: {
"display" : "Diastolic blood pressure",
"code" : "8462-4",
"system" : "http://loinc.org",
"version" : "2.78",
"server" : "http://tx.fhir.org/r4",
"unknown-systems" : "", "unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"

View File

@ -19,7 +19,6 @@ v: {
"error" : "Wrong Display Name 'Angina (disorder)' for http://snomed.info/sct#194828000. Valid display is one of 0 choices: [] (for the language(s) 'en-AU')", "error" : "Wrong Display Name 'Angina (disorder)' for http://snomed.info/sct#194828000. Valid display is one of 0 choices: [] (for the language(s) 'en-AU')",
"class" : "UNKNOWN", "class" : "UNKNOWN",
"server" : "https://tx.ontoserver.csiro.au/fhir", "server" : "https://tx.ontoserver.csiro.au/fhir",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome", "resourceType" : "OperationOutcome",
"issue" : [{ "issue" : [{
@ -63,7 +62,6 @@ v: {
"error" : "Wrong Display Name 'Myocardial infarction (disorder)' for http://snomed.info/sct#22298006. Valid display is one of 0 choices: [] (for the language(s) 'en-AU')", "error" : "Wrong Display Name 'Myocardial infarction (disorder)' for http://snomed.info/sct#22298006. Valid display is one of 0 choices: [] (for the language(s) 'en-AU')",
"class" : "UNKNOWN", "class" : "UNKNOWN",
"server" : "https://tx.ontoserver.csiro.au/fhir", "server" : "https://tx.ontoserver.csiro.au/fhir",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome", "resourceType" : "OperationOutcome",
"issue" : [{ "issue" : [{
@ -87,3 +85,51 @@ v: {
} }
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "194828000",
"display" : "Angina (disorder)"
}, "valueSet" :null, "langs":"en-CA", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": {
"resourceType" : "Parameters",
"parameter" : [{
"name" : "x-system-cache-id",
"valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891"
}]
}}####
v: {
"display" : "Angina",
"code" : "194828000",
"system" : "http://snomed.info/sct",
"version" : "http://snomed.info/sct/900000000000207008/version/20240201",
"server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : {
"resourceType" : "OperationOutcome"
}
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://snomed.info/sct",
"code" : "22298006",
"display" : "Myocardial infarction (disorder)"
}, "valueSet" :null, "langs":"en-CA", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": {
"resourceType" : "Parameters",
"parameter" : [{
"name" : "x-system-cache-id",
"valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891"
}]
}}####
v: {
"display" : "Myocardial infarction",
"code" : "22298006",
"system" : "http://snomed.info/sct",
"version" : "http://snomed.info/sct/900000000000207008/version/20240201",
"server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : {
"resourceType" : "OperationOutcome"
}
}
-------------------------------------------------------------------------------------

View File

@ -10,6 +10,16 @@
"authoritative" : [], "authoritative" : [],
"candidates" : [] "candidates" : []
}, },
{
"system" : "http://example.org/system/code/questions",
"authoritative" : [],
"candidates" : []
},
{
"system" : "http://example.org/system/code/sections",
"authoritative" : [],
"candidates" : []
},
{ {
"system" : "http://loinc.org", "system" : "http://loinc.org",
"authoritative" : [], "authoritative" : [],
@ -25,6 +35,11 @@
"authoritative" : [], "authoritative" : [],
"candidates" : [] "candidates" : []
}, },
{
"system" : "http://snomed.info/sct",
"authoritative" : [],
"candidates" : ["http://tx.fhir.org/r4", "https://tx.ontoserver.csiro.au/fhir"]
},
{ {
"system" : "http://terminology.hl7.org/CodeSystem/definition-use", "system" : "http://terminology.hl7.org/CodeSystem/definition-use",
"authoritative" : ["http://tx.fhir.org/r4"], "authoritative" : ["http://tx.fhir.org/r4"],
@ -44,6 +59,11 @@
"system" : "urn:ietf:bcp:13", "system" : "urn:ietf:bcp:13",
"authoritative" : [], "authoritative" : [],
"candidates" : ["http://tx.fhir.org/r4"] "candidates" : ["http://tx.fhir.org/r4"]
},
{
"system" : "urn:ietf:bcp:47",
"authoritative" : [],
"candidates" : ["http://tx.fhir.org/r4", "https://tx.ontoserver.csiro.au/fhir"]
} }
] ]
} }

View File

@ -15,7 +15,6 @@ v: {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"version" : "2.0.1", "version" : "2.0.1",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -38,7 +37,6 @@ v: {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"version" : "2.0.1", "version" : "2.0.1",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -61,7 +59,6 @@ v: {
"system" : "http://unitsofmeasure.org", "system" : "http://unitsofmeasure.org",
"version" : "2.0.1", "version" : "2.0.1",
"server" : "http://tx.fhir.org/r4", "server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : { "issues" : {
"resourceType" : "OperationOutcome" "resourceType" : "OperationOutcome"
} }
@ -78,6 +75,51 @@ v: {
"valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891"
}] }]
}}#### }}####
v: {
"display" : "mm[Hg]",
"code" : "mm[Hg]",
"system" : "http://unitsofmeasure.org",
"version" : "2.0.1",
"server" : "http://tx.fhir.org/r4",
"issues" : {
"resourceType" : "OperationOutcome"
}
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://unitsofmeasure.org",
"code" : "mm[Hg]"
}, "valueSet" :null, "langs":"en, en-US, de", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": {
"resourceType" : "Parameters",
"parameter" : [{
"name" : "x-system-cache-id",
"valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891"
}]
}}####
v: {
"display" : "mm[Hg]",
"code" : "mm[Hg]",
"system" : "http://unitsofmeasure.org",
"version" : "2.0.1",
"server" : "http://tx.fhir.org/r4",
"unknown-systems" : "",
"issues" : {
"resourceType" : "OperationOutcome"
}
}
-------------------------------------------------------------------------------------
{"code" : {
"system" : "http://unitsofmeasure.org",
"code" : "mm[Hg]"
}, "valueSet" :null, "langs":"en, en-US, fr", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": {
"resourceType" : "Parameters",
"parameter" : [{
"name" : "x-system-cache-id",
"valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891"
}]
}}####
v: { v: {
"display" : "mm[Hg]", "display" : "mm[Hg]",
"code" : "mm[Hg]", "code" : "mm[Hg]",

View File

@ -1,6 +1,6 @@
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd"> <div xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
<p> <p>
This page describes how to embed 'fragments' of a resource within a page, possibly ellipsing out portions This page describes how to embed 'fragments' of a resource within a page, possibly elliding out portions
of the instance to only show the portions that are relevant to what the surrounding text needs to talk about. of the instance to only show the portions that are relevant to what the surrounding text needs to talk about.
</p> </p>
<p> <p>
@ -30,18 +30,18 @@
<a name="ellipsing"> </a> <a name="ellipsing"> </a>
<h3>Ellipsing</h3> <h3>Ellipsing</h3>
<p> <p>
Sometimes you want to perform more filtering than only selecting an element within your instance. You want to only show a portion of that element, hiding (ellipsing) the content you don't care about. There are two ways to do this: you can either define the specific elements you want to ellipse; or you can define the elements you <i>don't</i> want to ellipse. Sometimes you want to perform more filtering than only selecting an element within your instance. You want to only show a portion of that element, hiding (ellipsing) the content you don't care about. There are two ways to do this: you can either define the specific elements you want to ellide (replace with '...'); or you can define the elements you <i>don't</i> want to ellide.
</p> </p>
<p>The 'ELLIPSE:' filter can only be specified once, but with FHIRPath '|', you can express as many elements as you like. For example, <code>{% raw %}&#x7b;%&#xA0;fragment Patient/example XML BASE:name.where(use='official').first() ELLIPSE:use|given[1]|period %}{% endraw %}</code> will look like this:</p> <p>The 'ELLIDE:' filter can only be specified once, but with FHIRPath '|', you can express as many elements as you like. For example, <code>{% raw %}&#x7b;%&#xA0;fragment Patient/example XML BASE:name.where(use='official').first() ELLIDE:use|given[1]|period %}{% endraw %}</code> will look like this:</p>
{% fragment Patient/example XML BASE:name.where(use='official').first() ELLIPSE:use|given[1]|period %} {% fragment Patient/example XML BASE:name.where(use='official').first() ELLIDE:use|given[1]|period %}
<p> <p>
'EXCEPT:' works slightly differently. With Except you identify the elements to retain (be unellipsed) but you can also specify a descendant 'BASE:' element those expressions are evaluated within. For example, the following expression will return the patient showing only id an names, and within name, will ellipse everything except the family name: <code>{% raw %}&#x7b;%&#xA0;fragment Patient/example XML EXCEPT:id|name EXCEPT:family BASE:name %}{% endraw %}</code> 'EXCEPT:' works slightly differently. With Except you identify the elements to retain (be unellided) but you can also specify a descendant 'BASE:' element those expressions are evaluated within. For example, the following expression will return the patient showing only id an names, and within name, will ellide everything except the family name: <code>{% raw %}&#x7b;%&#xA0;fragment Patient/example XML EXCEPT:id|name EXCEPT:family BASE:name %}{% endraw %}</code>
</p> </p>
{% fragment Patient/example XML EXCEPT:id|name EXCEPT:family BASE:name %} {% fragment Patient/example XML EXCEPT:id|name EXCEPT:family BASE:name %}
<p> <p>
The overall syntax for fragments is as follows: The overall syntax for fragments is as follows:
<code>{% raw %}&#x7b;%&#xA0;fragment [resource]/[id] [XML|JSON] (BASE:[base FHIRPath])? (ELLIPSE:[ellipse elements path])? (EXCEPT:[except elements FHIRPath] (BASE:[except base FHIRPath])?)* %}{% endraw %}</code> <code>{% raw %}&#x7b;%&#xA0;fragment [resource]/[id] [XML|JSON] (BASE:[base FHIRPath])? (ELLIDE:[ellide elements path])? (EXCEPT:[except elements FHIRPath] (BASE:[except base FHIRPath])?)* %}{% endraw %}</code>
</p> </p>
</div> </div>